Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 101.5 kB / 17.74 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 188.2 kB / 18.67 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2899/0.2899, allocations: 48.85 MB / 320.7 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 451.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1295, allocations: 59.17 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam): time 0.3222/0.4518, allocations: 56.13 MB / 0.5532 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.4657, allocations: 10.7 MB / 0.5637 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007096/0.4665, allocations: 10.75 kB / 0.5637 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009715/0.4674, allocations: 276.2 kB / 0.564 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007759/0.4683, allocations: 350.5 kB / 0.5643 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01473/0.483, allocations: 5.02 MB / 0.5692 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.4844, allocations: 0.9598 MB / 0.5701 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005011/0.485, allocations: 326.1 kB / 0.5704 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004603/0.4854, allocations: 354.9 kB / 0.5708 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004852/0.4859, allocations: 358.9 kB / 0.5711 GB, free: 7.238 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.371e-05/0.486, allocations: 36.81 kB / 0.5712 GB, free: 7.238 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01334/0.4993, allocations: 6.325 MB / 0.5773 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.4996, allocations: 100.1 kB / 0.5774 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005737/0.5002, allocations: 287.4 kB / 0.5777 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008778/0.5089, allocations: 3.909 MB / 0.5815 GB, free: 1.227 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.509, allocations: 1.25 kB / 0.5815 GB, free: 1.227 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.509, allocations: 0 / 0.5815 GB, free: 1.227 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.509, allocations: 3.938 kB / 0.5815 GB, free: 1.223 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.004075/0.5131, allocations: 1.25 MB / 0.5827 GB, free: 320 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.5132, allocations: 8.188 kB / 0.5828 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.5137, allocations: 109 kB / 0.5829 GB, free: 264 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007276/0.5145, allocations: 377.2 kB / 0.5832 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.5145, allocations: 35.59 kB / 0.5833 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.141e-05/0.5146, allocations: 47.59 kB / 0.5833 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.5163, allocations: 0.6206 MB / 0.5839 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.5163, allocations: 4 kB / 0.5839 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.5163, allocations: 17.19 kB / 0.5839 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.5164, allocations: 10.84 kB / 0.5839 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.5178, allocations: 0.4916 MB / 0.5844 GB, free: 15.19 MB / 446.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.002551/0.5204, allocations: 2.304 MB / 0.5867 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.5218, allocations: 0.566 MB / 0.5872 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.522, allocations: 131.4 kB / 0.5873 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06416/0.5862, allocations: 32.12 MB / 0.6187 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.5863, allocations: 34.56 kB / 0.6187 GB, free: 10.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 5.921e-06/0.5863, allocations: 3.938 kB / 0.6187 GB, free: 10.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.00643/0.5928, allocations: 1.741 MB / 0.6204 GB, free: 8.867 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.5928, allocations: 110.8 kB / 0.6206 GB, free: 8.734 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.5933, allocations: 357.7 kB / 0.6209 GB, free: 8.379 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/0.5934, allocations: 33.64 kB / 0.6209 GB, free: 8.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.5937, allocations: 244 kB / 0.6212 GB, free: 8.094 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.5939, allocations: 114.4 kB / 0.6213 GB, free: 7.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.5941, allocations: 89.66 kB / 0.6214 GB, free: 7.887 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.5944, allocations: 350.7 kB / 0.6217 GB, free: 7.535 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.5947, allocations: 176 kB / 0.6219 GB, free: 7.363 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.5952, allocations: 238.3 kB / 0.6221 GB, free: 7.105 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008125/0.596, allocations: 384.8 kB / 0.6225 GB, free: 6.711 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.596, allocations: 4 kB / 0.6225 GB, free: 6.707 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002227/0.5983, allocations: 0.7434 MB / 0.6232 GB, free: 5.953 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.5983, allocations: 15.88 kB / 0.6232 GB, free: 5.938 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.5983, allocations: 4 kB / 0.6232 GB, free: 5.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/0.6007, allocations: 0.5198 MB / 0.6237 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.6009, allocations: 39.97 kB / 0.6237 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.6026, allocations: 0.9854 MB / 0.6247 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.603, allocations: 12.06 kB / 0.6247 GB, free: 4.348 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/0.603, allocations: 31.97 kB / 0.6247 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004571/0.6035, allocations: 268.7 kB / 0.625 GB, free: 4.051 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003917/0.6039, allocations: 219.6 kB / 0.6252 GB, free: 3.809 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006795/0.6046, allocations: 385.9 kB / 0.6256 GB, free: 3.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.6046, allocations: 0 / 0.6256 GB, free: 3.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001897/0.6065, allocations: 0.6772 MB / 0.6262 GB, free: 2.723 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.6065, allocations: 4 kB / 0.6262 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6065, allocations: 7.984 kB / 0.6263 GB, free: 2.711 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001735/0.6083, allocations: 464.4 kB / 0.6267 GB, free: 2.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.6085, allocations: 39.92 kB / 0.6267 GB, free: 2.219 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.6104, allocations: 0.9426 MB / 0.6277 GB, free: 1.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.6108, allocations: 11.94 kB / 0.6277 GB, free: 1.238 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.6108, allocations: 23.98 kB / 0.6277 GB, free: 1.215 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.6111, allocations: 200.2 kB / 0.6279 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.6112, allocations: 47.52 kB / 0.6279 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004285/0.6155, allocations: 3.003 MB / 0.6309 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.6155, allocations: 0 / 0.6309 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.6155, allocations: 3.938 kB / 0.6309 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.6158, allocations: 128.4 kB / 0.631 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/0.6159, allocations: 12.81 kB / 0.631 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.6163, allocations: 23.97 kB / 0.631 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.6164, allocations: 27.95 kB / 0.631 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002283/0.6187, allocations: 0.7086 MB / 0.6317 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001645/0.6203, allocations: 1.016 MB / 0.6327 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003782/0.6207, allocations: 260.5 kB / 0.633 GB, free: 11.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.621, allocations: 251.2 kB / 0.6332 GB, free: 11.48 MB / 494.1 MB Notification: Performance of Backend: time 2.81e-07/0.621, allocations: 0 / 0.6332 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009082/0.6301, allocations: 1.779 MB / 0.635 GB, free: 9.711 MB / 494.1 MB Notification: Performance of SimCode: time 0.002887/0.633, allocations: 1.665 MB / 0.6366 GB, free: 8.004 MB / 494.1 MB Notification: Performance of Templates: time 0.06848/0.7015, allocations: 44.5 MB / 0.68 GB, free: 11.42 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe 2>&1)