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.001112/0.001112, 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.426/1.426, allocations: 170.6 MB / 183.8 MB, free: 11.41 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.001631/0.001632, allocations: 102.8 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.849e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09602, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.198, allocations: 432.3 MB / 0.7225 GB, free: 29.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.198, allocations: 65.03 kB / 0.7226 GB, free: 29.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05248/1.251, allocations: 24.84 MB / 0.7469 GB, free: 8.238 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/1.251, allocations: 0 / 0.7469 GB, free: 8.238 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/1.251, allocations: 4 kB / 0.7469 GB, free: 8.234 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.0007813/1.252, allocations: 426.3 kB / 0.7473 GB, free: 7.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/1.252, allocations: 8.031 kB / 0.7473 GB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005464/1.257, allocations: 460.4 kB / 0.7477 GB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.03e-05/1.257, allocations: 175 kB / 0.7479 GB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/1.257, allocations: 8 kB / 0.7479 GB, free: 7.098 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.466e-05/1.257, allocations: 4 kB / 0.7479 GB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/1.258, allocations: 266 kB / 0.7482 GB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/1.258, allocations: 0 / 0.7482 GB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/1.258, allocations: 0 / 0.7482 GB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.258, allocations: 4 kB / 0.7482 GB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/1.258, allocations: 235.8 kB / 0.7484 GB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/1.259, allocations: 424.8 kB / 0.7488 GB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007601/1.26, allocations: 202.5 kB / 0.749 GB, free: 5.922 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.423e-05/1.26, allocations: 52.86 kB / 0.749 GB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/1.26, allocations: 8 kB / 0.749 GB, free: 5.859 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/1.26, allocations: 34.55 kB / 0.7491 GB, free: 5.816 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/1.26, allocations: 0 / 0.7491 GB, free: 5.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001084/1.261, allocations: 307.8 kB / 0.7494 GB, free: 5.512 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/1.261, allocations: 55.41 kB / 0.7494 GB, free: 5.445 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.866e-05/1.261, allocations: 96.94 kB / 0.7495 GB, free: 5.344 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/1.261, allocations: 29.7 kB / 0.7495 GB, free: 5.309 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/1.261, allocations: 95.88 kB / 0.7496 GB, free: 5.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/1.262, allocations: 59.19 kB / 0.7497 GB, free: 5.152 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/1.262, allocations: 11.94 kB / 0.7497 GB, free: 5.141 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.32e-05/1.262, allocations: 322.8 kB / 0.75 GB, free: 4.816 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/1.262, allocations: 60.38 kB / 0.7501 GB, free: 4.754 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/1.262, allocations: 93.03 kB / 0.7502 GB, free: 4.648 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/1.262, allocations: 71.92 kB / 0.7502 GB, free: 4.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/1.262, allocations: 0 / 0.7502 GB, free: 4.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003369/1.262, allocations: 209.3 kB / 0.7504 GB, free: 4.367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.262, allocations: 11.38 kB / 0.7504 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.262, allocations: 0 / 0.7504 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.262, allocations: 4.188 kB / 0.7504 GB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/1.263, allocations: 51.89 kB / 0.7505 GB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/1.263, allocations: 8.125 kB / 0.7505 GB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/1.263, allocations: 11.98 kB / 0.7505 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/1.263, allocations: 19.97 kB / 0.7505 GB, free: 4.266 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.545e-05/1.263, allocations: 112.9 kB / 0.7506 GB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/1.263, allocations: 7.906 kB / 0.7506 GB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/1.264, allocations: 237.6 kB / 0.7509 GB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.264, allocations: 4 kB / 0.7509 GB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/1.264, allocations: 0 / 0.7509 GB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.264, allocations: 0 / 0.7509 GB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007687/1.264, allocations: 0.535 MB / 0.7514 GB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.264, allocations: 0 / 0.7514 GB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/1.265, allocations: 47.91 kB / 0.7514 GB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.265, allocations: 0 / 0.7514 GB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/1.265, allocations: 7.984 kB / 0.7514 GB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/1.265, allocations: 4 kB / 0.7514 GB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.265, allocations: 3.953 kB / 0.7515 GB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/1.265, allocations: 316.5 kB / 0.7518 GB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/1.265, allocations: 81.02 kB / 0.7518 GB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/1.265, allocations: 11.95 kB / 0.7518 GB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/1.266, allocations: 19.98 kB / 0.7519 GB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/1.266, allocations: 7.984 kB / 0.7519 GB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/1.266, allocations: 11.98 kB / 0.7519 GB, free: 2.742 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.646e-05/1.266, allocations: 87.27 kB / 0.752 GB, free: 2.656 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.266, allocations: 0 / 0.752 GB, free: 2.656 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004525/1.266, allocations: 76.23 kB / 0.752 GB, free: 2.582 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.000596/1.267, allocations: 0.5174 MB / 0.7525 GB, free: 2.062 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002904/1.267, allocations: 153 kB / 0.7527 GB, free: 1.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.267, allocations: 7.938 kB / 0.7527 GB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/1.267, allocations: 84.23 kB / 0.7528 GB, free: 1.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/1.267, allocations: 35.95 kB / 0.7528 GB, free: 1.789 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/1.268, allocations: 163 kB / 0.753 GB, free: 1.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/1.268, allocations: 0.7051 MB / 0.7537 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003728/1.268, allocations: 48.75 kB / 0.7537 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/1.269, allocations: 35.39 kB / 0.7537 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/1.269, allocations: 0 / 0.7537 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of Templates: time 0.2292/1.498, allocations: 10.49 MB / 0.764 GB, free: 120.7 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)