Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001365/0.001365, allocations: 157.5 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.071/1.071, allocations: 170.7 MB / 178.7 MB, free: 6.977 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.001601/0.001602, allocations: 104.5 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.525e-05/1.527e-05, allocations: 4 kB / 262.2 MB, free: 3.074 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1823, allocations: 38.77 MB / 301 MB, free: 39.1 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8252/1.008, allocations: 431.6 MB / 0.7154 GB, free: 127.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001697/1.008, allocations: 63.97 kB / 0.7155 GB, free: 127.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04774/1.056, allocations: 24.35 MB / 0.7392 GB, free: 103.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/1.056, allocations: 0 / 0.7392 GB, free: 103.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/1.056, allocations: 0 / 0.7392 GB, free: 103.6 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000673/1.056, allocations: 434.1 kB / 0.7397 GB, free: 103.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/1.056, allocations: 8.031 kB / 0.7397 GB, free: 103.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005398/1.062, allocations: 468 kB / 0.7401 GB, free: 102.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.77e-05/1.062, allocations: 167 kB / 0.7403 GB, free: 102.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/1.062, allocations: 4 kB / 0.7403 GB, free: 102.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.857e-05/1.062, allocations: 4 kB / 0.7403 GB, free: 102.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003834/1.062, allocations: 223.9 kB / 0.7405 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/1.062, allocations: 111.9 kB / 0.7406 GB, free: 102.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.062, allocations: 2.156 kB / 0.7406 GB, free: 102.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/1.062, allocations: 0 / 0.7406 GB, free: 102.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/1.063, allocations: 4 kB / 0.7406 GB, free: 102.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008365/1.063, allocations: 394.8 kB / 0.741 GB, free: 101.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007043/1.064, allocations: 194.4 kB / 0.7412 GB, free: 101.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.166e-05/1.064, allocations: 52.86 kB / 0.7412 GB, free: 101.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/1.064, allocations: 7.984 kB / 0.7412 GB, free: 101.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/1.064, allocations: 30.56 kB / 0.7412 GB, free: 101.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.535e-06/1.064, allocations: 3.984 kB / 0.7413 GB, free: 101.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009786/1.065, allocations: 294.6 kB / 0.7415 GB, free: 101.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/1.065, allocations: 55.41 kB / 0.7416 GB, free: 101 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/1.065, allocations: 96.91 kB / 0.7417 GB, free: 100.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/1.065, allocations: 25.7 kB / 0.7417 GB, free: 100.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/1.065, allocations: 95.97 kB / 0.7418 GB, free: 100.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/1.065, allocations: 55.11 kB / 0.7418 GB, free: 100.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/1.065, allocations: 0 / 0.7418 GB, free: 100.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.481e-05/1.065, allocations: 326.8 kB / 0.7422 GB, free: 100.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/1.066, allocations: 52.38 kB / 0.7422 GB, free: 100.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.277e-05/1.066, allocations: 92.84 kB / 0.7423 GB, free: 100.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.894e-05/1.066, allocations: 59.91 kB / 0.7424 GB, free: 100.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.066, allocations: 7.953 kB / 0.7424 GB, free: 100.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002533/1.066, allocations: 196.8 kB / 0.7425 GB, free: 99.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.066, allocations: 4 kB / 0.7426 GB, free: 99.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.066, allocations: 5.781 kB / 0.7426 GB, free: 99.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/1.066, allocations: 0 / 0.7426 GB, free: 99.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/1.066, allocations: 51.89 kB / 0.7426 GB, free: 99.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.066, allocations: 4 kB / 0.7426 GB, free: 99.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/1.067, allocations: 12.11 kB / 0.7426 GB, free: 99.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/1.067, allocations: 19.98 kB / 0.7426 GB, free: 99.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.225e-05/1.067, allocations: 104.9 kB / 0.7427 GB, free: 99.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/1.067, allocations: 7.953 kB / 0.7427 GB, free: 99.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/1.067, allocations: 218 kB / 0.743 GB, free: 99.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/1.067, allocations: 4 kB / 0.743 GB, free: 99.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/1.067, allocations: 0 / 0.743 GB, free: 99.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.067, allocations: 0 / 0.743 GB, free: 99.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/1.068, allocations: 0.5038 MB / 0.7435 GB, free: 98.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.068, allocations: 4 kB / 0.7435 GB, free: 98.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/1.068, allocations: 56.08 kB / 0.7435 GB, free: 98.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/1.068, allocations: 0 / 0.7435 GB, free: 98.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/1.068, allocations: 4 kB / 0.7435 GB, free: 98.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.068, allocations: 0 / 0.7435 GB, free: 98.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.068, allocations: 3.984 kB / 0.7435 GB, free: 98.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/1.069, allocations: 310.6 kB / 0.7438 GB, free: 98.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/1.069, allocations: 81.02 kB / 0.7439 GB, free: 98.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/1.069, allocations: 7.938 kB / 0.7439 GB, free: 98.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/1.069, allocations: 11.94 kB / 0.7439 GB, free: 98.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/1.069, allocations: 23.97 kB / 0.7439 GB, free: 98.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/1.069, allocations: 8 kB / 0.7439 GB, free: 98.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.191e-05/1.069, allocations: 83.28 kB / 0.744 GB, free: 98.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.069, allocations: 0 / 0.744 GB, free: 98.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000392/1.069, allocations: 67.98 kB / 0.7441 GB, free: 98.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.000663/1.07, allocations: 0.5829 MB / 0.7447 GB, free: 97.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002691/1.07, allocations: 150.8 kB / 0.7448 GB, free: 97.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.07, allocations: 0 / 0.7448 GB, free: 97.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.768e-05/1.071, allocations: 83.91 kB / 0.7449 GB, free: 97.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/1.071, allocations: 34.61 kB / 0.7449 GB, free: 97.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/1.071, allocations: 146.9 kB / 0.7451 GB, free: 97.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/1.072, allocations: 0.701 MB / 0.7457 GB, free: 96.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003728/1.072, allocations: 52.67 kB / 0.7458 GB, free: 96.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/1.072, allocations: 31.42 kB / 0.7458 GB, free: 96.46 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/1.072, allocations: 0 / 0.7458 GB, free: 96.46 MB / 362.7 MB Notification: Performance of Templates: time 0.007842/1.08, allocations: 5.384 MB / 0.7511 GB, free: 91.1 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)