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.001013/0.001018, allocations: 114.3 kB / 17.75 MB, free: 5.309 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.00099/0.00099, allocations: 189.3 kB / 18.67 MB, free: 4.395 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.201/1.201, allocations: 205.1 MB / 224.6 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2465/0.2465, allocations: 48.84 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.001336/0.001336, allocations: 79.88 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09707, allocations: 59.15 MB / 0.4984 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam): time 0.2368/0.3339, allocations: 56.15 MB / 0.5532 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.3456, allocations: 10.7 MB / 0.5637 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000414/0.346, allocations: 10.31 kB / 0.5637 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007947/0.3468, allocations: 279.4 kB / 0.564 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006575/0.3475, allocations: 347.1 kB / 0.5643 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01241/0.3599, allocations: 5.03 MB / 0.5692 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.3611, allocations: 0.9534 MB / 0.5701 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005038/0.3616, allocations: 330 kB / 0.5705 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005643/0.3622, allocations: 354.9 kB / 0.5708 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005393/0.3628, allocations: 360.6 kB / 0.5711 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.316e-05/0.3628, allocations: 36.72 kB / 0.5712 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/0.3739, allocations: 6.326 MB / 0.5773 GB, free: 3.953 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.374, allocations: 99.36 kB / 0.5774 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.3744, allocations: 280.1 kB / 0.5777 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007437/0.3819, allocations: 3.913 MB / 0.5815 GB, free: 1.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3819, allocations: 0 / 0.5815 GB, free: 1.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3819, allocations: 3.938 kB / 0.5815 GB, free: 1.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.3819, allocations: 2.625 kB / 0.5815 GB, free: 1.215 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.003543/0.3855, allocations: 1.256 MB / 0.5828 GB, free: 304 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3855, allocations: 8.094 kB / 0.5828 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004628/0.386, allocations: 106 kB / 0.5829 GB, free: 252 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005139/0.3865, allocations: 380.8 kB / 0.5832 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.3865, allocations: 30.81 kB / 0.5833 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.541e-05/0.3866, allocations: 46.03 kB / 0.5833 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.3882, allocations: 0.6237 MB / 0.5839 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3882, allocations: 0 / 0.5839 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.3882, allocations: 21.38 kB / 0.5839 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.3883, allocations: 8.562 kB / 0.5839 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.3896, allocations: 0.5 MB / 0.5844 GB, free: 15.17 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.002159/0.3918, allocations: 2.302 MB / 0.5867 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.3932, allocations: 0.5591 MB / 0.5872 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.3935, allocations: 140.5 kB / 0.5874 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06267/0.4562, allocations: 32.12 MB / 0.6187 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.4563, allocations: 34.56 kB / 0.6188 GB, free: 10.67 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 2.435e-06/0.4563, allocations: 4 kB / 0.6188 GB, free: 10.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.005364/0.4616, allocations: 1.737 MB / 0.6205 GB, free: 8.852 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.4617, allocations: 106.8 kB / 0.6206 GB, free: 8.723 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.4621, allocations: 365.5 kB / 0.6209 GB, free: 8.359 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.4621, allocations: 29.7 kB / 0.6209 GB, free: 8.324 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.4623, allocations: 240.1 kB / 0.6212 GB, free: 8.082 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.4623, allocations: 106.5 kB / 0.6213 GB, free: 7.977 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.4625, allocations: 93.66 kB / 0.6214 GB, free: 7.879 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4626, allocations: 358.7 kB / 0.6217 GB, free: 7.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.463, allocations: 168.8 kB / 0.6219 GB, free: 7.352 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.4633, allocations: 234.3 kB / 0.6221 GB, free: 7.098 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.464, allocations: 388.8 kB / 0.6225 GB, free: 6.699 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.464, allocations: 0 / 0.6225 GB, free: 6.699 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001852/0.4659, allocations: 0.7511 MB / 0.6232 GB, free: 5.938 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4659, allocations: 11.84 kB / 0.6232 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.4659, allocations: 4 kB / 0.6232 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002128/0.4681, allocations: 0.5201 MB / 0.6237 GB, free: 5.398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.4682, allocations: 39.91 kB / 0.6238 GB, free: 5.359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.4697, allocations: 0.9855 MB / 0.6247 GB, free: 4.348 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.47, allocations: 12.06 kB / 0.6247 GB, free: 4.336 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/0.4701, allocations: 27.97 kB / 0.6248 GB, free: 4.309 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004153/0.4705, allocations: 273.6 kB / 0.625 GB, free: 4.039 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000337/0.4708, allocations: 231.5 kB / 0.6252 GB, free: 3.785 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000624/0.4715, allocations: 381.9 kB / 0.6256 GB, free: 3.391 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.4715, allocations: 0 / 0.6256 GB, free: 3.391 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001579/0.4731, allocations: 0.6732 MB / 0.6263 GB, free: 2.707 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.4731, allocations: 4 kB / 0.6263 GB, free: 2.703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4731, allocations: 4 kB / 0.6263 GB, free: 2.699 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.4745, allocations: 464.6 kB / 0.6267 GB, free: 2.242 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.4747, allocations: 43.91 kB / 0.6268 GB, free: 2.199 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.4764, allocations: 0.9401 MB / 0.6277 GB, free: 1.234 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.4766, allocations: 15.97 kB / 0.6277 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.4767, allocations: 23.98 kB / 0.6277 GB, free: 1.195 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.0001513/0.4768, allocations: 204.2 kB / 0.6279 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.4769, allocations: 40.41 kB / 0.6279 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00359/0.4805, allocations: 3.007 MB / 0.6309 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.4806, allocations: 3.938 kB / 0.6309 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4806, allocations: 4 kB / 0.6309 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.4807, allocations: 124.4 kB / 0.631 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/0.4808, allocations: 10.56 kB / 0.631 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.4811, allocations: 19.97 kB / 0.631 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.4812, allocations: 27.95 kB / 0.6311 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001741/0.4829, allocations: 0.7204 MB / 0.6318 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00127/0.4842, allocations: 1.01 MB / 0.6328 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003609/0.4846, allocations: 260.5 kB / 0.633 GB, free: 11.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002185/0.4848, allocations: 247.2 kB / 0.6332 GB, free: 11.47 MB / 494.1 MB Notification: Performance of Backend: time 4.21e-07/0.4848, allocations: 0 / 0.6332 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007024/0.4918, allocations: 1.78 MB / 0.635 GB, free: 9.695 MB / 494.1 MB Notification: Performance of SimCode: time 0.002118/0.494, allocations: 1.662 MB / 0.6366 GB, free: 7.992 MB / 494.1 MB Notification: Performance of Templates: time 0.05229/0.5463, allocations: 44.12 MB / 0.6797 GB, free: 11.79 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)