Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001589/0.001589, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.87/1.87, allocations: 194.3 MB / 207.5 MB, free: 3.395 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001612/0.001612, allocations: 113.2 kB / 252.6 MB, free: 4.785 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2574/0.2574, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.459e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1287, allocations: 54.86 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.18/7.308, allocations: 2.625 GB / 3.07 GB, free: 109.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/7.309, allocations: 99 kB / 3.07 GB, free: 109.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.376/9.685, allocations: 0.4884 GB / 3.558 GB, free: 48.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.004e-06/9.685, allocations: 1.938 kB / 3.558 GB, free: 48.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.834e-05/9.685, allocations: 20.59 kB / 3.558 GB, free: 48.45 MB / 490.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.007835/9.693, allocations: 1.7 MB / 3.56 GB, free: 47.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.078e-05/9.693, allocations: 12.88 kB / 3.56 GB, free: 47.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/9.694, allocations: 233.5 kB / 3.56 GB, free: 47.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/9.696, allocations: 0.5886 MB / 3.56 GB, free: 47.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/9.696, allocations: 110.1 kB / 3.561 GB, free: 47.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/9.696, allocations: 65.2 kB / 3.561 GB, free: 47.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/9.698, allocations: 1.071 MB / 3.562 GB, free: 47.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/9.698, allocations: 5.906 kB / 3.562 GB, free: 47.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.023e-05/9.698, allocations: 33.59 kB / 3.562 GB, free: 47.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.21e-05/9.698, allocations: 50.59 kB / 3.562 GB, free: 47.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/9.699, allocations: 0.8172 MB / 3.563 GB, free: 47.2 MB / 490.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.005208/9.705, allocations: 5.516 MB / 3.568 GB, free: 43.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/9.706, allocations: 0.544 MB / 3.569 GB, free: 43.28 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/9.706, allocations: 199.4 kB / 3.569 GB, free: 43.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1114/9.817, allocations: 53.55 MB / 3.621 GB, free: 26.28 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.551e-05/9.817, allocations: 43.81 kB / 3.621 GB, free: 26.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 4.197e-06/9.817, allocations: 4 kB / 3.621 GB, free: 26.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.006965/9.824, allocations: 1.991 MB / 3.623 GB, free: 25.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/9.825, allocations: 186.4 kB / 3.623 GB, free: 25.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009743/9.826, allocations: 0.5434 MB / 3.624 GB, free: 25.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/9.826, allocations: 39.02 kB / 3.624 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005217/9.826, allocations: 414.6 kB / 3.624 GB, free: 25.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/9.827, allocations: 167.2 kB / 3.624 GB, free: 24.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/9.827, allocations: 17.38 kB / 3.624 GB, free: 24.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003767/9.827, allocations: 379.5 kB / 3.625 GB, free: 24.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/9.828, allocations: 219.8 kB / 3.625 GB, free: 24.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006998/9.828, allocations: 0.6099 MB / 3.625 GB, free: 24.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/9.829, allocations: 339 kB / 3.626 GB, free: 24.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/9.829, allocations: 3.906 kB / 3.626 GB, free: 24.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001552/9.83, allocations: 0.8906 MB / 3.627 GB, free: 24.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/9.83, allocations: 14.83 kB / 3.627 GB, free: 24.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/9.831, allocations: 18.06 kB / 3.627 GB, free: 24.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003796/9.834, allocations: 269.4 kB / 3.627 GB, free: 24.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/9.836, allocations: 289.3 kB / 3.627 GB, free: 24.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/9.837, allocations: 2.022 MB / 3.629 GB, free: 22.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009147/9.838, allocations: 58.55 kB / 3.629 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.07e-05/9.838, allocations: 48.23 kB / 3.629 GB, free: 22.18 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002678/9.839, allocations: 175.3 kB / 3.629 GB, free: 22.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/9.839, allocations: 70.59 kB / 3.63 GB, free: 22.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/9.842, allocations: 2.004 MB / 3.631 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.933e-05/9.842, allocations: 24.55 kB / 3.632 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/9.842, allocations: 0 / 3.632 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/9.842, allocations: 5.25 kB / 3.632 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004141/9.846, allocations: 2.979 MB / 3.634 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/9.846, allocations: 3.938 kB / 3.634 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008721/9.847, allocations: 186.8 kB / 3.635 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/9.849, allocations: 289.7 kB / 3.635 GB, free: 21.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/9.849, allocations: 10.62 kB / 3.635 GB, free: 21.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/9.852, allocations: 2.083 MB / 3.637 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/9.852, allocations: 4.188 kB / 3.637 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/9.854, allocations: 1.937 MB / 3.639 GB, free: 35.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006649/9.855, allocations: 283.5 kB / 3.639 GB, free: 34.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/9.855, allocations: 10.88 kB / 3.639 GB, free: 34.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/9.856, allocations: 34.02 kB / 3.639 GB, free: 34.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/9.856, allocations: 32.22 kB / 3.639 GB, free: 34.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/9.856, allocations: 20.11 kB / 3.639 GB, free: 34.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009099/9.857, allocations: 0.5447 MB / 3.64 GB, free: 34.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/9.857, allocations: 3.844 kB / 3.64 GB, free: 34.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007225/9.864, allocations: 1.141 MB / 3.641 GB, free: 34.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01146/9.876, allocations: 1.562 MB / 3.642 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002502/9.878, allocations: 0.9005 MB / 3.643 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/9.878, allocations: 0 / 3.643 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/9.88, allocations: 0.627 MB / 3.644 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/9.882, allocations: 363.1 kB / 3.644 GB, free: 34.19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/9.885, allocations: 1.609 MB / 3.646 GB, free: 33.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/9.886, allocations: 1.122 MB / 3.647 GB, free: 33.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001178/9.888, allocations: 347 kB / 3.647 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/9.888, allocations: 65.14 kB / 3.647 GB, free: 33 MB / 0.5105 GB Notification: Performance of SimCode: time 1.292e-06/9.888, allocations: 0 / 3.647 GB, free: 33 MB / 0.5105 GB Notification: Performance of Templates: time 0.06917/9.957, allocations: 41.08 MB / 3.687 GB, free: 30.67 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)