Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00131/0.00131, allocations: 170.3 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.249/1.249, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001593/0.001593, allocations: 99.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.754e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07583/0.07587, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.622/0.6979, allocations: 255.6 MB / 0.55 GB, free: 61.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.6982, allocations: 82.62 kB / 0.5501 GB, free: 61.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3061/1.004, allocations: 84 MB / 0.6321 GB, free: 111.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.004, allocations: 3.312 kB / 0.6321 GB, free: 111.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/1.004, allocations: 3.938 kB / 0.6322 GB, free: 111.7 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005224/1.005, allocations: 0.5217 MB / 0.6327 GB, free: 111.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/1.005, allocations: 7.719 kB / 0.6327 GB, free: 111.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/1.005, allocations: 42.8 kB / 0.6327 GB, free: 111.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/1.005, allocations: 291.3 kB / 0.633 GB, free: 111.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/1.006, allocations: 26.47 kB / 0.633 GB, free: 111.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/1.006, allocations: 22.47 kB / 0.633 GB, free: 111.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/1.006, allocations: 312.7 kB / 0.6333 GB, free: 111 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.006, allocations: 0 / 0.6333 GB, free: 111 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/1.006, allocations: 15.47 kB / 0.6333 GB, free: 111 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/1.006, allocations: 3.812 kB / 0.6333 GB, free: 111 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/1.006, allocations: 176.4 kB / 0.6335 GB, free: 110.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/1.008, allocations: 1.722 MB / 0.6352 GB, free: 109.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/1.008, allocations: 133.9 kB / 0.6353 GB, free: 109.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/1.008, allocations: 69.09 kB / 0.6354 GB, free: 109.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/1.008, allocations: 167.4 kB / 0.6356 GB, free: 109.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/1.008, allocations: 37.84 kB / 0.6356 GB, free: 109.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/1.008, allocations: 0 / 0.6356 GB, free: 109.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.00133/1.009, allocations: 0.6741 MB / 0.6362 GB, free: 109.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/1.009, allocations: 52.16 kB / 0.6363 GB, free: 109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/1.01, allocations: 245.9 kB / 0.6365 GB, free: 108.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/1.01, allocations: 29.27 kB / 0.6366 GB, free: 108.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/1.01, allocations: 198.6 kB / 0.6367 GB, free: 108.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/1.01, allocations: 80.19 kB / 0.6368 GB, free: 108.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/1.01, allocations: 3.875 kB / 0.6368 GB, free: 108.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.381e-05/1.01, allocations: 346.2 kB / 0.6372 GB, free: 108.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.631e-05/1.01, allocations: 66.58 kB / 0.6372 GB, free: 108.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/1.01, allocations: 189.3 kB / 0.6374 GB, free: 108.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/1.01, allocations: 111.4 kB / 0.6375 GB, free: 108.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.01, allocations: 0 / 0.6375 GB, free: 108.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000417/1.011, allocations: 326.7 kB / 0.6378 GB, free: 108.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.011, allocations: 10.69 kB / 0.6378 GB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.011, allocations: 3.094 kB / 0.6378 GB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-05/1.011, allocations: 26.84 kB / 0.6379 GB, free: 108.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/1.011, allocations: 87.78 kB / 0.6379 GB, free: 108.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000642/1.012, allocations: 1.286 MB / 0.6392 GB, free: 106.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/1.012, allocations: 17.78 kB / 0.6392 GB, free: 106.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/1.012, allocations: 19.62 kB / 0.6392 GB, free: 106.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/1.012, allocations: 127.4 kB / 0.6394 GB, free: 106.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/1.012, allocations: 34.69 kB / 0.6394 GB, free: 106.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/1.012, allocations: 193.9 kB / 0.6396 GB, free: 106.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/1.012, allocations: 7.891 kB / 0.6396 GB, free: 106.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/1.012, allocations: 2.344 kB / 0.6396 GB, free: 106.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000235/1.013, allocations: 487.4 kB / 0.64 GB, free: 106.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007752/1.013, allocations: 0.7659 MB / 0.6408 GB, free: 105.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.013, allocations: 3.812 kB / 0.6408 GB, free: 105.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/1.014, allocations: 40.98 kB / 0.6408 GB, free: 105.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/1.014, allocations: 9.781 kB / 0.6408 GB, free: 105.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/1.014, allocations: 5.781 kB / 0.6409 GB, free: 105.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.014, allocations: 9.797 kB / 0.6409 GB, free: 105.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.014, allocations: 0 / 0.6409 GB, free: 105.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/1.014, allocations: 0.4921 MB / 0.6413 GB, free: 105.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/1.014, allocations: 107.3 kB / 0.6414 GB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/1.014, allocations: 10.27 kB / 0.6415 GB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/1.014, allocations: 19.5 kB / 0.6415 GB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/1.014, allocations: 13.59 kB / 0.6415 GB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/1.014, allocations: 21.02 kB / 0.6415 GB, free: 105.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001416/1.015, allocations: 203.3 kB / 0.6417 GB, free: 105.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.015, allocations: 0 / 0.6417 GB, free: 105.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004106/1.015, allocations: 107.7 kB / 0.6418 GB, free: 105.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002702/1.015, allocations: 239.2 kB / 0.642 GB, free: 105.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003564/1.016, allocations: 294.7 kB / 0.6423 GB, free: 105 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.016, allocations: 10.69 kB / 0.6423 GB, free: 105 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.043e-05/1.016, allocations: 68.75 kB / 0.6424 GB, free: 105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/1.017, allocations: 155.5 kB / 0.6425 GB, free: 105 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/1.017, allocations: 435.9 kB / 0.643 GB, free: 104.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/1.017, allocations: 0.7699 MB / 0.6437 GB, free: 104.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002321/1.018, allocations: 53.62 kB / 0.6438 GB, free: 104.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/1.018, allocations: 36.94 kB / 0.6438 GB, free: 104.1 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/1.018, allocations: 0 / 0.6438 GB, free: 104.1 MB / 362.7 MB Notification: Performance of Templates: time 0.008965/1.027, allocations: 6.755 MB / 0.6504 GB, free: 103.5 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)