Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00121/0.00121, allocations: 182.2 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.827/1.827, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001523/0.001523, allocations: 116.7 kB / 252.6 MB, free: 4.812 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.2522/0.2522, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.034e-05/5.039e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1377, allocations: 54.85 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.35/7.488, allocations: 2.627 GB / 3.071 GB, free: 41.29 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/7.488, allocations: 93.33 kB / 3.071 GB, free: 41.24 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.085/9.574, allocations: 0.4907 GB / 3.562 GB, free: 46.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.753e-06/9.574, allocations: 0 / 3.562 GB, free: 46.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.579e-05/9.574, allocations: 25.53 kB / 3.562 GB, free: 46.86 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.01028/9.584, allocations: 1.706 MB / 3.564 GB, free: 46.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.75e-05/9.584, allocations: 14.81 kB / 3.564 GB, free: 46.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/9.587, allocations: 322.6 kB / 3.564 GB, free: 46.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/9.588, allocations: 0.6081 MB / 3.565 GB, free: 45.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/9.588, allocations: 112 kB / 3.565 GB, free: 45.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/9.588, allocations: 64.44 kB / 3.565 GB, free: 45.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/9.591, allocations: 1.187 MB / 3.566 GB, free: 45.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/9.591, allocations: 5.25 kB / 3.566 GB, free: 45.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.352e-05/9.591, allocations: 32.64 kB / 3.566 GB, free: 45.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.967e-05/9.591, allocations: 39.5 kB / 3.566 GB, free: 45.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/9.593, allocations: 0.846 MB / 3.567 GB, free: 45.41 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.005477/9.598, allocations: 5.495 MB / 3.572 GB, free: 41.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/9.599, allocations: 0.5933 MB / 3.573 GB, free: 41.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/9.6, allocations: 212.4 kB / 3.573 GB, free: 41.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09336/9.693, allocations: 49.19 MB / 3.621 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.482e-05/9.693, allocations: 40.47 kB / 3.621 GB, free: 27.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 3.176e-06/9.693, allocations: 0 / 3.621 GB, free: 27.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.005377/9.698, allocations: 1.838 MB / 3.623 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/9.699, allocations: 161.9 kB / 3.623 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007689/9.699, allocations: 0.5351 MB / 3.623 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/9.699, allocations: 34.64 kB / 3.623 GB, free: 26.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/9.7, allocations: 399.9 kB / 3.624 GB, free: 26.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/9.7, allocations: 169.2 kB / 3.624 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/9.7, allocations: 16.31 kB / 3.624 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001869/9.7, allocations: 379.3 kB / 3.624 GB, free: 26.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/9.7, allocations: 222 kB / 3.625 GB, free: 26.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005051/9.701, allocations: 0.5835 MB / 3.625 GB, free: 25.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/9.701, allocations: 332.8 kB / 3.626 GB, free: 25.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.85e-06/9.701, allocations: 3.812 kB / 3.626 GB, free: 25.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001209/9.703, allocations: 0.8733 MB / 3.626 GB, free: 25.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/9.703, allocations: 10.16 kB / 3.626 GB, free: 25.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/9.703, allocations: 14.56 kB / 3.626 GB, free: 25.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/9.703, allocations: 70.11 kB / 3.626 GB, free: 25.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/9.704, allocations: 286.9 kB / 3.627 GB, free: 25.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/9.706, allocations: 1.972 MB / 3.629 GB, free: 23.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/9.707, allocations: 64.47 kB / 3.629 GB, free: 23.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.058e-05/9.707, allocations: 43.47 kB / 3.629 GB, free: 23.71 MB / 0.4948 GB 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.0002489/9.707, allocations: 176.6 kB / 3.629 GB, free: 23.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/9.707, allocations: 74.98 kB / 3.629 GB, free: 23.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/9.709, allocations: 2.215 MB / 3.631 GB, free: 23.26 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/9.709, allocations: 26.16 kB / 3.631 GB, free: 23.26 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/9.709, allocations: 3.844 kB / 3.631 GB, free: 23.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/9.709, allocations: 3.281 kB / 3.631 GB, free: 23.26 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/9.713, allocations: 3.263 MB / 3.634 GB, free: 22.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/9.713, allocations: 4.031 kB / 3.634 GB, free: 22.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000918/9.714, allocations: 190.7 kB / 3.635 GB, free: 22.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000335/9.714, allocations: 83.52 kB / 3.635 GB, free: 22.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/9.714, allocations: 17.47 kB / 3.635 GB, free: 22.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/9.716, allocations: 1.996 MB / 3.637 GB, free: 20.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/9.716, allocations: 0 / 3.637 GB, free: 20.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/9.718, allocations: 1.966 MB / 3.639 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006218/9.719, allocations: 289 kB / 3.639 GB, free: 19.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.051e-05/9.719, allocations: 15.83 kB / 3.639 GB, free: 19.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/9.72, allocations: 64.98 kB / 3.639 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/9.72, allocations: 34.59 kB / 3.639 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/9.72, allocations: 26.97 kB / 3.639 GB, free: 19.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007366/9.721, allocations: 494.1 kB / 3.639 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.172e-06/9.721, allocations: 0 / 3.639 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006828/9.727, allocations: 1.13 MB / 3.641 GB, free: 19.43 MB / 0.4948 GB 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.008618/9.736, allocations: 1.55 MB / 3.642 GB, free: 19.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002246/9.738, allocations: 0.9378 MB / 3.643 GB, free: 18.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/9.738, allocations: 64 / 3.643 GB, free: 18.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/9.739, allocations: 0.6551 MB / 3.644 GB, free: 18.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/9.742, allocations: 350.5 kB / 3.644 GB, free: 18.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/9.744, allocations: 1.708 MB / 3.646 GB, free: 17.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007293/9.745, allocations: 1.141 MB / 3.647 GB, free: 16.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009084/9.746, allocations: 447.3 kB / 3.647 GB, free: 16.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/9.746, allocations: 67.89 kB / 3.647 GB, free: 16.84 MB / 0.4948 GB Notification: Performance of SimCode: time 1.203e-06/9.746, allocations: 0 / 3.647 GB, free: 16.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.4884/10.23, allocations: 41.35 MB / 3.688 GB, free: 66.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)