Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00116/0.00116, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.287/1.287, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001784/0.001785, allocations: 114.8 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1742/0.1742, allocations: 38.01 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.679e-05/2.693e-05, allocations: 0 / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09807, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.685/5.783, allocations: 2.516 GB / 2.912 GB, free: 143.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/5.783, allocations: 94.97 kB / 2.912 GB, free: 143.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.52/7.303, allocations: 490 MB / 3.391 GB, free: 23.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.472e-06/7.304, allocations: 0 / 3.391 GB, free: 23.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.654e-05/7.304, allocations: 26.81 kB / 3.391 GB, free: 23.59 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.006156/7.31, allocations: 1.664 MB / 3.392 GB, free: 21.9 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/7.31, allocations: 12.02 kB / 3.392 GB, free: 21.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/7.312, allocations: 315.3 kB / 3.393 GB, free: 21.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/7.314, allocations: 0.6125 MB / 3.393 GB, free: 20.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.716e-05/7.314, allocations: 112.5 kB / 3.393 GB, free: 20.83 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.829e-05/7.314, allocations: 56 kB / 3.394 GB, free: 20.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/7.316, allocations: 1.194 MB / 3.395 GB, free: 19.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/7.316, allocations: 7.938 kB / 3.395 GB, free: 19.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.859e-05/7.316, allocations: 24 kB / 3.395 GB, free: 19.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/7.316, allocations: 45.28 kB / 3.395 GB, free: 19.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/7.318, allocations: 0.8511 MB / 3.396 GB, free: 18.57 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005264/7.323, allocations: 5.476 MB / 3.401 GB, free: 12.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/7.324, allocations: 0.5946 MB / 3.402 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/7.324, allocations: 217.6 kB / 3.402 GB, free: 11.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3982/7.722, allocations: 49.07 MB / 3.45 GB, free: 49.99 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/7.723, allocations: 46.09 kB / 3.45 GB, free: 49.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 3.266e-06/7.723, allocations: 0 / 3.45 GB, free: 49.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.004847/7.727, allocations: 1.832 MB / 3.451 GB, free: 49.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/7.728, allocations: 161.5 kB / 3.452 GB, free: 49.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006314/7.728, allocations: 0.5308 MB / 3.452 GB, free: 49.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/7.728, allocations: 35.52 kB / 3.452 GB, free: 49.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/7.728, allocations: 405.6 kB / 3.453 GB, free: 49.01 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/7.729, allocations: 168.7 kB / 3.453 GB, free: 48.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/7.729, allocations: 13.19 kB / 3.453 GB, free: 48.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/7.729, allocations: 383.1 kB / 3.453 GB, free: 48.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/7.729, allocations: 213.8 kB / 3.453 GB, free: 48.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/7.73, allocations: 0.5847 MB / 3.454 GB, free: 48.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/7.73, allocations: 344.4 kB / 3.454 GB, free: 48.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/7.73, allocations: 3.625 kB / 3.454 GB, free: 48.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001252/7.731, allocations: 0.8724 MB / 3.455 GB, free: 48.08 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/7.731, allocations: 13.39 kB / 3.455 GB, free: 48.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/7.731, allocations: 13.03 kB / 3.455 GB, free: 48.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002687/7.732, allocations: 63.73 kB / 3.455 GB, free: 48.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/7.733, allocations: 298.8 kB / 3.455 GB, free: 48.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/7.734, allocations: 1.972 MB / 3.457 GB, free: 46.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/7.735, allocations: 66.06 kB / 3.457 GB, free: 46.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/7.735, allocations: 42.75 kB / 3.457 GB, free: 46.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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: 1 * 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: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001737/7.735, allocations: 172.1 kB / 3.458 GB, free: 46.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/7.735, allocations: 68.25 kB / 3.458 GB, free: 46.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/7.737, allocations: 2.21 MB / 3.46 GB, free: 45.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/7.737, allocations: 29.39 kB / 3.46 GB, free: 45.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/7.737, allocations: 4.938 kB / 3.46 GB, free: 45.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/7.737, allocations: 0 / 3.46 GB, free: 45.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003202/7.74, allocations: 3.273 MB / 3.463 GB, free: 45.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/7.74, allocations: 2.125 kB / 3.463 GB, free: 45.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008662/7.741, allocations: 186.5 kB / 3.463 GB, free: 45.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003126/7.742, allocations: 88.31 kB / 3.463 GB, free: 45.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/7.742, allocations: 15.03 kB / 3.463 GB, free: 45.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/7.743, allocations: 1.996 MB / 3.465 GB, free: 43.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/7.743, allocations: 1.125 kB / 3.465 GB, free: 43.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/7.744, allocations: 1.971 MB / 3.467 GB, free: 43.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/7.745, allocations: 285.9 kB / 3.468 GB, free: 43.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.187e-05/7.745, allocations: 10.69 kB / 3.468 GB, free: 43.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/7.745, allocations: 58.16 kB / 3.468 GB, free: 43.03 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/7.746, allocations: 31.28 kB / 3.468 GB, free: 43.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/7.746, allocations: 26.5 kB / 3.468 GB, free: 43.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000599/7.746, allocations: 496.4 kB / 3.468 GB, free: 42.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/7.746, allocations: 3 kB / 3.468 GB, free: 42.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006913/7.753, allocations: 1.121 MB / 3.469 GB, free: 42.93 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007723/7.761, allocations: 1.547 MB / 3.471 GB, free: 42.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002033/7.763, allocations: 0.9301 MB / 3.472 GB, free: 42.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/7.763, allocations: 0 / 3.472 GB, free: 42.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/7.764, allocations: 0.6623 MB / 3.472 GB, free: 42.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/7.766, allocations: 354.8 kB / 3.473 GB, free: 42.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/7.769, allocations: 1.706 MB / 3.474 GB, free: 42.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/7.769, allocations: 1.133 MB / 3.475 GB, free: 41.69 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009171/7.77, allocations: 455.1 kB / 3.476 GB, free: 41.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/7.77, allocations: 65.53 kB / 3.476 GB, free: 41.67 MB / 458.7 MB Notification: Performance of SimCode: time 8.92e-07/7.77, allocations: 0 / 3.476 GB, free: 41.67 MB / 458.7 MB Notification: Performance of Templates: time 0.05627/7.827, allocations: 41.2 MB / 3.516 GB, free: 39.74 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)