Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001053/0.001053, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.288/1.288, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001581/0.001581, allocations: 114.1 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003597, allocations: 12 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.08965, allocations: 44.49 MB / 355.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.301, allocations: 0.6415 GB / 0.9883 GB, free: 16.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/1.301, allocations: 80.67 kB / 0.9883 GB, free: 16.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3446/1.646, allocations: 117.1 MB / 1.103 GB, free: 72.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.285e-06/1.646, allocations: 0 / 1.103 GB, free: 72.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.842e-06/1.646, allocations: 4 kB / 1.103 GB, free: 72.09 MB / 410.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.001215/1.647, allocations: 0.5793 MB / 1.103 GB, free: 71.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/1.647, allocations: 8.031 kB / 1.103 GB, free: 71.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/1.647, allocations: 25.5 kB / 1.103 GB, free: 71.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/1.647, allocations: 178.9 kB / 1.104 GB, free: 71.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/1.647, allocations: 4 kB / 1.104 GB, free: 71.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/1.647, allocations: 7.938 kB / 1.104 GB, free: 71.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/1.648, allocations: 63.38 kB / 1.104 GB, free: 71.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/1.648, allocations: 0 / 1.104 GB, free: 71.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/1.648, allocations: 4 kB / 1.104 GB, free: 71.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.648, allocations: 2.5 kB / 1.104 GB, free: 71.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/1.648, allocations: 31.97 kB / 1.104 GB, free: 71.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/1.648, allocations: 178.5 kB / 1.104 GB, free: 70.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/1.648, allocations: 81.28 kB / 1.104 GB, free: 70.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06557/1.714, allocations: 35.42 MB / 1.138 GB, free: 31.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/1.714, allocations: 34.5 kB / 1.138 GB, free: 31.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.735e-06/1.714, allocations: 0 / 1.138 GB, free: 31.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004377/1.714, allocations: 97.48 kB / 1.139 GB, free: 31.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/1.714, allocations: 77.11 kB / 1.139 GB, free: 31.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/1.714, allocations: 110 kB / 1.139 GB, free: 31.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/1.714, allocations: 25.7 kB / 1.139 GB, free: 31.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/1.714, allocations: 84.8 kB / 1.139 GB, free: 31.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/1.714, allocations: 19.73 kB / 1.139 GB, free: 31.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/1.715, allocations: 4 kB / 1.139 GB, free: 31.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.719e-05/1.715, allocations: 314.8 kB / 1.139 GB, free: 31.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.564e-05/1.715, allocations: 19.98 kB / 1.139 GB, free: 31.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-05/1.715, allocations: 21.7 kB / 1.139 GB, free: 31.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.364e-05/1.715, allocations: 15.98 kB / 1.139 GB, free: 31.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.715, allocations: 0.75 kB / 1.139 GB, free: 31.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001652/1.715, allocations: 85.45 kB / 1.139 GB, free: 30.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.715, allocations: 4 kB / 1.139 GB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.715, allocations: 4 kB / 1.139 GB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.715, allocations: 0 / 1.139 GB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/1.715, allocations: 15.98 kB / 1.139 GB, free: 30.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/1.715, allocations: 0 / 1.139 GB, free: 30.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/1.715, allocations: 4.062 kB / 1.139 GB, free: 30.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/1.715, allocations: 1.781 kB / 1.139 GB, free: 30.93 MB / 410.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 () * Number of clocked 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 6.631e-05/1.715, allocations: 117.8 kB / 1.139 GB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/1.715, allocations: 15.84 kB / 1.139 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/1.716, allocations: 108 kB / 1.14 GB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.716, allocations: 0 / 1.14 GB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.716, allocations: 0 / 1.14 GB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.716, allocations: 3.984 kB / 1.14 GB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/1.716, allocations: 169.6 kB / 1.14 GB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.716, allocations: 0 / 1.14 GB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.408e-05/1.716, allocations: 13.31 kB / 1.14 GB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.716, allocations: 7.953 kB / 1.14 GB, free: 30.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/1.716, allocations: 4.547 kB / 1.14 GB, free: 30.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.716, allocations: 7.875 kB / 1.14 GB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.716, allocations: 0 / 1.14 GB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/1.716, allocations: 119.6 kB / 1.14 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/1.716, allocations: 97.03 kB / 1.14 GB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/1.716, allocations: 10.92 kB / 1.14 GB, free: 30.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/1.716, allocations: 4 kB / 1.14 GB, free: 30.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/1.716, allocations: 7.984 kB / 1.14 GB, free: 30.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/1.716, allocations: 4.562 kB / 1.14 GB, free: 30.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.663e-05/1.716, allocations: 91.97 kB / 1.14 GB, free: 30.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.716, allocations: 0 / 1.14 GB, free: 30.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001082/1.717, allocations: 339.5 kB / 1.14 GB, free: 29.73 MB / 410.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 () * Number of clocked 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.001405/1.719, allocations: 0.7053 MB / 1.141 GB, free: 29.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/1.719, allocations: 43.89 kB / 1.141 GB, free: 28.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.719, allocations: 0 / 1.141 GB, free: 28.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/1.719, allocations: 23.92 kB / 1.141 GB, free: 28.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/1.719, allocations: 12 kB / 1.141 GB, free: 28.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/1.72, allocations: 186.6 kB / 1.141 GB, free: 28.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/1.72, allocations: 0.6937 MB / 1.142 GB, free: 28.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/1.72, allocations: 49.03 kB / 1.142 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/1.72, allocations: 23.36 kB / 1.142 GB, free: 27.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/1.72, allocations: 4 kB / 1.142 GB, free: 27.93 MB / 410.7 MB Notification: Performance of Templates: time 0.01047/1.73, allocations: 9.228 MB / 1.151 GB, free: 18.71 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1)