Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.007078/0.007078, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001715/0.001715, allocations: 191 kB / 16.67 MB, free: 5.969 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.368/1.368, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001265/0.001265, allocations: 49.86 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07951/0.08078, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002301/0.08313, allocations: 1.361 MB / 374.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02811/0.1113, allocations: 23.68 MB / 398.2 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.1114, allocations: 0 / 398.2 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.1115, allocations: 7.922 kB / 398.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01475/0.1263, allocations: 5.643 MB / 403.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008726/0.1272, allocations: 354.8 kB / 404.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.1274, allocations: 79.62 kB / 404.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.1274, allocations: 0 / 404.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.137e-05/0.1275, allocations: 39.89 kB / 404.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1276, allocations: 39.89 kB / 404.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1276, allocations: 7.938 kB / 404.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01681/0.1445, allocations: 8.742 MB / 413.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.571e-05/0.1446, allocations: 11.98 kB / 413.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.1447, allocations: 31.84 kB / 413.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.157, allocations: 4.347 MB / 417.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1571, allocations: 0 / 417.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1571, allocations: 0 / 417.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1571, allocations: 0 / 417.5 MB, free: 4.832 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.0027/0.1598, allocations: 0.8968 MB / 418.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1599, allocations: 16.03 kB / 418.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.082e-05/0.16, allocations: 8.844 kB / 418.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1602, allocations: 203.8 kB / 418.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1602, allocations: 0 / 418.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1602, allocations: 0 / 418.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.1604, allocations: 71.39 kB / 418.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1605, allocations: 0 / 418.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1605, allocations: 0 / 418.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1605, allocations: 4 kB / 418.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1606, allocations: 39.91 kB / 418.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.1609, allocations: 194.4 kB / 418.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1612, allocations: 93.17 kB / 419 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/0.1613, allocations: 29.78 kB / 419 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.648e-05/0.1613, allocations: 15.92 kB / 419.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.1614, allocations: 34.56 kB / 419.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1614, allocations: 0 / 419.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003244/0.1617, allocations: 101.9 kB / 419.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1618, allocations: 77.11 kB / 419.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.1619, allocations: 153.7 kB / 419.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1619, allocations: 25.7 kB / 419.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.162, allocations: 88.12 kB / 419.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.162, allocations: 19.66 kB / 419.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.1621, allocations: 17.72 kB / 419.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1622, allocations: 326.8 kB / 419.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.1622, allocations: 15.98 kB / 419.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/0.1623, allocations: 33.7 kB / 419.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1624, allocations: 53.64 kB / 420 MB, free: 2.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1625, allocations: 0 / 420 MB, free: 2.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001746/0.1626, allocations: 77.56 kB / 420.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1627, allocations: 8 kB / 420.1 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1627, allocations: 3.938 kB / 420.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1627, allocations: 0 / 420.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.1628, allocations: 12 kB / 420.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1628, allocations: 4 kB / 420.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.1628, allocations: 4 kB / 420.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1628, allocations: 4 kB / 420.1 MB, free: 1.973 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.718e-05/0.1629, allocations: 113.8 kB / 420.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.1629, allocations: 7.906 kB / 420.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.1632, allocations: 97.5 kB / 420.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.1632, allocations: 0 / 420.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.1632, allocations: 7.984 kB / 420.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1632, allocations: 128 / 420.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.1634, allocations: 185.6 kB / 420.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1634, allocations: 0 / 420.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/0.1635, allocations: 15.98 kB / 420.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1635, allocations: 0 / 420.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1635, allocations: 0 / 420.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1635, allocations: 0 / 420.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1635, allocations: 7.938 kB / 420.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.1638, allocations: 117.8 kB / 420.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.1638, allocations: 89.27 kB / 420.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1639, allocations: 384 / 420.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.164, allocations: 4 kB / 420.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.164, allocations: 15.91 kB / 420.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.164, allocations: 4 kB / 420.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.428e-05/0.1641, allocations: 115.2 kB / 420.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1641, allocations: 4 kB / 420.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003121/0.1673, allocations: 0.9251 MB / 421.8 MB, free: 180 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.005671/0.173, allocations: 1.345 MB / 423.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.1733, allocations: 43.97 kB / 423.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.1733, allocations: 4 kB / 423.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.1734, allocations: 31.92 kB / 423.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.1736, allocations: 15.98 kB / 423.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.1742, allocations: 180.6 kB / 423.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.1744, allocations: 0.6999 MB / 424.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.656e-05/0.1745, allocations: 11.97 kB / 424.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.1745, allocations: 15.44 kB / 424.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1745, allocations: 0 / 424.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Templates: time 0.04142/0.216, allocations: 28.5 MB / 452.6 MB, free: 1.207 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1)