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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007739/0.007739, allocations: 100 kB / 15.73 MB, free: 6.047 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.001821/0.001822, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.458/1.458, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.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.001822/0.001822, allocations: 58.52 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09424/0.09607, allocations: 46.61 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.0027/0.09883, allocations: 1.361 MB / 374.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.027/0.1259, allocations: 23.67 MB / 398.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.126, allocations: 0 / 398.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.1262, allocations: 7.922 kB / 398.2 MB, free: 8.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01437/0.1406, allocations: 5.636 MB / 403.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.1414, allocations: 350.7 kB / 404.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.1416, allocations: 71.7 kB / 404.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.1416, allocations: 15.92 kB / 404.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.1417, allocations: 31.91 kB / 404.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.641e-05/0.1418, allocations: 31.91 kB / 404.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1418, allocations: 4 kB / 404.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01552/0.1574, allocations: 8.754 MB / 413.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.1574, allocations: 11.98 kB / 413.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.1575, allocations: 35.84 kB / 413.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009142/0.1667, allocations: 4.34 MB / 417.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1667, allocations: 0 / 417.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1667, allocations: 0 / 417.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1667, allocations: 0 / 417.5 MB, free: 4.879 MB / 350.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.002178/0.1689, allocations: 0.9085 MB / 418.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1689, allocations: 8.031 kB / 418.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.169, allocations: 8.844 kB / 418.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.1692, allocations: 195.9 kB / 418.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1692, allocations: 7.984 kB / 418.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.1692, allocations: 4 kB / 418.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1694, allocations: 67.33 kB / 418.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1694, allocations: 0 / 418.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.1694, allocations: 12 kB / 418.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1695, allocations: 0 / 418.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.1696, allocations: 31.97 kB / 418.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.1698, allocations: 186.5 kB / 418.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.1701, allocations: 105.1 kB / 419 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.902e-05/0.1702, allocations: 29.77 kB / 419 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-05/0.1702, allocations: 8 kB / 419 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.1703, allocations: 46.48 kB / 419.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1703, allocations: 3.938 kB / 419.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003075/0.1706, allocations: 97.97 kB / 419.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.1706, allocations: 81.11 kB / 419.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1708, allocations: 133.8 kB / 419.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1708, allocations: 33.64 kB / 419.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.1708, allocations: 84.14 kB / 419.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.1709, allocations: 23.64 kB / 419.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.1709, allocations: 21.72 kB / 419.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.171, allocations: 314.8 kB / 419.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.1711, allocations: 19.98 kB / 419.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.288e-05/0.1711, allocations: 37.7 kB / 419.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1713, allocations: 57.61 kB / 420 MB, free: 2.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1713, allocations: 0 / 420 MB, free: 2.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001781/0.1715, allocations: 81.58 kB / 420 MB, free: 2.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1715, allocations: 5.094 kB / 420 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1715, allocations: 0 / 420 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1715, allocations: 4 kB / 420.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.1716, allocations: 19.92 kB / 420.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1716, allocations: 0 / 420.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.78e-05/0.1717, allocations: 0 / 420.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.1717, allocations: 4 kB / 420.1 MB, free: 2.012 MB / 350.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.838e-05/0.1718, allocations: 117.8 kB / 420.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.1718, allocations: 7.906 kB / 420.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.172, allocations: 97.48 kB / 420.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.172, allocations: 4 kB / 420.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.172, allocations: 0 / 420.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1721, allocations: 4 kB / 420.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.1722, allocations: 177.6 kB / 420.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1722, allocations: 4 kB / 420.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.1723, allocations: 8 kB / 420.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1723, allocations: 0 / 420.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.1723, allocations: 4 kB / 420.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1723, allocations: 384 / 420.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1723, allocations: 0 / 420.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.1725, allocations: 121.8 kB / 420.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.1726, allocations: 89.03 kB / 420.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1726, allocations: 7.922 kB / 420.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.1727, allocations: 4.188 kB / 420.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.1727, allocations: 8 kB / 420.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1727, allocations: 7.984 kB / 420.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.09e-05/0.1728, allocations: 119.2 kB / 420.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1728, allocations: 0 / 420.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00263/0.1755, allocations: 0.929 MB / 421.8 MB, free: 220 kB / 350.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.004919/0.1804, allocations: 1.341 MB / 423.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.1806, allocations: 47.97 kB / 423.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.1806, allocations: 4 kB / 423.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.1807, allocations: 27.92 kB / 423.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.181, allocations: 15.98 kB / 423.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.1814, allocations: 168.6 kB / 423.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1817, allocations: 0.7 MB / 424.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.721e-05/0.1818, allocations: 11.98 kB / 424.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.1818, allocations: 19.44 kB / 424.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of SimCode: time 1.653e-06/0.1818, allocations: 0 / 424.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of Templates: time 0.04031/0.2221, allocations: 28.54 MB / 452.6 MB, free: 1.219 MB / 382.1 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)