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.00708/0.00708, allocations: 176 kB / 15.12 MB, free: 5.98 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.834/1.834, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001711/0.001711, allocations: 132.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2448/0.2448, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.000476, allocations: 9.969 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1677, allocations: 54.87 MB / 461 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.273, allocations: 347.9 MB / 0.79 GB, free: 130.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/1.273, allocations: 100.6 kB / 0.7901 GB, free: 130.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6096/1.883, allocations: 129.9 MB / 0.9169 GB, free: 117.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.883, allocations: 0 / 0.9169 GB, free: 117.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.07e-05/1.883, allocations: 20.08 kB / 0.9169 GB, free: 117.7 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.002056/1.885, allocations: 0.9556 MB / 0.9179 GB, free: 117.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/1.885, allocations: 9.094 kB / 0.9179 GB, free: 117.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003646/1.885, allocations: 97.31 kB / 0.918 GB, free: 117.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/1.886, allocations: 0.5489 MB / 0.9185 GB, free: 117 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/1.887, allocations: 102.6 kB / 0.9186 GB, free: 117 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-05/1.887, allocations: 49.09 kB / 0.9186 GB, free: 117 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/1.888, allocations: 0.8152 MB / 0.9194 GB, free: 116.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/1.888, allocations: 1.688 kB / 0.9194 GB, free: 116.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.26e-05/1.888, allocations: 27.47 kB / 0.9195 GB, free: 116.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.186e-05/1.888, allocations: 41.38 kB / 0.9195 GB, free: 116.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/1.889, allocations: 0.6208 MB / 0.9201 GB, free: 116.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004763/1.894, allocations: 4.013 MB / 0.924 GB, free: 114.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007635/1.895, allocations: 330.6 kB / 0.9243 GB, free: 114.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002468/1.897, allocations: 1.774 MB / 0.9261 GB, free: 112.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/1.898, allocations: 39.3 kB / 0.9261 GB, free: 112.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=23): time 2.244e-06/1.898, allocations: 0 / 0.9261 GB, free: 112.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.003283/1.901, allocations: 1.206 MB / 0.9273 GB, free: 112.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/1.901, allocations: 132.1 kB / 0.9274 GB, free: 112.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008962/1.902, allocations: 0.5467 MB / 0.9279 GB, free: 112 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/1.902, allocations: 36.83 kB / 0.928 GB, free: 112 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/1.902, allocations: 420.4 kB / 0.9284 GB, free: 111.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/1.902, allocations: 117.8 kB / 0.9285 GB, free: 111.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/1.902, allocations: 18.5 kB / 0.9285 GB, free: 111.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/1.903, allocations: 380.4 kB / 0.9289 GB, free: 111.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/1.903, allocations: 174.5 kB / 0.929 GB, free: 111.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006927/1.904, allocations: 0.5739 MB / 0.9296 GB, free: 110.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005286/1.904, allocations: 296.7 kB / 0.9299 GB, free: 110.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/1.904, allocations: 2.75 kB / 0.9299 GB, free: 110.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001575/1.906, allocations: 0.7762 MB / 0.9306 GB, free: 110.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/1.906, allocations: 13.03 kB / 0.9307 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/1.906, allocations: 10.84 kB / 0.9307 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.358e-05/1.906, allocations: 21.42 kB / 0.9307 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/1.907, allocations: 211.4 kB / 0.9309 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.373e-05/1.907, allocations: 27.25 kB / 0.9309 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009346/1.908, allocations: 47.03 kB / 0.931 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/1.908, allocations: 43.72 kB / 0.931 GB, free: 110.8 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 () * Number of clocked 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.0006332/1.909, allocations: 268.5 kB / 0.9313 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/1.909, allocations: 68.5 kB / 0.9313 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/1.91, allocations: 428.2 kB / 0.9317 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.91, allocations: 5.125 kB / 0.9317 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.91, allocations: 0.5 kB / 0.9317 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/1.91, allocations: 1.781 kB / 0.9317 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/1.912, allocations: 1.21 MB / 0.9329 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.913, allocations: 4.625 kB / 0.9329 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/1.913, allocations: 70.36 kB / 0.933 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000301/1.913, allocations: 48.77 kB / 0.933 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/1.913, allocations: 11.31 kB / 0.9331 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004016/1.914, allocations: 0.5652 MB / 0.9336 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.914, allocations: 7.719 kB / 0.9336 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/1.915, allocations: 0.8218 MB / 0.9344 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/1.915, allocations: 186.5 kB / 0.9346 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.105e-05/1.915, allocations: 10.53 kB / 0.9346 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/1.916, allocations: 34.31 kB / 0.9346 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/1.916, allocations: 30.98 kB / 0.9347 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-05/1.916, allocations: 21.38 kB / 0.9347 GB, free: 108.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007158/1.917, allocations: 429.6 kB / 0.9351 GB, free: 108.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.917, allocations: 3.531 kB / 0.9351 GB, free: 108.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001324/1.918, allocations: 214.1 kB / 0.9353 GB, free: 108.8 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 () * Number of clocked 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.0008427/1.919, allocations: 334 kB / 0.9356 GB, free: 108.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/1.92, allocations: 459.8 kB / 0.9361 GB, free: 108.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.92, allocations: 1.031 kB / 0.9361 GB, free: 108.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004915/1.92, allocations: 170.1 kB / 0.9362 GB, free: 108.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/1.922, allocations: 285.1 kB / 0.9365 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/1.924, allocations: 1.502 MB / 0.938 GB, free: 107.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007106/1.925, allocations: 0.9545 MB / 0.9389 GB, free: 107.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008824/1.926, allocations: 201.1 kB / 0.9391 GB, free: 107.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/1.926, allocations: 55.83 kB / 0.9391 GB, free: 107.2 MB / 490.7 MB Notification: Performance of SimCode: time 8.32e-07/1.926, allocations: 7.781 kB / 0.9391 GB, free: 107.2 MB / 490.7 MB Notification: Performance of Templates: time 0.02083/1.947, allocations: 11.63 MB / 0.9505 GB, free: 106.8 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)