Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001135/0.001135, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001378/0.001378, allocations: 183.1 kB / 17.21 MB, free: 6.32 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.616/1.616, allocations: 205.4 MB / 223.4 MB, free: 5.57 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.0004933/0.0004934, allocations: 8 kB / 280.2 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2696, allocations: 47.59 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02899/0.2987, allocations: 30.11 MB / 357.9 MB, free: 5.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01746/0.3162, allocations: 14.63 MB / 372.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004475/0.3166, allocations: 7.938 kB / 372.5 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008164/0.3175, allocations: 214.8 kB / 372.7 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009225/0.3184, allocations: 330.2 kB / 373 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01845/0.3369, allocations: 4.457 MB / 377.5 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00202/0.3389, allocations: 1.219 MB / 378.7 MB, free: 436 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.3391, allocations: 81.02 kB / 378.8 MB, free: 352 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006071/0.3452, allocations: 3.313 MB / 382.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004002/0.3456, allocations: 298.8 kB / 382.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.3457, allocations: 20 kB / 382.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.3561, allocations: 5.806 MB / 388.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.3562, allocations: 87.7 kB / 388.3 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.3564, allocations: 105.5 kB / 388.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003662/0.3601, allocations: 2.584 MB / 391 MB, free: 4.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3601, allocations: 0 / 391 MB, free: 4.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3601, allocations: 0 / 391 MB, free: 4.117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.3601, allocations: 0 / 391 MB, free: 4.117 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.001701/0.3618, allocations: 0.9162 MB / 391.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3619, allocations: 8.031 kB / 391.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.3631, allocations: 163.4 kB / 392.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.3634, allocations: 314.5 kB / 392.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.3635, allocations: 24.61 kB / 392.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.3635, allocations: 32 kB / 392.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.3648, allocations: 0.519 MB / 393 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3648, allocations: 4 kB / 393 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.3648, allocations: 16 kB / 393 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.3649, allocations: 8 kB / 393 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000603/0.3655, allocations: 325.8 kB / 393.3 MB, free: 1.676 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.002925/0.3684, allocations: 2.573 MB / 395.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.369, allocations: 270.8 kB / 396.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.3692, allocations: 112.8 kB / 396.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05844/0.4276, allocations: 31.2 MB / 427.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.181e-05/0.4277, allocations: 38.56 kB / 427.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.064e-06/0.4277, allocations: 0 / 427.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.00341/0.4311, allocations: 1.227 MB / 428.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.4312, allocations: 55.41 kB / 428.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.4315, allocations: 258.5 kB / 429 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.4315, allocations: 33.7 kB / 429 MB, free: 10 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.4316, allocations: 184.1 kB / 429.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/0.4317, allocations: 114.4 kB / 429.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.4317, allocations: 8 kB / 429.3 MB, free: 9.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4319, allocations: 346.7 kB / 429.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.432, allocations: 88.84 kB / 429.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.4323, allocations: 214.9 kB / 430 MB, free: 9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.4325, allocations: 123.9 kB / 430.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.4325, allocations: 4 kB / 430.1 MB, free: 8.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007511/0.4333, allocations: 414.6 kB / 430.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4333, allocations: 11.95 kB / 430.5 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4333, allocations: 7.938 kB / 430.5 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002728/0.4336, allocations: 66.14 kB / 430.6 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.434, allocations: 83.91 kB / 430.7 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.4356, allocations: 2.418 MB / 433.1 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.4358, allocations: 36.11 kB / 433.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.4359, allocations: 19.98 kB / 433.1 MB, free: 5.629 MB / 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.4361, allocations: 165.6 kB / 433.3 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.4362, allocations: 27.72 kB / 433.3 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.4372, allocations: 0.8746 MB / 434.2 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.4373, allocations: 8 kB / 434.2 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4373, allocations: 3.953 kB / 434.2 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/0.4383, allocations: 1.049 MB / 435.3 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.44, allocations: 1.477 MB / 436.7 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.44, allocations: 0 / 436.7 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.4402, allocations: 55.91 kB / 436.8 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003337/0.4406, allocations: 80.73 kB / 436.9 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.4406, allocations: 8 kB / 436.9 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003352/0.4409, allocations: 0.5914 MB / 437.5 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.441, allocations: 8.094 kB / 437.5 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009145/0.4419, allocations: 0.8236 MB / 438.3 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.442, allocations: 136.4 kB / 438.4 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.4421, allocations: 8 kB / 438.5 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.4424, allocations: 40.03 kB / 438.5 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.4424, allocations: 15.97 kB / 438.5 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.4425, allocations: 20.03 kB / 438.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.4427, allocations: 231 kB / 438.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4427, allocations: 0 / 438.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002628/0.4454, allocations: 0.8551 MB / 439.6 MB, free: 14.92 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 (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.003964/0.4493, allocations: 0.9669 MB / 440.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009472/0.4503, allocations: 483.8 kB / 441 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4503, allocations: 0 / 441 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.4507, allocations: 256.2 kB / 441.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.4517, allocations: 181 kB / 441.5 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.4535, allocations: 1.203 MB / 442.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.4539, allocations: 0.825 MB / 443.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004616/0.4544, allocations: 179 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.4545, allocations: 31.44 kB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4545, allocations: 0 / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of Templates: time 0.2076/0.6621, allocations: 34.81 MB / 478.5 MB, free: 102.4 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)