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.01119/0.01119, allocations: 166.5 kB / 15.11 MB, free: 5.98 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.417/1.417, allocations: 170.8 MB / 186.6 MB, free: 0.9648 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.001738/0.001738, allocations: 106.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003827, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.225, allocations: 38.77 MB / 312.9 MB, free: 38.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.01/16.24, allocations: 6.538 GB / 6.843 GB, free: 83.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/16.24, allocations: 75.42 kB / 6.843 GB, free: 83.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6063/16.84, allocations: 178.9 MB / 7.018 GB, free: 55.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/16.84, allocations: 0 / 7.018 GB, free: 55.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/16.84, allocations: 0 / 7.018 GB, free: 55.96 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.005674/16.85, allocations: 1.096 MB / 7.019 GB, free: 54.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/16.85, allocations: 8.031 kB / 7.019 GB, free: 54.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/16.85, allocations: 11.91 kB / 7.019 GB, free: 54.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/16.85, allocations: 190 kB / 7.019 GB, free: 54.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/16.85, allocations: 3.188 kB / 7.019 GB, free: 54.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/16.85, allocations: 4 kB / 7.019 GB, free: 54.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/16.85, allocations: 77.66 kB / 7.019 GB, free: 54.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/16.85, allocations: 0 / 7.019 GB, free: 54.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/16.85, allocations: 4 kB / 7.019 GB, free: 54.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/16.85, allocations: 0 / 7.019 GB, free: 54.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/16.85, allocations: 47 kB / 7.019 GB, free: 54.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/16.85, allocations: 189.8 kB / 7.019 GB, free: 54.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/16.85, allocations: 104.1 kB / 7.019 GB, free: 54.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-05/16.85, allocations: 11.44 kB / 7.019 GB, free: 54.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/16.85, allocations: 30.56 kB / 7.02 GB, free: 54.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/16.85, allocations: 0 / 7.02 GB, free: 54.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003657/16.85, allocations: 111.5 kB / 7.02 GB, free: 54.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/16.85, allocations: 81.11 kB / 7.02 GB, free: 53.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/16.85, allocations: 132.2 kB / 7.02 GB, free: 53.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/16.85, allocations: 26.08 kB / 7.02 GB, free: 53.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/16.85, allocations: 92.03 kB / 7.02 GB, free: 53.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/16.85, allocations: 15.66 kB / 7.02 GB, free: 53.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/16.85, allocations: 7.938 kB / 7.02 GB, free: 53.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.864e-05/16.85, allocations: 322.4 kB / 7.02 GB, free: 53.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.267e-05/16.85, allocations: 19.75 kB / 7.02 GB, free: 53.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/16.85, allocations: 33.27 kB / 7.02 GB, free: 53.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.052e-05/16.85, allocations: 31.25 kB / 7.02 GB, free: 53.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/16.85, allocations: 4 kB / 7.02 GB, free: 53.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001937/16.85, allocations: 84.69 kB / 7.02 GB, free: 53.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/16.85, allocations: 8 kB / 7.02 GB, free: 53.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/16.85, allocations: 0 / 7.02 GB, free: 53.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/16.85, allocations: 0 / 7.02 GB, free: 53.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/16.85, allocations: 19.66 kB / 7.02 GB, free: 53.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/16.85, allocations: 2.734 kB / 7.02 GB, free: 53.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.318e-05/16.85, allocations: 4 kB / 7.02 GB, free: 53.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/16.85, allocations: 3.891 kB / 7.02 GB, free: 53.18 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 () * 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.475e-05/16.85, allocations: 117.8 kB / 7.021 GB, free: 53.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/16.85, allocations: 7.906 kB / 7.021 GB, free: 53.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/16.85, allocations: 115.3 kB / 7.021 GB, free: 52.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/16.85, allocations: 4 kB / 7.021 GB, free: 52.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/16.85, allocations: 0 / 7.021 GB, free: 52.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/16.85, allocations: 0 / 7.021 GB, free: 52.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/16.85, allocations: 179.9 kB / 7.021 GB, free: 52.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/16.85, allocations: 7.453 kB / 7.021 GB, free: 52.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/16.85, allocations: 15.73 kB / 7.021 GB, free: 52.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/16.85, allocations: 4 kB / 7.021 GB, free: 52.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/16.85, allocations: 0 / 7.021 GB, free: 52.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/16.85, allocations: 3.844 kB / 7.021 GB, free: 52.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/16.85, allocations: 0 / 7.021 GB, free: 52.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/16.85, allocations: 134.4 kB / 7.021 GB, free: 52.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.016e-05/16.85, allocations: 95.81 kB / 7.021 GB, free: 52.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/16.85, allocations: 4 kB / 7.021 GB, free: 52.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/16.85, allocations: 0 / 7.021 GB, free: 52.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/16.85, allocations: 15.55 kB / 7.021 GB, free: 52.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/16.85, allocations: 8 kB / 7.021 GB, free: 52.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.463e-05/16.85, allocations: 106 kB / 7.021 GB, free: 52.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/16.85, allocations: 288 / 7.021 GB, free: 52.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004871/16.86, allocations: 0.9797 MB / 7.022 GB, free: 51.39 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 () * 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.008602/16.87, allocations: 1.48 MB / 7.024 GB, free: 50.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002861/16.87, allocations: 54.33 kB / 7.024 GB, free: 50.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/16.87, allocations: 4 kB / 7.024 GB, free: 50.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.062e-05/16.87, allocations: 22.75 kB / 7.024 GB, free: 50.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/16.87, allocations: 23.27 kB / 7.024 GB, free: 49.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/16.87, allocations: 220.6 kB / 7.024 GB, free: 49.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000848/16.87, allocations: 0.688 MB / 7.025 GB, free: 65.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.872e-05/16.87, allocations: 15.67 kB / 7.025 GB, free: 65.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/16.87, allocations: 14.77 kB / 7.025 GB, free: 65.05 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/16.87, allocations: 0 / 7.025 GB, free: 65.05 MB / 378.7 MB Notification: Performance of Templates: time 0.03605/16.91, allocations: 28.17 MB / 7.052 GB, free: 41.2 MB / 378.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)