Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001547/0.001547, allocations: 110.6 kB / 16.27 MB, free: 5.984 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.001558/0.001558, allocations: 189 kB / 17.2 MB, free: 5.609 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8262/0.8262, allocations: 135.2 MB / 426.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 67.89 kB / 0.506 GB, free: 8.328 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3488, allocations: 80.91 MB / 0.5851 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1816/0.5304, allocations: 147.8 MB / 0.7294 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001588/0.5306, allocations: 63.78 kB / 0.7295 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.5306, allocations: 0 / 0.7295 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.5307, allocations: 0 / 0.7295 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.676e-05/0.5308, allocations: 11.92 kB / 0.7295 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.5313, allocations: 111.6 kB / 0.7296 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.712e-05/0.5314, allocations: 31.91 kB / 0.7296 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.5315, allocations: 4 kB / 0.7296 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.5315, allocations: 15.88 kB / 0.7296 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.5316, allocations: 15.97 kB / 0.7297 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.5316, allocations: 4 kB / 0.7297 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.5319, allocations: 79.72 kB / 0.7297 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.5319, allocations: 11.98 kB / 0.7298 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.532, allocations: 7.938 kB / 0.7298 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.5322, allocations: 81.8 kB / 0.7298 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5322, allocations: 4 kB / 0.7298 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5322, allocations: 0 / 0.7298 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.5322, allocations: 0 / 0.7298 GB, free: 5.773 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.0005169/0.5327, allocations: 335.4 kB / 0.7302 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5328, allocations: 13.11 kB / 0.7302 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.5331, allocations: 20.91 kB / 0.7302 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.5332, allocations: 160.4 kB / 0.7304 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.617e-05/0.5333, allocations: 33.64 kB / 0.7304 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.5333, allocations: 4 kB / 0.7304 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.5335, allocations: 49.61 kB / 0.7304 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.5335, allocations: 0 / 0.7304 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.5335, allocations: 4 kB / 0.7304 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.5335, allocations: 0 / 0.7304 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.872e-05/0.5336, allocations: 19.98 kB / 0.7305 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.534, allocations: 264.8 kB / 0.7307 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/0.5341, allocations: 18.52 kB / 0.7307 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.5341, allocations: 4.922 kB / 0.7307 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.5341, allocations: 4 kB / 0.7307 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.5342, allocations: 34.5 kB / 0.7308 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5342, allocations: 0 / 0.7308 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001313/0.5343, allocations: 37.7 kB / 0.7308 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.5344, allocations: 55.34 kB / 0.7309 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.853e-05/0.5345, allocations: 105.8 kB / 0.731 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.5345, allocations: 29.7 kB / 0.731 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.5346, allocations: 91.97 kB / 0.7311 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/0.5346, allocations: 7.844 kB / 0.7311 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.5346, allocations: 17.72 kB / 0.7311 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5348, allocations: 314.9 kB / 0.7314 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.5348, allocations: 12 kB / 0.7314 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.5348, allocations: 22.56 kB / 0.7314 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/0.5349, allocations: 26.58 kB / 0.7315 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.5349, allocations: 0 / 0.7315 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.984e-05/0.535, allocations: 65.56 kB / 0.7315 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.535, allocations: 4 kB / 0.7315 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.535, allocations: 0 / 0.7315 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.535, allocations: 0 / 0.7315 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.988e-05/0.5351, allocations: 8 kB / 0.7315 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5351, allocations: 7.922 kB / 0.7315 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.728e-05/0.5352, allocations: 256 / 0.7315 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.5352, allocations: 4 kB / 0.7315 GB, free: 3.789 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 9.935e-05/0.5353, allocations: 113.9 kB / 0.7317 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.5353, allocations: 7.906 kB / 0.7317 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.5353, allocations: 7.219 kB / 0.7317 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5354, allocations: 3.984 kB / 0.7317 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5354, allocations: 3.938 kB / 0.7317 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5354, allocations: 0 / 0.7317 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.5357, allocations: 346.7 kB / 0.732 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.5357, allocations: 4 kB / 0.732 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-05/0.5357, allocations: 0 / 0.732 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5357, allocations: 7.969 kB / 0.732 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.5357, allocations: 0 / 0.732 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.5357, allocations: 0 / 0.732 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5357, allocations: 0 / 0.732 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.645e-05/0.5358, allocations: 61.12 kB / 0.7321 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.5359, allocations: 81.05 kB / 0.7322 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.5359, allocations: 4 kB / 0.7322 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.304e-05/0.536, allocations: 4.031 kB / 0.7322 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.536, allocations: 3.938 kB / 0.7322 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.536, allocations: 4 kB / 0.7322 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000131/0.5362, allocations: 87.27 kB / 0.7322 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5362, allocations: 3.938 kB / 0.7323 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001828/0.5364, allocations: 4 kB / 0.7323 GB, free: 2.953 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.0001098/0.5365, allocations: 99.25 kB / 0.7324 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.503e-05/0.5366, allocations: 23.92 kB / 0.7324 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5366, allocations: 0 / 0.7324 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.582e-06/0.5366, allocations: 3.938 kB / 0.7324 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.5369, allocations: 4 kB / 0.7324 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.5372, allocations: 148.1 kB / 0.7325 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.5375, allocations: 0.6768 MB / 0.7332 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.5375, allocations: 7.688 kB / 0.7332 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5375, allocations: 4 kB / 0.7332 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of Templates: time 0.002034/0.5396, allocations: 0.5632 MB / 0.7337 GB, free: 1.367 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)