Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001205/0.001206, allocations: 99.7 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.001182/0.001182, 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.502/1.502, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.0004946/0.0004948, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.249, allocations: 47.58 MB / 326.5 MB, free: 1.496 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.02805/0.2771, allocations: 27.28 MB / 353.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.2935, allocations: 13.34 MB / 367.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005006/0.294, allocations: 11.94 kB / 367.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009135/0.2949, allocations: 235 kB / 367.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005828/0.2955, allocations: 251.3 kB / 367.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01341/0.309, allocations: 4.519 MB / 372.1 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009932/0.31, allocations: 0.5583 MB / 372.6 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3101, allocations: 73.03 kB / 372.7 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005637/0.3158, allocations: 3.282 MB / 376 MB, free: 1.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003744/0.3162, allocations: 203.2 kB / 376.2 MB, free: 1.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.3162, allocations: 16 kB / 376.2 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01262/0.3289, allocations: 5.935 MB / 382.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.3291, allocations: 79.77 kB / 382.2 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.3293, allocations: 105.5 kB / 382.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006071/0.3354, allocations: 2.576 MB / 384.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3355, allocations: 0 / 384.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3355, allocations: 0 / 384.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.3355, 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.003329/0.3388, allocations: 0.9513 MB / 385.8 MB, free: 7.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.3389, allocations: 12.03 kB / 385.9 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.3408, allocations: 163.4 kB / 386 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000595/0.3414, allocations: 306.5 kB / 386.3 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/0.3415, allocations: 32.61 kB / 386.3 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/0.3416, allocations: 35.98 kB / 386.4 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.3437, allocations: 0.558 MB / 386.9 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.3437, allocations: 11.94 kB / 387 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.3438, allocations: 12 kB / 387 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.3438, allocations: 8 kB / 387 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.3458, allocations: 0.5368 MB / 387.5 MB, free: 6.191 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.004326/0.3502, allocations: 2.62 MB / 390.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.3525, allocations: 478.3 kB / 390.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.3536, allocations: 0.5599 MB / 391.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.3537, allocations: 38.56 kB / 391.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.815e-06/0.3537, allocations: 0 / 391.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.007041/0.3608, allocations: 1.602 MB / 392.8 MB, free: 476 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.3608, allocations: 59.36 kB / 392.9 MB, free: 404 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.3612, allocations: 252.8 kB / 393.1 MB, free: 140 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.3612, allocations: 33.64 kB / 393.1 MB, free: 100 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.3614, allocations: 180.2 kB / 393.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.3615, allocations: 118.4 kB / 393.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.3615, allocations: 8 kB / 393.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3617, allocations: 342.8 kB / 393.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.3621, allocations: 144.8 kB / 393.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/0.3626, allocations: 251.4 kB / 394.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/0.3631, allocations: 175.9 kB / 394.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3631, allocations: 0 / 394.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001336/0.3644, allocations: 0.5347 MB / 394.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3645, allocations: 4 kB / 394.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3645, allocations: 4 kB / 394.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/0.365, allocations: 118.6 kB / 395 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.3654, allocations: 91.83 kB / 395.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.3675, allocations: 2.428 MB / 397.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.3679, allocations: 48.23 kB / 397.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.368, allocations: 23.98 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.0002199/0.3682, allocations: 161.7 kB / 397.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.3683, allocations: 31.62 kB / 397.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.3704, allocations: 1.371 MB / 399.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.3704, allocations: 12.05 kB / 399.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3705, allocations: 7.938 kB / 399.2 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001766/0.3722, allocations: 1.464 MB / 400.6 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/0.375, allocations: 2.136 MB / 402.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.375, allocations: 3.938 kB / 402.8 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/0.3755, allocations: 107.8 kB / 402.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003625/0.3758, allocations: 76.8 kB / 402.9 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.3759, allocations: 11.98 kB / 402.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003444/0.3762, allocations: 0.5952 MB / 403.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3762, allocations: 0 / 403.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.3781, allocations: 1.301 MB / 404.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.3782, allocations: 172 kB / 405 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.3783, allocations: 8 kB / 405 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.3786, allocations: 43.94 kB / 405.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.3787, allocations: 35.94 kB / 405.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.3788, allocations: 19.98 kB / 405.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002646/0.379, allocations: 235 kB / 405.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3791, allocations: 0 / 405.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002656/0.3817, allocations: 0.8551 MB / 406.2 MB, free: 2.508 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.003937/0.3857, allocations: 0.9672 MB / 407.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.387, allocations: 0.6711 MB / 407.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.387, allocations: 0 / 407.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006955/0.3877, allocations: 424.7 kB / 408.3 MB, free: 444 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.3889, allocations: 176.9 kB / 408.4 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.391, allocations: 1.562 MB / 410 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.3914, allocations: 0.8882 MB / 410.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003615/0.3918, allocations: 141.8 kB / 411 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.427e-05/0.3919, allocations: 39.42 kB / 411.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3919, allocations: 0 / 411.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Templates: time 0.05251/0.4444, allocations: 35.58 MB / 446.6 MB, free: 9.949 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) Environment - environmentSimulation: