Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001636/0.001636, allocations: 180.3 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.563/1.563, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.00179/0.00179, allocations: 110.9 kB / 247.4 MB, free: 6.227 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.2149/0.2149, allocations: 39.94 MB / 332.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.715e-05, allocations: 4 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1181, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9802/1.098, allocations: 347.1 MB / 0.7767 GB, free: 64.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003965/1.099, allocations: 93.44 kB / 0.7768 GB, free: 64.11 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5807/1.68, allocations: 128.3 MB / 0.9021 GB, free: 126.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.322e-06/1.68, allocations: 0 / 0.9021 GB, free: 126.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.231e-05/1.68, allocations: 21.62 kB / 0.9021 GB, free: 126.3 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002284/1.682, allocations: 0.8849 MB / 0.903 GB, free: 125.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.682, allocations: 18.83 kB / 0.903 GB, free: 125.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005889/1.683, allocations: 97.22 kB / 0.9031 GB, free: 125.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/1.684, allocations: 0.5517 MB / 0.9036 GB, free: 125.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/1.684, allocations: 83.92 kB / 0.9037 GB, free: 125.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/1.684, allocations: 28.06 kB / 0.9037 GB, free: 125.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008859/1.685, allocations: 0.523 MB / 0.9042 GB, free: 124.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/1.686, allocations: 0.7333 MB / 0.905 GB, free: 124.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/1.686, allocations: 11.09 kB / 0.905 GB, free: 124.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.684e-05/1.686, allocations: 3.969 kB / 0.905 GB, free: 124.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.105e-05/1.686, allocations: 34.81 kB / 0.905 GB, free: 124.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004282/1.691, allocations: 4.176 MB / 0.9091 GB, free: 120.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/1.691, allocations: 257.6 kB / 0.9093 GB, free: 120.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/1.691, allocations: 135.1 kB / 0.9095 GB, free: 120.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/1.693, allocations: 1.482 MB / 0.9109 GB, free: 118.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/1.693, allocations: 38.56 kB / 0.9109 GB, free: 118.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/1.693, allocations: 0 / 0.9109 GB, free: 118.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=20): time 0.001736/1.695, allocations: 0.7458 MB / 0.9117 GB, free: 117.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/1.695, allocations: 132.5 kB / 0.9118 GB, free: 117.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005428/1.695, allocations: 0.5226 MB / 0.9123 GB, free: 117.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/1.695, allocations: 25.7 kB / 0.9123 GB, free: 117.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/1.696, allocations: 453.2 kB / 0.9128 GB, free: 116.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/1.696, allocations: 82.94 kB / 0.9128 GB, free: 116.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/1.696, allocations: 0 / 0.9128 GB, free: 116.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.991e-05/1.696, allocations: 370.8 kB / 0.9132 GB, free: 116.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/1.696, allocations: 145.5 kB / 0.9133 GB, free: 116.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/1.696, allocations: 0.5298 MB / 0.9138 GB, free: 115.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/1.697, allocations: 251.7 kB / 0.9141 GB, free: 115.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/1.697, allocations: 4 kB / 0.9141 GB, free: 115.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009709/1.698, allocations: 0.6419 MB / 0.9147 GB, free: 114.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.698, allocations: 12 kB / 0.9147 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/1.698, allocations: 15.98 kB / 0.9147 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/1.698, allocations: 20 kB / 0.9148 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/1.699, allocations: 203.6 kB / 0.915 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.879e-05/1.699, allocations: 27.92 kB / 0.915 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/1.699, allocations: 32.17 kB / 0.915 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/1.699, allocations: 47.98 kB / 0.9151 GB, free: 114.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/1.699, allocations: 136.6 kB / 0.9152 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/1.699, allocations: 67.2 kB / 0.9153 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/1.7, allocations: 260.6 kB / 0.9155 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.7, allocations: 0 / 0.9155 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.7, allocations: 3.938 kB / 0.9155 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.7, allocations: 0 / 0.9155 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/1.701, allocations: 0.7768 MB / 0.9163 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.701, allocations: 0 / 0.9163 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/1.701, allocations: 47.91 kB / 0.9163 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.991e-05/1.701, allocations: 24.84 kB / 0.9163 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/1.701, allocations: 4 kB / 0.9163 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000296/1.701, allocations: 0.5524 MB / 0.9169 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.701, allocations: 0 / 0.9169 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/1.702, allocations: 489.6 kB / 0.9173 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/1.702, allocations: 180.3 kB / 0.9175 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/1.702, allocations: 0 / 0.9175 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/1.703, allocations: 15.89 kB / 0.9175 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/1.703, allocations: 15.98 kB / 0.9176 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/1.703, allocations: 11.98 kB / 0.9176 GB, free: 111.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003437/1.703, allocations: 387.2 kB / 0.9179 GB, free: 111.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.703, allocations: 4 kB / 0.9179 GB, free: 111.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007605/1.704, allocations: 191.9 kB / 0.9181 GB, free: 110.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000597/1.704, allocations: 320.2 kB / 0.9184 GB, free: 110.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004615/1.705, allocations: 361.2 kB / 0.9188 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.705, allocations: 0 / 0.9188 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/1.705, allocations: 87.84 kB / 0.9189 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/1.706, allocations: 231 kB / 0.9191 GB, free: 109.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/1.707, allocations: 0.7361 MB / 0.9198 GB, free: 109.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/1.708, allocations: 0.9409 MB / 0.9207 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005802/1.708, allocations: 189.4 kB / 0.9209 GB, free: 108 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.392e-05/1.708, allocations: 51.42 kB / 0.9209 GB, free: 107.9 MB / 474.7 MB Notification: Performance of SimCode: time 5.31e-07/1.708, allocations: 0 / 0.9209 GB, free: 107.9 MB / 474.7 MB Notification: Performance of Templates: time 0.01476/1.723, allocations: 9.562 MB / 0.9303 GB, free: 98.46 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)