Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009984/0.0009983, allocations: 188.6 kB / 8.353 MB, free: 0.707 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.352/1.352, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001638/0.001638, allocations: 124 kB / 248.1 MB, free: 6.363 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.682e-05/1.684e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1011, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6253/0.7264, allocations: 185 MB / 0.5152 GB, free: 110.2 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.7267, allocations: 90.53 kB / 0.5153 GB, free: 110.2 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6322/1.359, allocations: 208.8 MB / 0.7192 GB, free: 88.14 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.543e-06/1.359, allocations: 0 / 0.7192 GB, free: 88.14 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.822e-05/1.359, allocations: 13.94 kB / 0.7192 GB, free: 88.14 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001912/1.361, allocations: 0.9722 MB / 0.7202 GB, free: 87.43 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/1.361, allocations: 9.594 kB / 0.7202 GB, free: 87.43 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/1.361, allocations: 39.78 kB / 0.7202 GB, free: 87.41 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/1.362, allocations: 295.6 kB / 0.7205 GB, free: 87.19 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/1.362, allocations: 5.969 kB / 0.7205 GB, free: 87.19 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/1.362, allocations: 15.69 kB / 0.7205 GB, free: 87.19 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002478/1.362, allocations: 163.9 kB / 0.7207 GB, free: 87.18 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/1.362, allocations: 281.5 kB / 0.7209 GB, free: 87.02 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/1.362, allocations: 3.156 kB / 0.7209 GB, free: 87.02 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/1.362, allocations: 7.031 kB / 0.7209 GB, free: 87.02 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/1.362, allocations: 6 kB / 0.7209 GB, free: 87.02 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/1.364, allocations: 2.009 MB / 0.7229 GB, free: 85.2 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/1.364, allocations: 173.4 kB / 0.7231 GB, free: 85.16 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.176e-05/1.364, allocations: 70.55 kB / 0.7231 GB, free: 85.15 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/1.364, allocations: 252.7 kB / 0.7234 GB, free: 84.86 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/1.364, allocations: 37.38 kB / 0.7234 GB, free: 84.82 MB / 395.1 MB Notification: Performance of pre-optimization done (n=24): time 1.382e-06/1.364, allocations: 3.812 kB / 0.7234 GB, free: 84.82 MB / 395.1 MB Notification: Performance of matching and sorting (n=30): time 0.00212/1.366, allocations: 0.809 MB / 0.7242 GB, free: 84.3 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/1.367, allocations: 59.06 kB / 0.7243 GB, free: 84.24 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/1.367, allocations: 195.7 kB / 0.7244 GB, free: 84.1 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/1.367, allocations: 25.7 kB / 0.7245 GB, free: 84.07 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/1.367, allocations: 191.8 kB / 0.7247 GB, free: 83.89 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/1.367, allocations: 102.8 kB / 0.7248 GB, free: 83.81 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/1.367, allocations: 0 / 0.7248 GB, free: 83.81 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 6.755e-05/1.367, allocations: 330.2 kB / 0.7251 GB, free: 83.48 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/1.367, allocations: 75.97 kB / 0.7251 GB, free: 83.45 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/1.367, allocations: 160.1 kB / 0.7253 GB, free: 83.31 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/1.368, allocations: 126.6 kB / 0.7254 GB, free: 83.25 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.368, allocations: 7.625 kB / 0.7254 GB, free: 83.25 MB / 395.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007328/1.368, allocations: 360.3 kB / 0.7258 GB, free: 83.07 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.368, allocations: 3.938 kB / 0.7258 GB, free: 83.07 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.368, allocations: 10.67 kB / 0.7258 GB, free: 83.07 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/1.369, allocations: 93.45 kB / 0.7259 GB, free: 83.02 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/1.369, allocations: 63.5 kB / 0.7259 GB, free: 83.01 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005399/1.37, allocations: 0.6836 MB / 0.7266 GB, free: 82.4 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/1.37, allocations: 7.875 kB / 0.7266 GB, free: 82.4 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/1.37, allocations: 21.33 kB / 0.7266 GB, free: 82.39 MB / 395.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.00014/1.37, allocations: 127.1 kB / 0.7267 GB, free: 82.27 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/1.37, allocations: 25.91 kB / 0.7268 GB, free: 82.26 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008348/1.371, allocations: 374.4 kB / 0.7271 GB, free: 82.02 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.371, allocations: 7.562 kB / 0.7271 GB, free: 82.02 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.371, allocations: 3.469 kB / 0.7271 GB, free: 82.02 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000585/1.371, allocations: 0.5677 MB / 0.7277 GB, free: 81.47 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00094/1.372, allocations: 0.6828 MB / 0.7284 GB, free: 80.93 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.372, allocations: 3.844 kB / 0.7284 GB, free: 80.93 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/1.373, allocations: 33.95 kB / 0.7284 GB, free: 80.92 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/1.373, allocations: 82.22 kB / 0.7285 GB, free: 80.88 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/1.373, allocations: 7.938 kB / 0.7285 GB, free: 80.87 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000413/1.373, allocations: 0.6436 MB / 0.7291 GB, free: 80.28 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.373, allocations: 7.531 kB / 0.7291 GB, free: 80.28 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006915/1.374, allocations: 494.3 kB / 0.7296 GB, free: 79.93 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/1.374, allocations: 108.5 kB / 0.7297 GB, free: 79.81 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.575e-05/1.374, allocations: 3.984 kB / 0.7297 GB, free: 79.8 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/1.374, allocations: 15.59 kB / 0.7297 GB, free: 79.8 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/1.374, allocations: 19.44 kB / 0.7297 GB, free: 79.79 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/1.374, allocations: 11.62 kB / 0.7297 GB, free: 79.79 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001096/1.375, allocations: 168.1 kB / 0.7299 GB, free: 79.67 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.375, allocations: 0 / 0.7299 GB, free: 79.67 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0005995/1.375, allocations: 144 kB / 0.73 GB, free: 79.64 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003391/1.375, allocations: 230.6 kB / 0.7303 GB, free: 79.51 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0004394/1.376, allocations: 232.9 kB / 0.7305 GB, free: 79.43 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.376, allocations: 3.875 kB / 0.7305 GB, free: 79.43 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/1.376, allocations: 108.1 kB / 0.7306 GB, free: 79.38 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006729/1.377, allocations: 123.2 kB / 0.7307 GB, free: 79.33 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006973/1.378, allocations: 429 kB / 0.7311 GB, free: 79.07 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/1.378, allocations: 0.7706 MB / 0.7319 GB, free: 78.33 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0002619/1.378, allocations: 62.39 kB / 0.7319 GB, free: 78.3 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/1.378, allocations: 30.92 kB / 0.732 GB, free: 78.3 MB / 395.1 MB Notification: Performance of SimCode: time 1.273e-06/1.378, allocations: 0 / 0.732 GB, free: 78.3 MB / 395.1 MB Notification: Performance of Templates: time 0.009405/1.388, allocations: 6.585 MB / 0.7384 GB, free: 75.02 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)