Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.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.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 109.2 kB / 17.75 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.001252/0.001252, allocations: 184.3 kB / 18.68 MB, free: 4.41 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.218/1.218, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2526/0.2526, allocations: 48.84 MB / 320.7 MB, free: 11.01 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.001478/0.001478, allocations: 71.91 kB / 451.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.09653, allocations: 59.16 MB / 0.4984 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFast): time 0.2416/0.3381, allocations: 56.14 MB / 0.5532 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.3499, allocations: 10.7 MB / 0.5637 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004157/0.3504, allocations: 10.38 kB / 0.5637 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007548/0.3511, allocations: 277.5 kB / 0.564 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006011/0.3518, allocations: 347.6 kB / 0.5643 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0129/0.3647, allocations: 5.026 MB / 0.5692 GB, free: 8.344 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.3658, allocations: 0.9656 MB / 0.5701 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005307/0.3664, allocations: 326.2 kB / 0.5705 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006101/0.367, allocations: 355.5 kB / 0.5708 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005996/0.3676, allocations: 360.4 kB / 0.5711 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.814e-05/0.3677, allocations: 36.72 kB / 0.5712 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01221/0.3799, allocations: 6.329 MB / 0.5774 GB, free: 3.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.3801, allocations: 98.73 kB / 0.5774 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004795/0.3806, allocations: 280.8 kB / 0.5777 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00807/0.3886, allocations: 3.908 MB / 0.5815 GB, free: 1.203 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3887, allocations: 5.016 kB / 0.5815 GB, free: 1.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3887, allocations: 3.938 kB / 0.5815 GB, free: 1.195 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.3887, allocations: 3.938 kB / 0.5815 GB, free: 1.191 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.003691/0.3924, allocations: 1.246 MB / 0.5828 GB, free: 292 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3924, allocations: 8.656 kB / 0.5828 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005121/0.393, allocations: 114.6 kB / 0.5829 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006267/0.3936, allocations: 374.2 kB / 0.5832 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3936, allocations: 28.66 kB / 0.5833 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.641e-05/0.3937, allocations: 48.44 kB / 0.5833 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.3952, allocations: 0.625 MB / 0.5839 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3953, allocations: 7.875 kB / 0.5839 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.3953, allocations: 15.72 kB / 0.5839 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.3953, allocations: 11.16 kB / 0.5839 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.3968, allocations: 0.4964 MB / 0.5844 GB, free: 15.16 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.002444/0.3993, allocations: 2.501 MB / 0.5869 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.4006, allocations: 0.5647 MB / 0.5874 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.4008, allocations: 139.4 kB / 0.5876 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06511/0.4659, allocations: 32.11 MB / 0.6189 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.466, allocations: 38.56 kB / 0.619 GB, free: 10.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 3.236e-06/0.466, allocations: 0 / 0.619 GB, free: 10.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.00599/0.472, allocations: 1.745 MB / 0.6207 GB, free: 8.574 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.4721, allocations: 106.8 kB / 0.6208 GB, free: 8.445 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.4725, allocations: 357.6 kB / 0.6211 GB, free: 8.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.4725, allocations: 33.7 kB / 0.6211 GB, free: 8.051 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.4727, allocations: 240.1 kB / 0.6214 GB, free: 7.809 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.4728, allocations: 114.4 kB / 0.6215 GB, free: 7.695 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.473, allocations: 93.66 kB / 0.6216 GB, free: 7.598 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4731, allocations: 358.7 kB / 0.6219 GB, free: 7.238 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.4735, allocations: 164.8 kB / 0.6221 GB, free: 7.074 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.4739, allocations: 234.3 kB / 0.6223 GB, free: 6.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/0.4746, allocations: 388.8 kB / 0.6227 GB, free: 6.422 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.4746, allocations: 0 / 0.6227 GB, free: 6.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001998/0.4766, allocations: 0.755 MB / 0.6234 GB, free: 5.656 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4767, allocations: 7.938 kB / 0.6234 GB, free: 5.648 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4767, allocations: 5.5 kB / 0.6234 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002213/0.4789, allocations: 0.5122 MB / 0.6239 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4791, allocations: 43.91 kB / 0.624 GB, free: 5.086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.4806, allocations: 0.9816 MB / 0.6249 GB, free: 4.078 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.481, allocations: 16.06 kB / 0.6249 GB, free: 4.062 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.481, allocations: 27.97 kB / 0.625 GB, free: 4.035 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004248/0.4815, allocations: 272.9 kB / 0.6252 GB, free: 3.766 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003462/0.4818, allocations: 223.6 kB / 0.6254 GB, free: 3.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006384/0.4825, allocations: 381.9 kB / 0.6258 GB, free: 3.125 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.4825, allocations: 4 kB / 0.6258 GB, free: 3.121 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001734/0.4842, allocations: 0.6693 MB / 0.6264 GB, free: 2.441 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.4843, allocations: 7.906 kB / 0.6265 GB, free: 2.434 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4843, allocations: 7.984 kB / 0.6265 GB, free: 2.426 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.4858, allocations: 468.5 kB / 0.6269 GB, free: 1.965 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.486, allocations: 43.92 kB / 0.627 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.4876, allocations: 0.9387 MB / 0.6279 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.488, allocations: 13.25 kB / 0.6279 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.488, allocations: 27.98 kB / 0.6279 GB, free: 0.918 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.0001714/0.4882, allocations: 192.3 kB / 0.6281 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4883, allocations: 47.52 kB / 0.6281 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003787/0.4921, allocations: 3.003 MB / 0.6311 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.4921, allocations: 3.938 kB / 0.6311 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4921, allocations: 2.906 kB / 0.6311 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.4923, allocations: 132.4 kB / 0.6312 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.4923, allocations: 4 kB / 0.6312 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.4927, allocations: 24.78 kB / 0.6312 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.4928, allocations: 23.95 kB / 0.6313 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00183/0.4946, allocations: 0.7165 MB / 0.632 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001321/0.4959, allocations: 1.008 MB / 0.6329 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004161/0.4964, allocations: 268.5 kB / 0.6332 GB, free: 11.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002319/0.4966, allocations: 251.1 kB / 0.6334 GB, free: 11.2 MB / 494.1 MB Notification: Performance of Backend: time 3.91e-07/0.4966, allocations: 0 / 0.6334 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007933/0.5046, allocations: 1.769 MB / 0.6352 GB, free: 9.43 MB / 494.1 MB Notification: Performance of SimCode: time 0.002283/0.5069, allocations: 1.669 MB / 0.6368 GB, free: 7.719 MB / 494.1 MB Notification: Performance of Templates: time 0.05275/0.5596, allocations: 44.03 MB / 0.6798 GB, free: 11.61 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe 2>&1)