Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.0007261/0.0007263, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005786/0.005786, allocations: 174.1 kB / 16.27 MB, free: 6.613 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.422/1.422, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3691/0.3691, allocations: 38.03 MB / 308.8 MB, free: 10.33 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.1. 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.0006251/0.0006253, allocations: 16.38 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1335, allocations: 57.52 MB / 434.6 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.2978/0.4313, allocations: 39.42 MB / 474 MB, free: 32.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02331/0.4547, allocations: 20.93 MB / 494.9 MB, free: 19.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.4562, allocations: 27.72 kB / 494.9 MB, free: 19.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.4578, allocations: 397.5 kB / 495.3 MB, free: 19.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01495/0.4727, allocations: 4.152 MB / 499.5 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007786/0.4806, allocations: 2.235 MB / 0.49 GB, free: 16.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003803/0.4844, allocations: 2.833 MB / 0.4927 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007411/0.4851, allocations: 432.6 kB / 0.4931 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009587/0.4947, allocations: 4.041 MB / 0.4971 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0111/0.5059, allocations: 5.454 MB / 0.5024 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002895/0.5062, allocations: 34.91 kB / 0.5025 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01786/0.5241, allocations: 7.27 MB / 0.5096 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007229/0.5249, allocations: 237.4 kB / 0.5098 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009435/0.5258, allocations: 454.1 kB / 0.5102 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0165/0.5423, allocations: 5.046 MB / 0.5151 GB, free: 5.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5424, allocations: 1.562 kB / 0.5151 GB, free: 5.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5424, allocations: 0 / 0.5151 GB, free: 5.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.5424, allocations: 0 / 0.5151 GB, free: 5.355 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.007512/0.5499, allocations: 1.53 MB / 0.5166 GB, free: 4.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.55, allocations: 12.81 kB / 0.5166 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.5522, allocations: 310.8 kB / 0.5169 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009374/0.5532, allocations: 0.5612 MB / 0.5175 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.5533, allocations: 116.4 kB / 0.5176 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.5534, allocations: 63.42 kB / 0.5177 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.556, allocations: 1.224 MB / 0.5189 GB, free: 2.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.556, allocations: 6.906 kB / 0.5189 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.607e-05/0.5561, allocations: 25.06 kB / 0.5189 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.456e-05/0.5561, allocations: 40.08 kB / 0.5189 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.5586, allocations: 1.065 MB / 0.52 GB, free: 2.188 MB / 382.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.006857/0.5655, allocations: 5.645 MB / 0.5255 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.568, allocations: 0.8165 MB / 0.5263 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.5686, allocations: 300.3 kB / 0.5266 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03365/0.6023, allocations: 15.97 MB / 0.5422 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.6024, allocations: 46.45 kB / 0.5422 GB, free: 12.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 3.046e-06/0.6024, allocations: 0 / 0.5422 GB, free: 12.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.007799/0.6102, allocations: 2.368 MB / 0.5445 GB, free: 9.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002099/0.6105, allocations: 158.7 kB / 0.5447 GB, free: 9.738 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008694/0.6114, allocations: 0.6171 MB / 0.5453 GB, free: 9.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.6114, allocations: 33.7 kB / 0.5453 GB, free: 9.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/0.6119, allocations: 391.2 kB / 0.5457 GB, free: 8.684 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.612, allocations: 169.6 kB / 0.5458 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.6121, allocations: 73.67 kB / 0.5459 GB, free: 8.438 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.6123, allocations: 378.8 kB / 0.5463 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007299/0.6131, allocations: 297.8 kB / 0.5466 GB, free: 7.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.6144, allocations: 0.6122 MB / 0.5472 GB, free: 7.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.616, allocations: 0.9221 MB / 0.5481 GB, free: 5.941 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.616, allocations: 4 kB / 0.5481 GB, free: 5.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00206/0.6181, allocations: 0.9884 MB / 0.549 GB, free: 4.938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.6181, allocations: 14.38 kB / 0.549 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.6181, allocations: 12 kB / 0.549 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/0.6185, allocations: 64.81 kB / 0.5491 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.6198, allocations: 311.5 kB / 0.5494 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.6219, allocations: 1.988 MB / 0.5513 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/0.6228, allocations: 80.12 kB / 0.5514 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/0.6228, allocations: 47.97 kB / 0.5515 GB, free: 2.273 MB / 414.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.0004433/0.6233, allocations: 270 kB / 0.5517 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.6235, allocations: 71.16 kB / 0.5518 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003748/0.6272, allocations: 2.598 MB / 0.5543 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.705e-05/0.6273, allocations: 47.81 kB / 0.5544 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.6273, allocations: 0 / 0.5544 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.6273, allocations: 0 / 0.5544 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/0.6324, allocations: 3.797 MB / 0.5581 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.6324, allocations: 0 / 0.5581 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.6335, allocations: 239.7 kB / 0.5583 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004307/0.6339, allocations: 92.69 kB / 0.5584 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.634, allocations: 15.98 kB / 0.5584 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.6357, allocations: 1.995 MB / 0.5604 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6357, allocations: 256 / 0.5604 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/0.639, allocations: 2.381 MB / 0.5627 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006946/0.6397, allocations: 322.9 kB / 0.563 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.615e-05/0.6398, allocations: 12 kB / 0.563 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000555/0.6404, allocations: 67.8 kB / 0.5631 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.6405, allocations: 52.48 kB / 0.5631 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.6406, allocations: 23.98 kB / 0.5631 GB, free: 6.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007468/0.6413, allocations: 0.5615 MB / 0.5637 GB, free: 5.453 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6413, allocations: 0 / 0.5637 GB, free: 5.453 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005313/0.6466, allocations: 1.089 MB / 0.5648 GB, free: 4.363 MB / 430.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.005179/0.6518, allocations: 1.219 MB / 0.5659 GB, free: 3.141 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002673/0.6545, allocations: 1.116 MB / 0.567 GB, free: 2.031 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.6545, allocations: 4 kB / 0.567 GB, free: 2.027 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.656, allocations: 0.8168 MB / 0.5678 GB, free: 1.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.6584, allocations: 379.9 kB / 0.5682 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.6625, allocations: 3.073 MB / 0.5712 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/0.6632, allocations: 1.165 MB / 0.5723 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009698/0.6642, allocations: 445.6 kB / 0.5728 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.6644, allocations: 67.44 kB / 0.5728 GB, free: 12.04 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.6644, allocations: 0 / 0.5728 GB, free: 12.04 MB / 446.1 MB Notification: Performance of Templates: time 0.06543/0.7298, allocations: 45.91 MB / 0.6177 GB, free: 14.12 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) Environment - environmentSimulation: