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.005337/0.005337, allocations: 98.11 kB / 15.73 MB, free: 6.023 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.001259/0.001259, allocations: 190.2 kB / 16.67 MB, free: 5.957 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.367/1.367, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.001168/0.001168, allocations: 54.86 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09559, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002437/0.09806, allocations: 1.35 MB / 374.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02987/0.1279, allocations: 23.68 MB / 398.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.128, allocations: 0 / 398.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.1282, allocations: 7.922 kB / 398.2 MB, free: 8.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01431/0.1426, allocations: 5.647 MB / 403.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007782/0.1434, allocations: 358.8 kB / 404.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.1435, allocations: 79.62 kB / 404.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.1436, allocations: 3.938 kB / 404.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.239e-05/0.1436, allocations: 31.91 kB / 404.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.063e-05/0.1437, allocations: 35.91 kB / 404.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1437, allocations: 4 kB / 404.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/0.1596, allocations: 8.754 MB / 413.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.1597, allocations: 11.98 kB / 413.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.1598, allocations: 31.84 kB / 413.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.1706, allocations: 4.354 MB / 417.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.1707, allocations: 3.984 kB / 417.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1707, allocations: 4 kB / 417.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1707, allocations: 0 / 417.5 MB, free: 4.84 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.002419/0.1731, allocations: 0.9278 MB / 418.4 MB, free: 3.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1732, allocations: 8.031 kB / 418.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.1732, allocations: 12.89 kB / 418.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.1734, allocations: 199.9 kB / 418.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1734, allocations: 0 / 418.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.1734, allocations: 4 kB / 418.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1736, allocations: 75.33 kB / 418.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1736, allocations: 0 / 418.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1737, allocations: 0 / 418.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1737, allocations: 7.984 kB / 418.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.1738, allocations: 35.97 kB / 418.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.174, allocations: 190.5 kB / 419 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.1743, allocations: 101.2 kB / 419.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.791e-05/0.1744, allocations: 25.7 kB / 419.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.209e-05/0.1744, allocations: 19.92 kB / 419.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1745, allocations: 38.5 kB / 419.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.435e-06/0.1745, allocations: 4 kB / 419.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000297/0.1748, allocations: 93.61 kB / 419.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.1748, allocations: 85.05 kB / 419.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.175, allocations: 137.8 kB / 419.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.175, allocations: 29.64 kB / 419.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.175, allocations: 84.14 kB / 419.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1751, allocations: 19.84 kB / 419.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.1751, allocations: 17.72 kB / 419.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1752, allocations: 330.8 kB / 419.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.1753, allocations: 12 kB / 419.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.237e-05/0.1754, allocations: 29.7 kB / 420 MB, free: 2.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1755, allocations: 57.62 kB / 420 MB, free: 2.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1755, allocations: 0 / 420 MB, free: 2.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001727/0.1757, allocations: 81.62 kB / 420.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1757, allocations: 5.094 kB / 420.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1757, allocations: 0 / 420.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1757, allocations: 0 / 420.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.1758, allocations: 19.92 kB / 420.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1758, allocations: 0 / 420.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.1759, allocations: 8.406 kB / 420.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1759, allocations: 4 kB / 420.1 MB, free: 1.945 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.137e-05/0.176, allocations: 113.8 kB / 420.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.176, allocations: 4 kB / 420.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.1762, allocations: 109.4 kB / 420.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1762, allocations: 0 / 420.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1762, allocations: 0 / 420.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1763, allocations: 0 / 420.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.1764, allocations: 189.7 kB / 420.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1764, allocations: 0 / 420.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.1765, allocations: 12 kB / 420.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1765, allocations: 384 / 420.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.1765, allocations: 0 / 420.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1765, allocations: 15.97 kB / 420.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1765, allocations: 0 / 420.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.1767, allocations: 121.7 kB / 420.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.1768, allocations: 85.09 kB / 420.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.1768, allocations: 4 kB / 420.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.1769, allocations: 4 kB / 420.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.177, allocations: 7.984 kB / 420.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.177, allocations: 4 kB / 420.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.871e-05/0.177, allocations: 111.2 kB / 420.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1771, allocations: 0 / 420.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002488/0.1795, allocations: 0.9469 MB / 421.9 MB, free: 132 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.004036/0.1836, allocations: 1.344 MB / 423.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.1838, allocations: 55.89 kB / 423.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1838, allocations: 0 / 423.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.967e-05/0.1839, allocations: 27.92 kB / 423.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.1841, allocations: 15.98 kB / 423.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.1846, allocations: 184.4 kB / 423.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1849, allocations: 0.6883 MB / 424.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.207e-05/0.1849, allocations: 11.98 kB / 424.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.185, allocations: 19.42 kB / 424.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.185, allocations: 4 kB / 424.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of Templates: time 0.03932/0.2243, allocations: 28.52 MB / 452.7 MB, free: 1.137 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)