Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009079/0.009079, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.449/1.449, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.00049/0.0004901, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.261, allocations: 47.59 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.0336/0.2946, allocations: 32.5 MB / 359.5 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01875/0.3134, allocations: 16.42 MB / 376 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004372/0.3139, allocations: 4 kB / 376 MB, free: 2.301 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007501/0.3147, allocations: 230.8 kB / 376.2 MB, free: 2.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007269/0.3154, allocations: 354.2 kB / 376.5 MB, free: 1.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01497/0.3304, allocations: 4.684 MB / 381.2 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0019/0.3323, allocations: 1.446 MB / 382.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.3325, allocations: 89.02 kB / 382.8 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005067/0.3376, allocations: 2.122 MB / 384.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004739/0.3381, allocations: 310.8 kB / 385.2 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.3382, allocations: 20 kB / 385.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/0.3505, allocations: 5.998 MB / 391.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.3508, allocations: 91.7 kB / 391.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.3512, allocations: 228.9 kB / 391.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.3612, allocations: 3.769 MB / 395.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3613, allocations: 0 / 395.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3613, allocations: 0 / 395.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3613, allocations: 0 / 395.3 MB, free: 14.91 MB / 334.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.002529/0.3639, allocations: 0.9125 MB / 396.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3639, allocations: 8.031 kB / 396.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.3653, allocations: 160.3 kB / 396.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.3657, allocations: 323.6 kB / 396.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.3658, allocations: 25.03 kB / 396.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.3658, allocations: 32.38 kB / 396.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.3672, allocations: 0.5229 MB / 397.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.3672, allocations: 4 kB / 397.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/0.3672, allocations: 12 kB / 397.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3673, allocations: 12 kB / 397.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/0.3679, allocations: 325.9 kB / 397.6 MB, free: 12.47 MB / 334.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.003042/0.3709, allocations: 2.569 MB / 400.2 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/0.3715, allocations: 274.8 kB / 400.4 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.3717, allocations: 112.8 kB / 400.5 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06491/0.4366, allocations: 31.2 MB / 431.7 MB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.4368, allocations: 42.5 kB / 431.8 MB, free: 6.449 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 3.416e-06/0.4368, allocations: 0 / 431.8 MB, free: 6.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.003556/0.4403, allocations: 1.214 MB / 433 MB, free: 5.156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.4404, allocations: 55.41 kB / 433.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.4407, allocations: 258.6 kB / 433.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.4407, allocations: 29.7 kB / 433.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.4409, allocations: 192 kB / 433.5 MB, free: 4.605 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.282e-05/0.441, allocations: 110.5 kB / 433.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.441, allocations: 37.7 kB / 433.7 MB, free: 4.453 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4412, allocations: 342.8 kB / 434 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.4413, allocations: 96.83 kB / 434.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.4416, allocations: 218.9 kB / 434.3 MB, free: 3.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.442, allocations: 342.4 kB / 434.6 MB, free: 3.363 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.442, allocations: 0 / 434.6 MB, free: 3.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006894/0.4427, allocations: 414.8 kB / 435.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4428, allocations: 8 kB / 435.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4428, allocations: 4 kB / 435.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000288/0.4431, allocations: 57.69 kB / 435.1 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.4434, allocations: 95.83 kB / 435.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.4452, allocations: 2.43 MB / 437.6 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.4455, allocations: 32.11 kB / 437.7 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.4455, allocations: 16 kB / 437.7 MB, free: 116 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002357/0.4458, allocations: 169.7 kB / 437.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.4459, allocations: 31.62 kB / 437.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.4469, allocations: 0.8577 MB / 438.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.4469, allocations: 11.98 kB / 438.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.4469, allocations: 0 / 438.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009105/0.4478, allocations: 1.044 MB / 439.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.4496, allocations: 1.493 MB / 441.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.4496, allocations: 0 / 441.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.4498, allocations: 47.97 kB / 441.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003764/0.4502, allocations: 80.78 kB / 441.4 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.4502, allocations: 11.92 kB / 441.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003813/0.4506, allocations: 0.5952 MB / 442 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4506, allocations: 0 / 442 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009734/0.4516, allocations: 0.8323 MB / 442.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.4517, allocations: 132.5 kB / 443 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.4518, allocations: 8 kB / 443 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.4521, allocations: 55.81 kB / 443.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.4522, allocations: 19.97 kB / 443.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.4522, allocations: 15.98 kB / 443.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.4525, allocations: 235.1 kB / 443.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4525, allocations: 0 / 443.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002705/0.4552, allocations: 0.8551 MB / 444.2 MB, free: 9.379 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: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003584/0.4588, allocations: 0.963 MB / 445.1 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009586/0.4598, allocations: 483.3 kB / 445.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4598, allocations: 0 / 445.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.4601, allocations: 248.6 kB / 445.8 MB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.4613, allocations: 184.5 kB / 446 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.463, allocations: 1.227 MB / 447.3 MB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.4634, allocations: 0.8211 MB / 448.1 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003943/0.4638, allocations: 190.9 kB / 448.3 MB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.4638, allocations: 31.44 kB / 448.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4639, allocations: 0 / 448.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of Templates: time 0.2127/0.6765, allocations: 34.42 MB / 482.7 MB, free: 96.47 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)