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.00112/0.00112, allocations: 181.9 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.766/1.766, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001718/0.001718, allocations: 105.1 kB / 252.6 MB, free: 4.824 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.2698/0.2698, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.984e-05/3.987e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1513, allocations: 54.86 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.193/1.344, allocations: 347.8 MB / 0.7842 GB, free: 83.74 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/1.344, allocations: 86.02 kB / 0.7842 GB, free: 83.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6392/1.984, allocations: 129.4 MB / 0.9106 GB, free: 138 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.984, allocations: 2.969 kB / 0.9106 GB, free: 138 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.001e-05/1.984, allocations: 27.34 kB / 0.9106 GB, free: 138 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001852/1.986, allocations: 0.8799 MB / 0.9115 GB, free: 137.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.986, allocations: 11.75 kB / 0.9115 GB, free: 137.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003364/1.986, allocations: 101.7 kB / 0.9116 GB, free: 137.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000961/1.987, allocations: 0.5374 MB / 0.9121 GB, free: 137.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/1.987, allocations: 109.7 kB / 0.9122 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/1.987, allocations: 43.56 kB / 0.9122 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/1.988, allocations: 0.8104 MB / 0.913 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/1.988, allocations: 3.969 kB / 0.913 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.149e-05/1.988, allocations: 22.09 kB / 0.9131 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.788e-05/1.988, allocations: 49.77 kB / 0.9131 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009126/1.989, allocations: 0.5989 MB / 0.9137 GB, free: 136.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/1.993, allocations: 4.025 MB / 0.9176 GB, free: 133.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005518/1.994, allocations: 329.4 kB / 0.9179 GB, free: 133.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/1.994, allocations: 165.7 kB / 0.9181 GB, free: 133.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00204/1.996, allocations: 1.818 MB / 0.9199 GB, free: 131.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/1.996, allocations: 41.92 kB / 0.9199 GB, free: 131.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=23): time 1.773e-06/1.996, allocations: 0 / 0.9199 GB, free: 131.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.002826/1.999, allocations: 1.127 MB / 0.921 GB, free: 131 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/1.999, allocations: 135.6 kB / 0.9211 GB, free: 130.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007425/2, allocations: 0.5454 MB / 0.9217 GB, free: 130.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/2, allocations: 29.7 kB / 0.9217 GB, free: 130.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/2, allocations: 418.5 kB / 0.9221 GB, free: 130.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.964e-05/2, allocations: 125.8 kB / 0.9222 GB, free: 130.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/2, allocations: 14.95 kB / 0.9222 GB, free: 130.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/2.001, allocations: 382.7 kB / 0.9226 GB, free: 129.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/2.001, allocations: 165.3 kB / 0.9228 GB, free: 129.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/2.001, allocations: 0.5633 MB / 0.9233 GB, free: 129.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/2.002, allocations: 301.8 kB / 0.9236 GB, free: 129.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/2.002, allocations: 3.938 kB / 0.9236 GB, free: 129.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001088/2.003, allocations: 0.7548 MB / 0.9243 GB, free: 128.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/2.003, allocations: 11.03 kB / 0.9243 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/2.003, allocations: 14.78 kB / 0.9244 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.091e-05/2.003, allocations: 20.38 kB / 0.9244 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000865/2.004, allocations: 216.2 kB / 0.9246 GB, free: 128.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-05/2.004, allocations: 26.5 kB / 0.9246 GB, free: 128.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006126/2.005, allocations: 48.03 kB / 0.9247 GB, free: 128.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/2.005, allocations: 45.47 kB / 0.9247 GB, free: 128.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (95): * Single equations (assignments): 95 * 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.0001788/2.005, allocations: 171.4 kB / 0.9249 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.576e-05/2.005, allocations: 64.83 kB / 0.9249 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000795/2.006, allocations: 428.8 kB / 0.9253 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/2.006, allocations: 3.906 kB / 0.9253 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/2.006, allocations: 0 / 0.9253 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/2.006, allocations: 7.094 kB / 0.9253 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/2.007, allocations: 1.199 MB / 0.9265 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/2.007, allocations: 2.625 kB / 0.9265 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/2.008, allocations: 79.69 kB / 0.9266 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/2.008, allocations: 39.66 kB / 0.9266 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/2.008, allocations: 13.48 kB / 0.9266 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003844/2.008, allocations: 0.568 MB / 0.9272 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/2.008, allocations: 0 / 0.9272 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009778/2.009, allocations: 0.828 MB / 0.928 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/2.01, allocations: 188.1 kB / 0.9282 GB, free: 126.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/2.01, allocations: 10.38 kB / 0.9282 GB, free: 126.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/2.01, allocations: 30.14 kB / 0.9282 GB, free: 126.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/2.01, allocations: 31.8 kB / 0.9283 GB, free: 126.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/2.01, allocations: 20.52 kB / 0.9283 GB, free: 126.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005744/2.011, allocations: 422 kB / 0.9287 GB, free: 125.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/2.011, allocations: 0 / 0.9287 GB, free: 125.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001144/2.012, allocations: 217.1 kB / 0.9289 GB, free: 125.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (35): * Single equations (assignments): 34 * 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.0008332/2.013, allocations: 331.7 kB / 0.9292 GB, free: 125.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009669/2.014, allocations: 448.9 kB / 0.9296 GB, free: 125.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.014, allocations: 3.281 kB / 0.9296 GB, free: 125.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/2.014, allocations: 165.9 kB / 0.9298 GB, free: 125.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/2.016, allocations: 271.8 kB / 0.9301 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/2.017, allocations: 0.9016 MB / 0.9309 GB, free: 124.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/2.018, allocations: 0.9495 MB / 0.9319 GB, free: 124.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006608/2.018, allocations: 201.4 kB / 0.9321 GB, free: 124.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/2.018, allocations: 56.42 kB / 0.9321 GB, free: 124.1 MB / 490.7 MB Notification: Performance of SimCode: time 9.41e-07/2.018, allocations: 0 / 0.9321 GB, free: 124.1 MB / 490.7 MB Notification: Performance of Templates: time 0.02038/2.039, allocations: 11.92 MB / 0.9437 GB, free: 122.4 MB / 490.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)