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.001036/0.001036, allocations: 102.4 kB / 16.5 MB, free: 6.641 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.001009/0.001009, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.295/1.295, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001143/0.001143, allocations: 51.92 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/0.09055, allocations: 46.63 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002324/0.09292, allocations: 1.433 MB / 327.4 MB, free: 3.449 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02895/0.1219, allocations: 25.51 MB / 352.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.122, allocations: 4 kB / 352.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.1221, allocations: 3.984 kB / 352.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.1347, allocations: 4.575 MB / 357.5 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.1354, allocations: 322.9 kB / 357.8 MB, free: 4.941 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.1356, allocations: 95.67 kB / 357.9 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.858e-05/0.1356, allocations: 4 kB / 357.9 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.1357, allocations: 31.84 kB / 357.9 MB, free: 4.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.721e-05/0.1358, allocations: 39.89 kB / 358 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1358, allocations: 8 kB / 358 MB, free: 4.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01455/0.1504, allocations: 8.804 MB / 366.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.1505, allocations: 15.92 kB / 366.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.1505, allocations: 27.86 kB / 366.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009831/0.1604, allocations: 4.421 MB / 371.2 MB, free: 7.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1604, allocations: 0 / 371.2 MB, free: 7.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1604, allocations: 0 / 371.2 MB, free: 7.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1604, allocations: 0 / 371.2 MB, free: 7.477 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.001862/0.1623, allocations: 0.9009 MB / 372.1 MB, free: 6.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1624, allocations: 8.031 kB / 372.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.1624, allocations: 8.844 kB / 372.2 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.1626, allocations: 199.8 kB / 372.3 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1626, allocations: 7.938 kB / 372.4 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.1626, allocations: 0 / 372.4 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1628, allocations: 71.39 kB / 372.4 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1628, allocations: 3.938 kB / 372.4 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1628, allocations: 4 kB / 372.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1628, allocations: 0 / 372.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.163, allocations: 35.97 kB / 372.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.1632, allocations: 186.5 kB / 372.7 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.1635, allocations: 105 kB / 372.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.421e-05/0.1636, allocations: 29.77 kB / 372.8 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-05/0.1636, allocations: 12 kB / 372.8 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.1637, allocations: 38.53 kB / 372.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.1637, allocations: 0 / 372.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003076/0.164, allocations: 101.5 kB / 372.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.164, allocations: 81.11 kB / 373 MB, free: 5.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.1642, allocations: 137.8 kB / 373.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1642, allocations: 29.7 kB / 373.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.1642, allocations: 84.14 kB / 373.3 MB, free: 5.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.1643, allocations: 31.66 kB / 373.3 MB, free: 5.195 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.1643, allocations: 13.72 kB / 373.3 MB, free: 5.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.1644, allocations: 318.8 kB / 373.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.1645, allocations: 19.98 kB / 373.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.1645, allocations: 33.7 kB / 373.7 MB, free: 4.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1647, allocations: 49.69 kB / 373.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1647, allocations: 0 / 373.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000175/0.1648, allocations: 85.52 kB / 373.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1649, allocations: 4 kB / 373.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1649, allocations: 4 kB / 373.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1649, allocations: 4 kB / 373.8 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.165, allocations: 11.98 kB / 373.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.165, allocations: 0 / 373.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.165, allocations: 4 kB / 373.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.165, allocations: 0 / 373.8 MB, free: 4.625 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 9.415e-05/0.1651, allocations: 121.7 kB / 373.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1652, allocations: 7.906 kB / 374 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.1654, allocations: 101.4 kB / 374 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1654, allocations: 8 kB / 374.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1654, allocations: 0 / 374.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1654, allocations: 0.5625 kB / 374.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.1656, allocations: 181.6 kB / 374.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1656, allocations: 4.375 kB / 374.2 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.1656, allocations: 8 kB / 374.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1657, allocations: 4 kB / 374.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1657, allocations: 4 kB / 374.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1657, allocations: 3.938 kB / 374.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1657, allocations: 0 / 374.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.1659, allocations: 125.7 kB / 374.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.1659, allocations: 85.11 kB / 374.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.166, allocations: 7.984 kB / 374.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.166, allocations: 0 / 374.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.1661, allocations: 7.984 kB / 374.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.1661, allocations: 4 kB / 374.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.656e-05/0.1662, allocations: 111.3 kB / 374.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1662, allocations: 0 / 374.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001985/0.1682, allocations: 0.9251 MB / 375.5 MB, free: 2.824 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.003725/0.1719, allocations: 1.338 MB / 376.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1721, allocations: 55.91 kB / 376.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1721, allocations: 0 / 376.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-05/0.1722, allocations: 23.98 kB / 376.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.1724, allocations: 15.98 kB / 376.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.1728, allocations: 198.2 kB / 377.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.1731, allocations: 0.6809 MB / 377.8 MB, free: 468 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.094e-05/0.1732, allocations: 20.12 kB / 377.8 MB, free: 448 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.1732, allocations: 15.44 kB / 377.9 MB, free: 432 kB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1732, allocations: 4 kB / 377.9 MB, free: 428 kB / 318.1 MB Notification: Performance of Templates: time 0.1712/0.3444, allocations: 28.46 MB / 406.3 MB, free: 35.93 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)