Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.001226, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 194.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7241/0.7241, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 65.06 kB / 0.5018 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4823/0.4836, allocations: 80.2 MB / 0.5801 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1773/0.6609, allocations: 147.8 MB / 0.7245 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001727/0.6611, allocations: 51.86 kB / 0.7245 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.6612, allocations: 0 / 0.7245 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.6613, allocations: 11.92 kB / 0.7245 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.532e-05/0.6615, allocations: 3.984 kB / 0.7245 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.662, allocations: 108.3 kB / 0.7246 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.118e-05/0.6621, allocations: 39.91 kB / 0.7247 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.6622, allocations: 7.922 kB / 0.7247 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.679e-05/0.6622, allocations: 19.86 kB / 0.7247 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.903e-05/0.6623, allocations: 11.98 kB / 0.7247 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.6623, allocations: 0 / 0.7247 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.6627, allocations: 83.72 kB / 0.7248 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.6627, allocations: 7.984 kB / 0.7248 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.6628, allocations: 11.94 kB / 0.7248 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.663, allocations: 73.81 kB / 0.7249 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.663, allocations: 0 / 0.7249 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.663, allocations: 0 / 0.7249 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.663, allocations: 7.984 kB / 0.7249 GB, free: 12.74 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004382/0.6634, allocations: 339.4 kB / 0.7252 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.6635, allocations: 8.031 kB / 0.7252 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.6637, allocations: 16.92 kB / 0.7252 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.6639, allocations: 164.4 kB / 0.7254 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.035e-05/0.6639, allocations: 37.58 kB / 0.7254 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.664, allocations: 4 kB / 0.7254 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.6641, allocations: 49.67 kB / 0.7255 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6641, allocations: 0 / 0.7255 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.6642, allocations: 3.984 kB / 0.7255 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.6642, allocations: 0 / 0.7255 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.6642, allocations: 19.98 kB / 0.7255 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.6647, allocations: 264.8 kB / 0.7257 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.483e-05/0.6647, allocations: 26.52 kB / 0.7258 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/0.6647, allocations: 4.859 kB / 0.7258 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.6648, allocations: 0 / 0.7258 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.6648, allocations: 30.56 kB / 0.7258 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.6648, allocations: 0 / 0.7258 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001388/0.6649, allocations: 33.77 kB / 0.7258 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.665, allocations: 63.41 kB / 0.7259 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.6651, allocations: 105.8 kB / 0.726 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.6651, allocations: 25.7 kB / 0.726 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.6652, allocations: 91.98 kB / 0.7261 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.888e-06/0.6652, allocations: 15.83 kB / 0.7261 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.6652, allocations: 21.7 kB / 0.7261 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.6653, allocations: 310.8 kB / 0.7264 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.6653, allocations: 4 kB / 0.7264 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.6654, allocations: 30.56 kB / 0.7265 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.074e-05/0.6654, allocations: 26.52 kB / 0.7265 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6654, allocations: 0 / 0.7265 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.325e-05/0.6655, allocations: 57.72 kB / 0.7266 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.6655, allocations: 8 kB / 0.7266 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6656, allocations: 0 / 0.7266 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6656, allocations: 7.938 kB / 0.7266 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.6656, allocations: 4 kB / 0.7266 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.6657, allocations: 3.938 kB / 0.7266 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.6657, allocations: 4 kB / 0.7266 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.6657, allocations: 0 / 0.7266 GB, free: 10.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.177e-05/0.6658, allocations: 115.4 kB / 0.7267 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.6658, allocations: 3.906 kB / 0.7267 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.6658, allocations: 15.12 kB / 0.7267 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6659, allocations: 256 / 0.7267 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6659, allocations: 3.938 kB / 0.7267 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6659, allocations: 4 kB / 0.7267 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.6661, allocations: 342.7 kB / 0.727 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6661, allocations: 3.984 kB / 0.7271 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.285e-05/0.6661, allocations: 0 / 0.7271 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.6662, allocations: 7.938 kB / 0.7271 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.6662, allocations: 4.031 kB / 0.7271 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6662, allocations: 0 / 0.7271 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6662, allocations: 0 / 0.7271 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.443e-05/0.6663, allocations: 61.08 kB / 0.7271 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.6663, allocations: 81.05 kB / 0.7272 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.6663, allocations: 3.984 kB / 0.7272 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.6664, allocations: 4 kB / 0.7272 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.6664, allocations: 4.031 kB / 0.7272 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.6664, allocations: 0 / 0.7272 GB, free: 10 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.118e-05/0.6665, allocations: 83.27 kB / 0.7273 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.382e-06/0.6665, allocations: 0 / 0.7273 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001942/0.6667, allocations: 15.94 kB / 0.7273 GB, free: 9.906 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001008/0.6668, allocations: 95.25 kB / 0.7274 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.766e-05/0.6669, allocations: 8 kB / 0.7274 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6669, allocations: 8.125 kB / 0.7274 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.332e-06/0.6669, allocations: 4 kB / 0.7274 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.6671, allocations: 9.703 kB / 0.7274 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.6674, allocations: 118.4 kB / 0.7275 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.6677, allocations: 0.6729 MB / 0.7282 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.922e-05/0.6677, allocations: 16.12 kB / 0.7282 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.6677, allocations: 7.438 kB / 0.7282 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.6678, allocations: 0 / 0.7282 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.002482/0.6702, allocations: 0.5056 MB / 0.7287 GB, free: 8.441 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)