Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001886/0.001886, allocations: 192 kB / 16.14 MB, free: 6.703 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.603/1.603, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4212/0.4212, allocations: 39.94 MB / 309.3 MB, free: 9.422 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 62.42 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1482, allocations: 56.9 MB / 433.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.3212/0.4695, allocations: 40.26 MB / 474.1 MB, free: 30.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02533/0.4949, allocations: 21.25 MB / 495.3 MB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.4964, allocations: 28.38 kB / 495.4 MB, free: 16.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.4978, allocations: 400.3 kB / 495.8 MB, free: 16.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01286/0.5107, allocations: 4.161 MB / 499.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00641/0.5171, allocations: 2.222 MB / 0.4904 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003037/0.5202, allocations: 2.851 MB / 0.4931 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007147/0.5209, allocations: 423.8 kB / 0.4936 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009497/0.5304, allocations: 4.046 MB / 0.4975 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0133/0.5437, allocations: 5.451 MB / 0.5028 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005136/0.5443, allocations: 37.22 kB / 0.5029 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02055/0.5649, allocations: 7.269 MB / 0.51 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000862/0.5658, allocations: 248.9 kB / 0.5102 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009946/0.5668, allocations: 426.2 kB / 0.5106 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01892/0.5857, allocations: 5.075 MB / 0.5156 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.5858, allocations: 0 / 0.5156 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.22e-06/0.5859, allocations: 1 kB / 0.5156 GB, free: 1.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.446e-05/0.5859, allocations: 3.938 kB / 0.5156 GB, free: 1.992 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.008824/0.5947, allocations: 1.686 MB / 0.5172 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.362e-05/0.5948, allocations: 12.28 kB / 0.5172 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002803/0.5977, allocations: 306.8 kB / 0.5175 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.5989, allocations: 0.5504 MB / 0.5181 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.5991, allocations: 119 kB / 0.5182 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.5992, allocations: 60.47 kB / 0.5182 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/0.6021, allocations: 1.194 MB / 0.5194 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.6022, allocations: 6.688 kB / 0.5194 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.23e-05/0.6023, allocations: 32.23 kB / 0.5194 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.32e-05/0.6023, allocations: 46.3 kB / 0.5195 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002739/0.6051, allocations: 1.032 MB / 0.5205 GB, free: 14.72 MB / 398.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.007126/0.6122, allocations: 5.621 MB / 0.526 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.6146, allocations: 0.7502 MB / 0.5267 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005702/0.6151, allocations: 297 kB / 0.527 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03285/0.648, allocations: 15.86 MB / 0.5425 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/0.6481, allocations: 50.45 kB / 0.5425 GB, free: 7.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.584e-06/0.6481, allocations: 0 / 0.5425 GB, free: 7.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.007353/0.6555, allocations: 2.28 MB / 0.5447 GB, free: 5.344 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/0.6556, allocations: 158.7 kB / 0.5449 GB, free: 5.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.6564, allocations: 0.6015 MB / 0.5455 GB, free: 4.543 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.6565, allocations: 37.7 kB / 0.5455 GB, free: 4.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.6568, allocations: 387.3 kB / 0.5459 GB, free: 4.117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.657, allocations: 177.5 kB / 0.5461 GB, free: 3.941 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.6572, allocations: 158.6 kB / 0.5462 GB, free: 3.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002772/0.6575, allocations: 378.7 kB / 0.5466 GB, free: 3.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.6581, allocations: 279.3 kB / 0.5468 GB, free: 3.129 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008771/0.659, allocations: 0.6122 MB / 0.5474 GB, free: 2.363 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.6606, allocations: 0.8948 MB / 0.5483 GB, free: 1.324 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.6606, allocations: 4 kB / 0.5483 GB, free: 1.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001886/0.6625, allocations: 0.9644 MB / 0.5493 GB, free: 352 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.6625, allocations: 8 kB / 0.5493 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.6625, allocations: 12 kB / 0.5493 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/0.6628, allocations: 60.83 kB / 0.5493 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.6641, allocations: 308.1 kB / 0.5496 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.6658, allocations: 1.984 MB / 0.5516 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007399/0.6666, allocations: 76.86 kB / 0.5516 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.115e-05/0.6667, allocations: 40 kB / 0.5517 GB, free: 13.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005051/0.6672, allocations: 274 kB / 0.5519 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.6673, allocations: 75.14 kB / 0.552 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/0.6707, allocations: 2.553 MB / 0.5545 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.501e-05/0.6707, allocations: 43.91 kB / 0.5545 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6707, allocations: 0 / 0.5545 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.6707, allocations: 7.984 kB / 0.5546 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004954/0.6757, allocations: 3.754 MB / 0.5582 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.6757, allocations: 0 / 0.5582 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.6768, allocations: 235.7 kB / 0.5584 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003689/0.6772, allocations: 76.78 kB / 0.5585 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/0.6772, allocations: 15.98 kB / 0.5585 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.6788, allocations: 1.996 MB / 0.5605 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6788, allocations: 0 / 0.5605 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/0.682, allocations: 2.342 MB / 0.5628 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004796/0.6825, allocations: 251.3 kB / 0.563 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.6826, allocations: 31.69 kB / 0.563 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005279/0.6832, allocations: 67.73 kB / 0.5631 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.6833, allocations: 52.48 kB / 0.5632 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.6834, allocations: 23.97 kB / 0.5632 GB, free: 1.641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007335/0.6841, allocations: 0.5576 MB / 0.5637 GB, free: 1.082 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6841, allocations: 0 / 0.5637 GB, free: 1.082 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005135/0.6893, allocations: 1.093 MB / 0.5648 GB, free: 15.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005453/0.6947, allocations: 1.207 MB / 0.566 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00258/0.6973, allocations: 1.108 MB / 0.567 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6973, allocations: 0.5625 kB / 0.567 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.6989, allocations: 0.8206 MB / 0.5679 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.7011, allocations: 389 kB / 0.5682 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.7052, allocations: 2.978 MB / 0.5711 GB, free: 9.469 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006846/0.7059, allocations: 1.165 MB / 0.5723 GB, free: 8.273 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009243/0.7068, allocations: 440.2 kB / 0.5727 GB, free: 7.844 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.707, allocations: 75.36 kB / 0.5728 GB, free: 7.77 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.707, allocations: 0 / 0.5728 GB, free: 7.77 MB / 446.1 MB Notification: Performance of Templates: time 0.06609/0.7731, allocations: 45.99 MB / 0.6177 GB, free: 9.785 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)