Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.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.001698/0.001698, allocations: 107.8 kB / 17.06 MB, free: 6.02 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.001674/0.001674, allocations: 191 kB / 18 MB, free: 5.102 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.391/1.391, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001156/0.001156, allocations: 55.94 kB / 327.9 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.1005, allocations: 46.61 MB / 374.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.245/0.3455, allocations: 32.57 MB / 407.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02002/0.3656, allocations: 15.74 MB / 422.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005898/0.3663, allocations: 7.844 kB / 422.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.3673, allocations: 272 kB / 423.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009707/0.3683, allocations: 358.1 kB / 423.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02125/0.3896, allocations: 5.784 MB / 429.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.3915, allocations: 0.9977 MB / 430.2 MB, free: 7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.3918, allocations: 102.5 kB / 430.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006048/0.3978, allocations: 2.195 MB / 432.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004615/0.3983, allocations: 310.8 kB / 432.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.293e-05/0.3984, allocations: 36 kB / 432.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01418/0.4126, allocations: 6.076 MB / 439 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.4129, allocations: 111.7 kB / 439.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004987/0.4134, allocations: 223.2 kB / 439.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.4261, allocations: 3.78 MB / 443.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.4262, allocations: 0 / 443.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.4262, allocations: 4 kB / 443.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.4262, allocations: 0 / 443.1 MB, free: 10.98 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003033/0.4293, allocations: 1.046 MB / 444.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.4293, allocations: 8.031 kB / 444.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.4306, allocations: 148.6 kB / 444.3 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/0.4312, allocations: 327.8 kB / 444.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.4313, allocations: 33.03 kB / 444.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/0.4313, allocations: 28.56 kB / 444.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.4328, allocations: 0.5463 MB / 445.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.4328, allocations: 11.94 kB / 445.2 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.4328, allocations: 16 kB / 445.2 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4329, allocations: 8 kB / 445.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.4343, allocations: 0.4977 MB / 445.7 MB, free: 8.191 MB / 366.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.003078/0.4374, allocations: 2.609 MB / 448.3 MB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.4389, allocations: 446.9 kB / 448.8 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/0.4393, allocations: 169.9 kB / 448.9 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007867/0.4401, allocations: 0.5641 MB / 449.5 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.4402, allocations: 34.56 kB / 449.5 MB, free: 4.012 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 3.286e-06/0.4402, allocations: 0 / 449.5 MB, free: 4.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.004761/0.445, allocations: 1.504 MB / 451 MB, free: 2.434 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.445, allocations: 59.34 kB / 451.1 MB, free: 2.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.4453, allocations: 253 kB / 451.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.4453, allocations: 29.7 kB / 451.4 MB, free: 2.074 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.4454, allocations: 188.5 kB / 451.6 MB, free: 1.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.759e-05/0.4455, allocations: 119 kB / 451.7 MB, free: 1.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.4457, allocations: 82.02 kB / 451.7 MB, free: 1.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.4458, allocations: 342.8 kB / 452.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.4462, allocations: 144.8 kB / 452.2 MB, free: 1.199 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.4467, allocations: 235.4 kB / 452.5 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/0.4476, allocations: 402.8 kB / 452.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4476, allocations: 0 / 452.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001247/0.4488, allocations: 0.5035 MB / 453.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.4489, allocations: 4 kB / 453.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4489, allocations: 4 kB / 453.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005617/0.4494, allocations: 106.7 kB / 453.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.4498, allocations: 93.06 kB / 453.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.4517, allocations: 2.503 MB / 456.1 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.452, allocations: 26.52 kB / 456.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.4521, allocations: 20.17 kB / 456.1 MB, free: 13.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.4523, allocations: 165.7 kB / 456.3 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/0.4523, allocations: 31.8 kB / 456.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.4542, allocations: 1.317 MB / 457.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.4542, allocations: 15.98 kB / 457.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4542, allocations: 0 / 457.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001689/0.4559, allocations: 1.429 MB / 459.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.4586, allocations: 2.102 MB / 461.2 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4587, allocations: 3.984 kB / 461.2 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.4591, allocations: 99.84 kB / 461.3 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003448/0.4594, allocations: 68.75 kB / 461.3 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.4595, allocations: 4 kB / 461.3 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004544/0.4599, allocations: 0.5991 MB / 461.9 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4599, allocations: 0 / 461.9 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.4618, allocations: 1.273 MB / 463.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.902e-05/0.4619, allocations: 140.5 kB / 463.3 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.462, allocations: 23.83 kB / 463.4 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.4622, allocations: 28.03 kB / 463.4 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4624, allocations: 39.83 kB / 463.4 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.4624, allocations: 12 kB / 463.4 MB, free: 5.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.4627, allocations: 235 kB / 463.7 MB, free: 5.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4627, allocations: 3.938 kB / 463.7 MB, free: 5.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003025/0.4657, allocations: 0.8657 MB / 464.5 MB, free: 4.328 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003387/0.4691, allocations: 0.973 MB / 465.5 MB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.4705, allocations: 0.6423 MB / 466.2 MB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4705, allocations: 0 / 466.2 MB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000671/0.4712, allocations: 417.2 kB / 466.6 MB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.4723, allocations: 199 kB / 466.8 MB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.4743, allocations: 1.277 MB / 468 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.4748, allocations: 0.8688 MB / 468.9 MB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003583/0.4752, allocations: 143.8 kB / 469 MB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.566e-05/0.4753, allocations: 39.44 kB / 469.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4753, allocations: 3.938 kB / 469.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of Templates: time 0.04807/0.5234, allocations: 35.84 MB / 0.4931 GB, free: 11.8 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)