Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 211.6 kB / 24.48 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1543/0.1543, allocations: 26.84 MB / 341.5 MB, free: 8.094 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 67.91 kB / 478.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3161, allocations: 60.49 MB / 0.526 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01594/0.332, allocations: 14.42 MB / 0.5401 GB, free: 224 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01894/0.3509, allocations: 12.17 MB / 0.552 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.3512, allocations: 5.219 kB / 0.552 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.3517, allocations: 111.6 kB / 0.5521 GB, free: 6.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000825/0.3526, allocations: 240.9 kB / 0.5523 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01851/0.3711, allocations: 5.484 MB / 0.5577 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001681/0.3727, allocations: 1.031 MB / 0.5587 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.117e-05/0.3728, allocations: 12.91 kB / 0.5587 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.374, allocations: 0.4954 MB / 0.5592 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.3751, allocations: 463.8 kB / 0.5596 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002438/0.3753, allocations: 42.03 kB / 0.5597 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01422/0.3895, allocations: 6.113 MB / 0.5656 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004568/0.39, allocations: 179.5 kB / 0.5658 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005641/0.3906, allocations: 227.3 kB / 0.566 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.4007, allocations: 3.948 MB / 0.5699 GB, free: 7.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4007, allocations: 0 / 0.5699 GB, free: 7.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4007, allocations: 0 / 0.5699 GB, free: 7.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.4007, allocations: 0 / 0.5699 GB, free: 7.746 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.005808/0.4065, allocations: 1.454 MB / 0.5713 GB, free: 6.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.4066, allocations: 8.031 kB / 0.5713 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.4094, allocations: 356.4 kB / 0.5716 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007977/0.4102, allocations: 298 kB / 0.5719 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000511/0.4107, allocations: 322.7 kB / 0.5722 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.4108, allocations: 32.12 kB / 0.5723 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005354/0.4162, allocations: 1.98 MB / 0.5742 GB, free: 3.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.4162, allocations: 4 kB / 0.5742 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.4163, allocations: 12 kB / 0.5742 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.4164, allocations: 8.656 kB / 0.5742 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007466/0.4238, allocations: 2.644 MB / 0.5768 GB, free: 488 kB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005137/0.429, allocations: 3.742 MB / 0.5805 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004067/0.433, allocations: 1.342 MB / 0.5818 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002616/0.4356, allocations: 0.9809 MB / 0.5827 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1591/0.5948, allocations: 43.98 MB / 0.6257 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.5948, allocations: 42.89 kB / 0.6257 GB, free: 13.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.464e-06/0.5948, allocations: 0 / 0.6257 GB, free: 13.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.02364/0.6185, allocations: 5.777 MB / 0.6314 GB, free: 8.117 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.6185, allocations: 55.41 kB / 0.6314 GB, free: 8.051 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.6187, allocations: 169.4 kB / 0.6316 GB, free: 7.875 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.6188, allocations: 29.7 kB / 0.6316 GB, free: 7.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.6189, allocations: 148.9 kB / 0.6318 GB, free: 7.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.6191, allocations: 158.6 kB / 0.6319 GB, free: 7.535 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00047/0.6196, allocations: 221.8 kB / 0.6321 GB, free: 7.309 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.6198, allocations: 330.8 kB / 0.6324 GB, free: 6.977 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003812/0.6236, allocations: 1.117 MB / 0.6335 GB, free: 5.859 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00394/0.6275, allocations: 1.211 MB / 0.6347 GB, free: 4.617 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007289/0.6348, allocations: 1.972 MB / 0.6366 GB, free: 2.609 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6348, allocations: 0 / 0.6366 GB, free: 2.609 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008297/0.6431, allocations: 2.335 MB / 0.6389 GB, free: 272 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.6431, allocations: 7.984 kB / 0.6389 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.6431, allocations: 4 kB / 0.6389 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.6432, allocations: 4 kB / 0.6389 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/0.6458, allocations: 491.5 kB / 0.6394 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.6458, allocations: 8 kB / 0.6394 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.6477, allocations: 251.6 kB / 0.6396 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.6479, allocations: 83.86 kB / 0.6397 GB, free: 15.43 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004163/0.6483, allocations: 177.7 kB / 0.6399 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.6485, allocations: 23.8 kB / 0.6399 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/0.6615, allocations: 7.44 MB / 0.6472 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01161/0.6731, allocations: 6.889 MB / 0.6539 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.6731, allocations: 0 / 0.6539 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.6731, allocations: 3.984 kB / 0.6539 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/0.6896, allocations: 10.63 MB / 0.6643 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.6896, allocations: 3.984 kB / 0.6643 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/0.6921, allocations: 491.2 kB / 0.6648 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/0.6921, allocations: 4 kB / 0.6648 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/0.6923, allocations: 47.91 kB / 0.6648 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/0.6923, allocations: 8 kB / 0.6648 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6923, allocations: 0 / 0.6648 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.7041, allocations: 4.547 MB / 0.6693 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006509/0.7048, allocations: 199.2 kB / 0.6695 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.7049, allocations: 19.98 kB / 0.6695 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/0.7067, allocations: 255.7 kB / 0.6697 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.7068, allocations: 72.81 kB / 0.6698 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.707, allocations: 59.84 kB / 0.6698 GB, free: 220 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001019/0.7071, allocations: 114.1 kB / 0.6699 GB, free: 108 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.7071, allocations: 3.938 kB / 0.67 GB, free: 104 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002744/0.7098, allocations: 0.9867 MB / 0.6709 GB, free: 15.11 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 8 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.region3boundary,$cse26.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004059/0.7139, allocations: 0.9966 MB / 0.6719 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008013/0.7219, allocations: 2.623 MB / 0.6745 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.7219, allocations: 0 / 0.6745 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003927/0.7258, allocations: 1.408 MB / 0.6758 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008524/0.7267, allocations: 99.91 kB / 0.6759 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.7321, allocations: 2.213 MB / 0.6781 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.7325, allocations: 329.7 kB / 0.6784 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009646/0.7334, allocations: 179.1 kB / 0.6786 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/0.7334, allocations: 0 / 0.6786 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of Templates: time 0.04261/0.776, allocations: 28.67 MB / 0.7066 GB, free: 10.49 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.17114319105167] Failed to read output from testmodel.py, exit status != 0: 0.7850524709792808 0.798674757 0.39478445500000003 Calling exit ...