Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.00102/0.00102, allocations: 98.53 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.0009649/0.0009649, allocations: 177.3 kB / 15.94 MB, free: 228 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.528/1.528, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.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.0006908/0.000691, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2702, allocations: 47.59 MB / 326.5 MB, free: 1.461 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.035/0.3052, allocations: 27.27 MB / 353.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01926/0.3245, allocations: 13.35 MB / 367.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005549/0.3251, allocations: 7.938 kB / 367.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.3262, allocations: 231 kB / 367.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000968/0.3272, allocations: 247.3 kB / 367.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01591/0.3431, allocations: 4.534 MB / 372.1 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.3442, allocations: 0.5467 MB / 372.6 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.3444, allocations: 85.02 kB / 372.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006194/0.3506, allocations: 3.278 MB / 376 MB, free: 1.859 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.351, allocations: 199.3 kB / 376.2 MB, free: 1.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.351, allocations: 16 kB / 376.2 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01191/0.3629, allocations: 5.935 MB / 382.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.3631, allocations: 79.78 kB / 382.2 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.3634, allocations: 105.5 kB / 382.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005789/0.3691, allocations: 2.576 MB / 384.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3692, allocations: 0 / 384.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3692, allocations: 0 / 384.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3692, allocations: 0 / 384.9 MB, free: 8.938 MB / 318.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.002895/0.3721, allocations: 0.9552 MB / 385.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.3722, allocations: 12.03 kB / 385.9 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.3736, allocations: 159.4 kB / 386 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/0.3741, allocations: 302.5 kB / 386.3 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/0.3742, allocations: 32.61 kB / 386.3 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.3743, allocations: 32 kB / 386.4 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.3758, allocations: 0.562 MB / 386.9 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3759, allocations: 11.94 kB / 387 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/0.3759, allocations: 15.98 kB / 387 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.376, allocations: 8 kB / 387 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.3775, allocations: 0.5329 MB / 387.5 MB, free: 6.195 MB / 318.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.003644/0.3811, allocations: 2.623 MB / 390.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.3829, allocations: 482.6 kB / 390.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009273/0.3838, allocations: 0.556 MB / 391.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.3839, allocations: 42.48 kB / 391.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.715e-06/0.3839, allocations: 0 / 391.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.005005/0.3889, allocations: 1.601 MB / 392.8 MB, free: 472 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.389, allocations: 55.36 kB / 392.9 MB, free: 404 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.3893, allocations: 252.8 kB / 393.1 MB, free: 140 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.3893, allocations: 29.7 kB / 393.1 MB, free: 104 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.3895, allocations: 188.2 kB / 393.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.3897, allocations: 118.3 kB / 393.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.3897, allocations: 4 kB / 393.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.3899, allocations: 342.8 kB / 393.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.3903, allocations: 148.8 kB / 393.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.3908, allocations: 251.4 kB / 394.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.3913, allocations: 175.9 kB / 394.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3913, allocations: 3.938 kB / 394.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001269/0.3925, allocations: 0.5306 MB / 394.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3926, allocations: 7.984 kB / 394.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3926, allocations: 4 kB / 394.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005468/0.3932, allocations: 122.7 kB / 395 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.3935, allocations: 91.89 kB / 395.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.3957, allocations: 2.428 MB / 397.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/0.3961, allocations: 47.92 kB / 397.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.3962, allocations: 20.16 kB / 397.6 MB, free: 11.39 MB / 334.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 (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 initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.3964, allocations: 161.7 kB / 397.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.3965, allocations: 35.62 kB / 397.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.3985, allocations: 1.363 MB / 399.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.3985, allocations: 23.97 kB / 399.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3985, allocations: 0 / 399.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001789/0.4003, allocations: 1.464 MB / 400.6 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/0.4032, allocations: 2.136 MB / 402.8 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.4033, allocations: 4 kB / 402.8 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.4037, allocations: 103.9 kB / 402.9 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003722/0.4041, allocations: 76.78 kB / 402.9 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.4041, allocations: 8 kB / 402.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004309/0.4046, allocations: 0.5952 MB / 403.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4046, allocations: 4.094 kB / 403.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.4065, allocations: 1.301 MB / 404.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.4067, allocations: 176 kB / 405 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.4068, allocations: 4 kB / 405 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.4071, allocations: 43.94 kB / 405.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/0.4072, allocations: 39.88 kB / 405.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.4072, allocations: 15.94 kB / 405.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.4075, allocations: 235 kB / 405.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4075, allocations: 0 / 405.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003242/0.4108, allocations: 0.859 MB / 406.2 MB, free: 2.5 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.003582/0.4144, allocations: 0.963 MB / 407.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.4159, allocations: 0.6714 MB / 407.8 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4159, allocations: 0 / 407.8 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006741/0.4166, allocations: 424.7 kB / 408.3 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.4177, allocations: 180.9 kB / 408.4 MB, free: 256 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.42, allocations: 1.553 MB / 410 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.4205, allocations: 0.8805 MB / 410.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004211/0.4209, allocations: 151 kB / 411 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.421, allocations: 35.44 kB / 411.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.421, allocations: 0 / 411.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Templates: time 0.05422/0.4753, allocations: 35.59 MB / 446.6 MB, free: 9.945 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) Environment - environmentSimulation: