Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001309/0.001309, allocations: 169.9 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.544/1.544, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001611/0.001611, allocations: 110.7 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.556e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0931/0.09316, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.904/1.998, allocations: 0.6361 GB / 0.9366 GB, free: 95.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/1.998, allocations: 73.89 kB / 0.9366 GB, free: 95.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4031/2.401, allocations: 117.1 MB / 1.051 GB, free: 113 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/2.401, allocations: 0 / 1.051 GB, free: 113 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/2.401, allocations: 0 / 1.051 GB, free: 113 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001464/2.403, allocations: 0.5579 MB / 1.051 GB, free: 112.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/2.403, allocations: 10.97 kB / 1.052 GB, free: 112.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/2.403, allocations: 19.75 kB / 1.052 GB, free: 112.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/2.403, allocations: 178.1 kB / 1.052 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/2.403, allocations: 3.812 kB / 1.052 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/2.403, allocations: 0 / 1.052 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/2.403, allocations: 65.67 kB / 1.052 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/2.403, allocations: 3.625 kB / 1.052 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/2.403, allocations: 0 / 1.052 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/2.403, allocations: 0 / 1.052 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.204e-05/2.403, allocations: 22.7 kB / 1.052 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/2.404, allocations: 180.1 kB / 1.052 GB, free: 112.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/2.404, allocations: 72.64 kB / 1.052 GB, free: 112 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.079e-05/2.404, allocations: 24.73 kB / 1.052 GB, free: 112 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0715/2.475, allocations: 35.88 MB / 1.087 GB, free: 92.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.877e-05/2.476, allocations: 33.38 kB / 1.087 GB, free: 92.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 5.22e-06/2.476, allocations: 6.906 kB / 1.087 GB, free: 92.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003306/2.476, allocations: 65.77 kB / 1.087 GB, free: 92.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/2.476, allocations: 81.11 kB / 1.087 GB, free: 92.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/2.476, allocations: 107.9 kB / 1.087 GB, free: 92.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/2.476, allocations: 29.7 kB / 1.087 GB, free: 92.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/2.476, allocations: 86.95 kB / 1.087 GB, free: 92.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/2.476, allocations: 19.03 kB / 1.087 GB, free: 92.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/2.476, allocations: 3.938 kB / 1.088 GB, free: 92.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.176e-05/2.476, allocations: 314.8 kB / 1.088 GB, free: 92.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/2.476, allocations: 8 kB / 1.088 GB, free: 92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.179e-05/2.477, allocations: 28.86 kB / 1.088 GB, free: 91.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.223e-05/2.477, allocations: 8 kB / 1.088 GB, free: 91.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/2.477, allocations: 0 / 1.088 GB, free: 91.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001101/2.477, allocations: 66.66 kB / 1.088 GB, free: 91.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/2.477, allocations: 4 kB / 1.088 GB, free: 91.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/2.477, allocations: 4 kB / 1.088 GB, free: 91.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/2.477, allocations: 3.953 kB / 1.088 GB, free: 91.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/2.477, allocations: 14.7 kB / 1.088 GB, free: 91.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/2.477, allocations: 7.875 kB / 1.088 GB, free: 91.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/2.477, allocations: 8 kB / 1.088 GB, free: 91.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/2.477, allocations: 4 kB / 1.088 GB, free: 91.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.26e-05/2.477, allocations: 105 kB / 1.088 GB, free: 91.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/2.477, allocations: 7.906 kB / 1.088 GB, free: 91.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/2.477, allocations: 99.5 kB / 1.088 GB, free: 91.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/2.477, allocations: 4 kB / 1.088 GB, free: 91.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/2.477, allocations: 7.953 kB / 1.088 GB, free: 91.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/2.477, allocations: 0 / 1.088 GB, free: 91.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/2.478, allocations: 165.4 kB / 1.088 GB, free: 91.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/2.478, allocations: 0 / 1.088 GB, free: 91.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/2.478, allocations: 15.7 kB / 1.088 GB, free: 91.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/2.478, allocations: 0 / 1.088 GB, free: 91.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/2.478, allocations: 0 / 1.088 GB, free: 91.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/2.478, allocations: 0 / 1.088 GB, free: 91.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/2.478, allocations: 4 kB / 1.088 GB, free: 91.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/2.478, allocations: 119.9 kB / 1.088 GB, free: 91.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/2.478, allocations: 88.95 kB / 1.089 GB, free: 91.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/2.478, allocations: 0 / 1.089 GB, free: 91.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.348e-05/2.478, allocations: 7.281 kB / 1.089 GB, free: 91.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/2.478, allocations: 11.66 kB / 1.089 GB, free: 91.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/2.478, allocations: 2.531 kB / 1.089 GB, free: 91.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.147e-05/2.478, allocations: 103.4 kB / 1.089 GB, free: 91.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/2.478, allocations: 0 / 1.089 GB, free: 91.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001522/2.48, allocations: 330.5 kB / 1.089 GB, free: 90.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001719/2.481, allocations: 0.7248 MB / 1.09 GB, free: 90.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/2.482, allocations: 27.75 kB / 1.09 GB, free: 90.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/2.482, allocations: 4 kB / 1.09 GB, free: 90.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/2.482, allocations: 23.03 kB / 1.09 GB, free: 90.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/2.482, allocations: 12 kB / 1.09 GB, free: 90.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/2.482, allocations: 97.47 kB / 1.09 GB, free: 90.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/2.482, allocations: 0.6809 MB / 1.091 GB, free: 89.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001235/2.483, allocations: 46.28 kB / 1.091 GB, free: 89.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/2.483, allocations: 19 kB / 1.091 GB, free: 89.29 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/2.483, allocations: 0 / 1.091 GB, free: 89.29 MB / 362.7 MB Notification: Performance of Templates: time 0.01472/2.497, allocations: 9.614 MB / 1.1 GB, free: 81.72 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1)