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.00512/0.00512, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.001223/0.001223, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.37/1.37, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.001206/0.001206, allocations: 50.64 kB / 326.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0861/0.08731, allocations: 46.63 MB / 373.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002326/0.08968, allocations: 1.358 MB / 374.5 MB, free: 76 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02653/0.1162, allocations: 23.67 MB / 398.2 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.1163, allocations: 0 / 398.2 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.1165, allocations: 7.938 kB / 398.2 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01389/0.1304, allocations: 5.636 MB / 403.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007242/0.1312, allocations: 350.7 kB / 404.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.1313, allocations: 75.69 kB / 404.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.1313, allocations: 7.938 kB / 404.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.1314, allocations: 39.83 kB / 404.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/0.1315, allocations: 31.91 kB / 404.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1315, allocations: 4 kB / 404.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01435/0.1459, allocations: 8.746 MB / 413.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.146, allocations: 15.97 kB / 413.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.146, allocations: 31.86 kB / 413.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00895/0.155, allocations: 4.358 MB / 417.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.155, allocations: 4 kB / 417.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.155, allocations: 0 / 417.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.1551, allocations: 0 / 417.5 MB, free: 4.969 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.002612/0.1577, allocations: 0.9278 MB / 418.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1577, allocations: 8.031 kB / 418.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.1578, allocations: 8.891 kB / 418.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.158, allocations: 207.8 kB / 418.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.158, allocations: 0 / 418.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.158, allocations: 4 kB / 418.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.1582, allocations: 75.33 kB / 418.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1582, allocations: 0 / 418.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1582, allocations: 0 / 418.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1583, allocations: 7.984 kB / 418.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1584, allocations: 27.98 kB / 418.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.1586, allocations: 194.5 kB / 418.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.159, allocations: 101.2 kB / 419 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.428e-05/0.1591, allocations: 29.7 kB / 419.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.532e-05/0.1591, allocations: 8 kB / 419.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1592, allocations: 38.56 kB / 419.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1592, allocations: 7.938 kB / 419.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003344/0.1595, allocations: 97.55 kB / 419.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.1596, allocations: 81.11 kB / 419.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.1597, allocations: 141.8 kB / 419.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.1597, allocations: 33.64 kB / 419.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.1598, allocations: 80.14 kB / 419.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.1598, allocations: 19.86 kB / 419.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.1599, allocations: 25.7 kB / 419.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.16, allocations: 322.8 kB / 419.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.541e-05/0.1601, allocations: 15.98 kB / 419.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.417e-05/0.1602, allocations: 29.7 kB / 420 MB, free: 2.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1603, allocations: 45.7 kB / 420 MB, free: 2.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1603, allocations: 0 / 420 MB, free: 2.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001868/0.1605, allocations: 97.95 kB / 420.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1605, allocations: 4 kB / 420.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1605, allocations: 0 / 420.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1605, allocations: 0 / 420.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.1606, allocations: 12 kB / 420.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1606, allocations: 0 / 420.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.1607, allocations: 3.938 kB / 420.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.1607, allocations: 11.98 kB / 420.1 MB, free: 2.07 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.376e-05/0.1608, allocations: 121.7 kB / 420.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.1608, allocations: 0 / 420.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.161, allocations: 101.5 kB / 420.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1611, allocations: 3.984 kB / 420.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1611, allocations: 128 / 420.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1611, allocations: 0 / 420.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1612, allocations: 185.6 kB / 420.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1612, allocations: 4 kB / 420.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.1613, allocations: 11.98 kB / 420.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1613, allocations: 0 / 420.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1613, allocations: 4 kB / 420.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1613, allocations: 4.375 kB / 420.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1613, allocations: 0 / 420.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.1615, allocations: 117.8 kB / 420.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.1616, allocations: 85.09 kB / 420.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1616, allocations: 3.938 kB / 420.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.1617, allocations: 15.98 kB / 420.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.1618, allocations: 0 / 420.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1618, allocations: 4 kB / 420.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.145e-05/0.1619, allocations: 115.2 kB / 420.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1619, allocations: 0 / 420.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002478/0.1644, allocations: 0.943 MB / 421.8 MB, free: 268 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.004979/0.1693, allocations: 1.348 MB / 423.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.1696, allocations: 47.91 kB / 423.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1696, allocations: 0 / 423.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.018e-05/0.1697, allocations: 27.98 kB / 423.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.1699, allocations: 15.98 kB / 423.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.1703, allocations: 188.4 kB / 423.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1706, allocations: 0.6922 MB / 424.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.448e-05/0.1707, allocations: 11.98 kB / 424.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.1707, allocations: 19.44 kB / 424.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1707, allocations: 0 / 424.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of Templates: time 0.04276/0.2135, allocations: 28.52 MB / 452.7 MB, free: 1.277 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)