Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001463/0.001463, allocations: 187.9 kB / 8.351 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.67/1.67, allocations: 194.3 MB / 203.1 MB, free: 9.312 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.001722/0.001722, allocations: 119.6 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.709e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09157/0.09161, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.91/16, allocations: 6.543 GB / 6.877 GB, free: 1.152 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/16, allocations: 75.95 kB / 6.878 GB, free: 1.078 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8284/16.83, allocations: 176.1 MB / 7.05 GB, free: 64.34 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.202e-06/16.83, allocations: 0 / 7.05 GB, free: 64.34 MB / 395.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/16.83, allocations: 0 / 7.05 GB, free: 64.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.006006/16.83, allocations: 1.078 MB / 7.051 GB, free: 63.78 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/16.83, allocations: 8.906 kB / 7.051 GB, free: 63.78 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.702e-05/16.83, allocations: 12.83 kB / 7.051 GB, free: 63.77 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/16.83, allocations: 194.2 kB / 7.051 GB, free: 63.58 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/16.83, allocations: 0 / 7.051 GB, free: 63.58 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/16.84, allocations: 3 kB / 7.051 GB, free: 63.58 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001098/16.84, allocations: 33.25 kB / 7.051 GB, free: 63.58 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/16.84, allocations: 67.83 kB / 7.051 GB, free: 63.53 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/16.84, allocations: 0 / 7.051 GB, free: 63.53 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/16.84, allocations: 3.953 kB / 7.051 GB, free: 63.53 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/16.84, allocations: 3 kB / 7.051 GB, free: 63.53 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/16.84, allocations: 160.1 kB / 7.051 GB, free: 63.36 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/16.84, allocations: 91.88 kB / 7.051 GB, free: 63.32 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.442e-05/16.84, allocations: 29.59 kB / 7.051 GB, free: 63.3 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.878e-05/16.84, allocations: 9.875 kB / 7.051 GB, free: 63.3 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/16.84, allocations: 40.22 kB / 7.051 GB, free: 63.26 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.314e-06/16.84, allocations: 0 / 7.051 GB, free: 63.26 MB / 395.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008564/16.84, allocations: 163.2 kB / 7.051 GB, free: 63.23 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/16.84, allocations: 81.66 kB / 7.051 GB, free: 63.13 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/16.84, allocations: 120.4 kB / 7.052 GB, free: 63.04 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/16.84, allocations: 25.7 kB / 7.052 GB, free: 63.01 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/16.84, allocations: 88.52 kB / 7.052 GB, free: 62.93 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/16.84, allocations: 17.58 kB / 7.052 GB, free: 62.92 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/16.84, allocations: 1.875 kB / 7.052 GB, free: 62.92 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/16.84, allocations: 323.2 kB / 7.052 GB, free: 62.6 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-05/16.84, allocations: 15.03 kB / 7.052 GB, free: 62.6 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/16.84, allocations: 29.06 kB / 7.052 GB, free: 62.59 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/16.84, allocations: 105.8 kB / 7.052 GB, free: 62.59 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/16.84, allocations: 0 / 7.052 GB, free: 62.59 MB / 395.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005938/16.84, allocations: 169.5 kB / 7.052 GB, free: 62.55 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/16.84, allocations: 3.844 kB / 7.052 GB, free: 62.55 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/16.84, allocations: 3.844 kB / 7.052 GB, free: 62.55 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/16.84, allocations: 2.906 kB / 7.052 GB, free: 62.55 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/16.84, allocations: 13 kB / 7.052 GB, free: 62.55 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/16.84, allocations: 3.969 kB / 7.052 GB, free: 62.55 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/16.84, allocations: 3.062 kB / 7.052 GB, free: 62.55 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/16.84, allocations: 7.438 kB / 7.052 GB, free: 62.55 MB / 395.1 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 7.449e-05/16.84, allocations: 110.8 kB / 7.052 GB, free: 62.44 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/16.84, allocations: 8.781 kB / 7.052 GB, free: 62.43 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007109/16.84, allocations: 183 kB / 7.053 GB, free: 62.4 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/16.84, allocations: 3.375 kB / 7.053 GB, free: 62.4 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/16.84, allocations: 0 / 7.053 GB, free: 62.4 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/16.84, allocations: 8.047 kB / 7.053 GB, free: 62.4 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/16.84, allocations: 156.2 kB / 7.053 GB, free: 62.24 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/16.84, allocations: 3.562 kB / 7.053 GB, free: 62.24 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.505e-05/16.84, allocations: 12.8 kB / 7.053 GB, free: 62.24 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/16.84, allocations: 3.812 kB / 7.053 GB, free: 62.24 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/16.84, allocations: 2.625 kB / 7.053 GB, free: 62.24 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/16.84, allocations: 2.422 kB / 7.053 GB, free: 62.24 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/16.84, allocations: 0 / 7.053 GB, free: 62.24 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006403/16.84, allocations: 211.3 kB / 7.053 GB, free: 62.14 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/16.84, allocations: 98.98 kB / 7.053 GB, free: 62.05 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/16.84, allocations: 3.656 kB / 7.053 GB, free: 62.05 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/16.84, allocations: 3.875 kB / 7.053 GB, free: 62.05 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/16.84, allocations: 8.609 kB / 7.053 GB, free: 62.05 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/16.84, allocations: 6.797 kB / 7.053 GB, free: 62.05 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001041/16.84, allocations: 104 kB / 7.053 GB, free: 61.97 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.61e-07/16.84, allocations: 0 / 7.053 GB, free: 61.97 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.006866/16.85, allocations: 0.9682 MB / 7.054 GB, free: 61.86 MB / 395.1 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.009172/16.86, allocations: 1.518 MB / 7.056 GB, free: 61.64 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/16.86, allocations: 41.42 kB / 7.056 GB, free: 61.64 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/16.86, allocations: 0 / 7.056 GB, free: 61.64 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/16.86, allocations: 24.72 kB / 7.056 GB, free: 61.64 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/16.86, allocations: 21.16 kB / 7.056 GB, free: 61.63 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/16.86, allocations: 102.9 kB / 7.056 GB, free: 61.57 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/16.86, allocations: 0.6903 MB / 7.057 GB, free: 60.88 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 7.219e-05/16.86, allocations: 16.98 kB / 7.057 GB, free: 60.88 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/16.86, allocations: 17.72 kB / 7.057 GB, free: 60.87 MB / 395.1 MB Notification: Performance of SimCode: time 4.41e-07/16.86, allocations: 0 / 7.057 GB, free: 60.87 MB / 395.1 MB Notification: Performance of Templates: time 0.04805/16.91, allocations: 26.63 MB / 7.083 GB, free: 59.39 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1)