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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009212/0.0009212, allocations: 91.88 kB / 16.65 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 182 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004258, allocations: 8 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08128/0.08172, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001236/0.083, allocations: 1.091 MB / 329.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0291/0.1121, allocations: 25.12 MB / 354.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.1122, allocations: 0 / 354.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.1123, allocations: 15.8 kB / 354.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01239/0.1247, allocations: 4.571 MB / 359.1 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007464/0.1255, allocations: 307 kB / 359.4 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.1256, allocations: 103.5 kB / 359.5 MB, free: 4.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.1257, allocations: 3.984 kB / 359.5 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.265e-05/0.1258, allocations: 31.92 kB / 359.6 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.464e-05/0.1259, allocations: 39.89 kB / 359.6 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1259, allocations: 4 kB / 359.6 MB, free: 4.375 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01543/0.1413, allocations: 8.804 MB / 368.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.1414, allocations: 15.92 kB / 368.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.77e-05/0.1415, allocations: 53.56 kB / 368.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009603/0.1511, allocations: 4.405 MB / 372.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1511, allocations: 4 kB / 372.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1512, allocations: 0 / 372.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1512, allocations: 4 kB / 372.9 MB, free: 7.062 MB / 318.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.002251/0.1534, allocations: 0.8813 MB / 373.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1535, allocations: 12.02 kB / 373.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.1535, allocations: 8.844 kB / 373.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.1537, allocations: 195.8 kB / 374 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1538, allocations: 0 / 374 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.1538, allocations: 8 kB / 374 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.154, allocations: 75.31 kB / 374.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.154, allocations: 3.938 kB / 374.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.154, allocations: 0 / 374.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.154, allocations: 4 kB / 374.1 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1542, allocations: 27.98 kB / 374.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.1544, allocations: 190.5 kB / 374.3 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.1547, allocations: 101.1 kB / 374.4 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.581e-05/0.1548, allocations: 33.77 kB / 374.4 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.839e-05/0.1549, allocations: 8 kB / 374.4 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.1549, allocations: 38.48 kB / 374.5 MB, free: 5.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1549, allocations: 4 kB / 374.5 MB, free: 5.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002965/0.1552, allocations: 97.64 kB / 374.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.1553, allocations: 85.05 kB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1554, allocations: 141.8 kB / 374.8 MB, free: 4.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1554, allocations: 25.7 kB / 374.8 MB, free: 4.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.1555, allocations: 88.14 kB / 374.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.1555, allocations: 23.66 kB / 374.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.1555, allocations: 13.7 kB / 374.9 MB, free: 4.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1556, allocations: 326.8 kB / 375.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.946e-05/0.1557, allocations: 15.98 kB / 375.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.205e-05/0.1558, allocations: 29.7 kB / 375.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1559, allocations: 53.64 kB / 375.3 MB, free: 4.348 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1559, allocations: 0 / 375.3 MB, free: 4.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001767/0.1561, allocations: 81.56 kB / 375.4 MB, free: 4.262 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1561, allocations: 8 kB / 375.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1561, allocations: 0 / 375.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1561, allocations: 0 / 375.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/0.1562, allocations: 15.94 kB / 375.4 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1562, allocations: 0 / 375.4 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.916e-05/0.1563, allocations: 0 / 375.4 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1563, allocations: 11.98 kB / 375.4 MB, free: 4.227 MB / 318.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.827e-05/0.1564, allocations: 113.8 kB / 375.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.1564, allocations: 7.906 kB / 375.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.1566, allocations: 97.5 kB / 375.7 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1566, allocations: 3.984 kB / 375.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1567, allocations: 0 / 375.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1567, allocations: 8.5 kB / 375.7 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.1568, allocations: 177.5 kB / 375.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1568, allocations: 4 kB / 375.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.1569, allocations: 11.98 kB / 375.9 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1569, allocations: 0 / 375.9 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.1569, allocations: 128 / 375.9 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1569, allocations: 12 kB / 375.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1569, allocations: 0 / 375.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.1571, allocations: 121.7 kB / 376 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.1572, allocations: 93.08 kB / 376.1 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1572, allocations: 0 / 376.1 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.1573, allocations: 4 kB / 376.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.1573, allocations: 11.98 kB / 376.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1573, allocations: 4.375 kB / 376.1 MB, free: 3.465 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.086e-05/0.1574, allocations: 115.2 kB / 376.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1574, allocations: 0 / 376.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002472/0.1599, allocations: 0.9212 MB / 377.1 MB, free: 2.43 MB / 318.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004942/0.1649, allocations: 1.34 MB / 378.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.1651, allocations: 51.97 kB / 378.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1651, allocations: 0 / 378.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.103e-05/0.1652, allocations: 31.86 kB / 378.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.1654, allocations: 15.98 kB / 378.6 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.1659, allocations: 205.3 kB / 378.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.1661, allocations: 0.6809 MB / 379.5 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.975e-05/0.1662, allocations: 24.12 kB / 379.5 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.1662, allocations: 15.44 kB / 379.5 MB, free: 12 kB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1662, allocations: 0 / 379.5 MB, free: 12 kB / 318.1 MB Notification: Performance of Templates: time 0.1857/0.3519, allocations: 28.44 MB / 407.9 MB, free: 34.52 MB / 318.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)