Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001489/0.001489, allocations: 170.9 kB / 7.644 MB, free: 1.406 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.549/1.549, allocations: 170.6 MB / 178.7 MB, free: 15.66 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.001822/0.001822, allocations: 108.5 kB / 218 MB, free: 8.418 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.619e-05, allocations: 0 / 262.2 MB, free: 26.43 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08176/0.08179, allocations: 38.77 MB / 301 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.69/16.77, allocations: 6.537 GB / 6.831 GB, free: 79.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/16.77, allocations: 72.94 kB / 6.831 GB, free: 79.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6064/17.38, allocations: 175.6 MB / 7.002 GB, free: 38.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.784e-06/17.38, allocations: 0 / 7.002 GB, free: 38.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/17.38, allocations: 4 kB / 7.002 GB, free: 38.86 MB / 346.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.005626/17.38, allocations: 1.078 MB / 7.003 GB, free: 37.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/17.38, allocations: 12.03 kB / 7.003 GB, free: 37.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/17.38, allocations: 3.906 kB / 7.003 GB, free: 37.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/17.38, allocations: 195 kB / 7.003 GB, free: 37.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/17.38, allocations: 0 / 7.003 GB, free: 37.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/17.38, allocations: 7.984 kB / 7.003 GB, free: 37.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.579e-05/17.38, allocations: 19.98 kB / 7.004 GB, free: 37.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/17.38, allocations: 63.39 kB / 7.004 GB, free: 37.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/17.38, allocations: 3.984 kB / 7.004 GB, free: 37.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/17.38, allocations: 11.94 kB / 7.004 GB, free: 37.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/17.38, allocations: 0 / 7.004 GB, free: 37.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/17.38, allocations: 167 kB / 7.004 GB, free: 37.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/17.38, allocations: 93.19 kB / 7.004 GB, free: 37.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/17.38, allocations: 29.78 kB / 7.004 GB, free: 37.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.605e-05/17.38, allocations: 12.08 kB / 7.004 GB, free: 37.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/17.38, allocations: 38.5 kB / 7.004 GB, free: 36.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/17.38, allocations: 0 / 7.004 GB, free: 36.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007517/17.38, allocations: 157.5 kB / 7.004 GB, free: 36.81 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/17.38, allocations: 77.11 kB / 7.004 GB, free: 36.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/17.38, allocations: 121.2 kB / 7.004 GB, free: 36.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/17.38, allocations: 33.7 kB / 7.004 GB, free: 36.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/17.38, allocations: 84.14 kB / 7.004 GB, free: 36.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/17.38, allocations: 23.66 kB / 7.004 GB, free: 36.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/17.38, allocations: 0 / 7.004 GB, free: 36.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.392e-05/17.38, allocations: 314.8 kB / 7.005 GB, free: 36.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/17.38, allocations: 19.94 kB / 7.005 GB, free: 36.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.987e-05/17.38, allocations: 21.7 kB / 7.005 GB, free: 36.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/17.39, allocations: 107.9 kB / 7.005 GB, free: 35.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/17.39, allocations: 4 kB / 7.005 GB, free: 35.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005446/17.39, allocations: 157.5 kB / 7.005 GB, free: 35.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/17.39, allocations: 11.89 kB / 7.005 GB, free: 35.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/17.39, allocations: 4 kB / 7.005 GB, free: 35.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/17.39, allocations: 0 / 7.005 GB, free: 35.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/17.39, allocations: 15.88 kB / 7.005 GB, free: 35.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/17.39, allocations: 4 kB / 7.005 GB, free: 35.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/17.39, allocations: 11.52 kB / 7.005 GB, free: 35.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/17.39, allocations: 4 kB / 7.005 GB, free: 35.76 MB / 346.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 6.263e-05/17.39, allocations: 105 kB / 7.005 GB, free: 35.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/17.39, allocations: 7.953 kB / 7.005 GB, free: 35.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006226/17.39, allocations: 196.7 kB / 7.005 GB, free: 35.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/17.39, allocations: 8.031 kB / 7.005 GB, free: 35.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/17.39, allocations: 384 / 7.005 GB, free: 35.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/17.39, allocations: 0 / 7.005 GB, free: 35.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/17.39, allocations: 152.3 kB / 7.005 GB, free: 35.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/17.39, allocations: 0 / 7.005 GB, free: 35.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.707e-05/17.39, allocations: 19.92 kB / 7.005 GB, free: 35.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/17.39, allocations: 4 kB / 7.006 GB, free: 35.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/17.39, allocations: 3.953 kB / 7.006 GB, free: 35.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/17.39, allocations: 4 kB / 7.006 GB, free: 35.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/17.39, allocations: 0 / 7.006 GB, free: 35.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/17.39, allocations: 203.5 kB / 7.006 GB, free: 34.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/17.39, allocations: 100.9 kB / 7.006 GB, free: 34.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/17.39, allocations: 8 kB / 7.006 GB, free: 34.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/17.39, allocations: 3.984 kB / 7.006 GB, free: 34.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/17.39, allocations: 4 kB / 7.006 GB, free: 34.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/17.39, allocations: 7.984 kB / 7.006 GB, free: 34.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.126e-05/17.39, allocations: 103.3 kB / 7.006 GB, free: 34.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.51e-07/17.39, allocations: 0 / 7.006 GB, free: 34.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005498/17.39, allocations: 0.9677 MB / 7.007 GB, free: 33.78 MB / 346.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.009365/17.4, allocations: 1.499 MB / 7.008 GB, free: 32.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/17.4, allocations: 39.92 kB / 7.008 GB, free: 32.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/17.4, allocations: 0 / 7.008 GB, free: 32.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/17.4, allocations: 23.94 kB / 7.008 GB, free: 32.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/17.4, allocations: 21.05 kB / 7.008 GB, free: 32.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/17.4, allocations: 107.7 kB / 7.009 GB, free: 32.15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/17.4, allocations: 0.6885 MB / 7.009 GB, free: 31.44 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.16e-05/17.4, allocations: 15.89 kB / 7.009 GB, free: 31.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/17.4, allocations: 19.38 kB / 7.009 GB, free: 31.41 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/17.4, allocations: 4 kB / 7.009 GB, free: 31.4 MB / 346.7 MB Notification: Performance of Templates: time 0.03737/17.44, allocations: 26.57 MB / 7.035 GB, free: 4.824 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1)