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.001143/0.001143, allocations: 99 kB / 15.05 MB, free: 1.105 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.00129/0.00129, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3919/0.3919, allocations: 39.99 MB / 310.4 MB, free: 9.617 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.0005462/0.0005463, allocations: 16 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1207, allocations: 57.96 MB / 436.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.2621/0.3828, allocations: 33.12 MB / 469.9 MB, free: 34.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01759/0.4004, allocations: 17.2 MB / 487.1 MB, free: 23.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.4016, allocations: 20.78 kB / 487.1 MB, free: 23.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.4027, allocations: 396.9 kB / 487.5 MB, free: 23.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.4142, allocations: 3.996 MB / 491.5 MB, free: 21.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006215/0.4204, allocations: 2.108 MB / 493.6 MB, free: 20.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.4222, allocations: 1.154 MB / 494.8 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006753/0.4229, allocations: 420.8 kB / 495.2 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009601/0.4326, allocations: 6.285 MB / 0.4897 GB, free: 18.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01563/0.4482, allocations: 8.779 MB / 0.4983 GB, free: 17.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.4485, allocations: 36.28 kB / 0.4983 GB, free: 17.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01679/0.4653, allocations: 7.173 MB / 0.5053 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000582/0.466, allocations: 227.8 kB / 0.5055 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000474/0.4665, allocations: 191.2 kB / 0.5057 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008318/0.4748, allocations: 3.449 MB / 0.5091 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4748, allocations: 0 / 0.5091 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.4748, allocations: 0 / 0.5091 GB, free: 14.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4748, allocations: 3.938 kB / 0.5091 GB, free: 14.22 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.005507/0.4804, allocations: 1.547 MB / 0.5106 GB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4804, allocations: 12.56 kB / 0.5106 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.4825, allocations: 310.7 kB / 0.5109 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008772/0.4834, allocations: 0.5433 MB / 0.5114 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.4835, allocations: 116.6 kB / 0.5116 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.867e-05/0.4836, allocations: 56 kB / 0.5116 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.4858, allocations: 1.216 MB / 0.5128 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.4858, allocations: 4 kB / 0.5128 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.327e-05/0.4859, allocations: 27.95 kB / 0.5128 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/0.4859, allocations: 49.22 kB / 0.5129 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.4881, allocations: 1.055 MB / 0.5139 GB, free: 9.094 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.00488/0.493, allocations: 5.635 MB / 0.5194 GB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.4951, allocations: 0.8162 MB / 0.5202 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03293/0.5281, allocations: 15.97 MB / 0.5358 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.827e-05/0.5282, allocations: 39.28 kB / 0.5358 GB, free: 380 kB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.705e-06/0.5282, allocations: 0 / 0.5358 GB, free: 380 kB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.006777/0.535, allocations: 2.382 MB / 0.5382 GB, free: 13.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.5351, allocations: 158.7 kB / 0.5383 GB, free: 13.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006921/0.5358, allocations: 0.5976 MB / 0.5389 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.5359, allocations: 37.7 kB / 0.5389 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.5361, allocations: 391.2 kB / 0.5393 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.5363, allocations: 177.6 kB / 0.5395 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.5363, allocations: 12 kB / 0.5395 GB, free: 12.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5365, allocations: 382.8 kB / 0.5398 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006037/0.5371, allocations: 289.8 kB / 0.5401 GB, free: 11.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008106/0.5379, allocations: 0.6121 MB / 0.5407 GB, free: 11.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007027/0.5386, allocations: 384.5 kB / 0.5411 GB, free: 10.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.5386, allocations: 4 kB / 0.5411 GB, free: 10.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00181/0.5405, allocations: 0.9721 MB / 0.542 GB, free: 9.719 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.5405, allocations: 12 kB / 0.5421 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.5405, allocations: 11.25 kB / 0.5421 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002946/0.5408, allocations: 77.58 kB / 0.5421 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.5421, allocations: 307.6 kB / 0.5424 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.5436, allocations: 1.984 MB / 0.5444 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006864/0.5443, allocations: 83.88 kB / 0.5445 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.5444, allocations: 40 kB / 0.5445 GB, free: 7.059 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 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004027/0.5448, allocations: 277.4 kB / 0.5448 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.5449, allocations: 71.25 kB / 0.5448 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/0.548, allocations: 2.609 MB / 0.5474 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-05/0.5481, allocations: 35.94 kB / 0.5474 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.5481, allocations: 0 / 0.5474 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5481, allocations: 3.984 kB / 0.5474 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00451/0.5526, allocations: 3.8 MB / 0.5511 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.5526, allocations: 3.984 kB / 0.5511 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.5537, allocations: 237.3 kB / 0.5513 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003924/0.5541, allocations: 100.7 kB / 0.5514 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.5542, allocations: 12 kB / 0.5515 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.5557, allocations: 1.999 MB / 0.5534 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5557, allocations: 5.906 kB / 0.5534 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002891/0.5586, allocations: 2.391 MB / 0.5557 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/0.5591, allocations: 322.9 kB / 0.5561 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.5592, allocations: 19.94 kB / 0.5561 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/0.5597, allocations: 59.92 kB / 0.5561 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.5598, allocations: 52.48 kB / 0.5562 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.5599, allocations: 16 kB / 0.5562 GB, free: 10.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007516/0.5606, allocations: 0.5537 MB / 0.5567 GB, free: 10.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5607, allocations: 0 / 0.5567 GB, free: 10.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004246/0.5649, allocations: 1.089 MB / 0.5578 GB, free: 9.117 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005736/0.5707, allocations: 1.219 MB / 0.559 GB, free: 7.898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002585/0.5733, allocations: 1.112 MB / 0.5601 GB, free: 6.793 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5733, allocations: 0 / 0.5601 GB, free: 6.793 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.5748, allocations: 0.8207 MB / 0.5609 GB, free: 5.973 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.5768, allocations: 366.1 kB / 0.5612 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.5809, allocations: 3.034 MB / 0.5642 GB, free: 2.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007633/0.5817, allocations: 1.189 MB / 0.5654 GB, free: 1.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009238/0.5827, allocations: 438 kB / 0.5658 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.5829, allocations: 67.42 kB / 0.5658 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.5829, allocations: 0 / 0.5658 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of Templates: time 0.06116/0.644, allocations: 46.04 MB / 0.6108 GB, free: 2.801 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: