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.001364/0.001364, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001276/0.001276, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7684/0.7684, allocations: 135.1 MB / 426.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.89 kB / 0.5068 GB, free: 7.723 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3927, allocations: 80.9 MB / 0.5858 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1575/0.5503, allocations: 147.8 MB / 0.7301 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000159/0.5505, allocations: 55.81 kB / 0.7302 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.5506, allocations: 0 / 0.7302 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.5507, allocations: 11.98 kB / 0.7302 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.813e-05/0.5509, allocations: 11.86 kB / 0.7302 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.5514, allocations: 107.6 kB / 0.7303 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.186e-05/0.5515, allocations: 31.91 kB / 0.7303 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.5515, allocations: 7.984 kB / 0.7304 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.5516, allocations: 12 kB / 0.7304 GB, free: 6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.31e-05/0.5517, allocations: 23.91 kB / 0.7304 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.5517, allocations: 3.938 kB / 0.7304 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.5519, allocations: 75.73 kB / 0.7305 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.552, allocations: 15.97 kB / 0.7305 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.552, allocations: 4 kB / 0.7305 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.5522, allocations: 71.86 kB / 0.7306 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.5522, allocations: 3.984 kB / 0.7306 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5522, allocations: 0 / 0.7306 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.5522, allocations: 0 / 0.7306 GB, free: 5.805 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.0004457/0.5527, allocations: 345.1 kB / 0.7309 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.5527, allocations: 9.109 kB / 0.7309 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.553, allocations: 16.92 kB / 0.7309 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.5531, allocations: 164.4 kB / 0.7311 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.489e-05/0.5532, allocations: 37.62 kB / 0.7311 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.5532, allocations: 0 / 0.7311 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.5534, allocations: 57.61 kB / 0.7312 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.5534, allocations: 0 / 0.7312 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.5534, allocations: 0 / 0.7312 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.5534, allocations: 0 / 0.7312 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.454e-05/0.5535, allocations: 19.98 kB / 0.7312 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.5538, allocations: 264.8 kB / 0.7314 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.658e-05/0.5539, allocations: 18.58 kB / 0.7314 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.5539, allocations: 8.922 kB / 0.7315 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.5539, allocations: 3.938 kB / 0.7315 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.554, allocations: 30.56 kB / 0.7315 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.554, allocations: 0 / 0.7315 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000132/0.5541, allocations: 37.7 kB / 0.7315 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.5541, allocations: 55.34 kB / 0.7316 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.468e-05/0.5542, allocations: 110 kB / 0.7317 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.5543, allocations: 29.64 kB / 0.7317 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.5543, allocations: 87.98 kB / 0.7318 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.5543, allocations: 11.89 kB / 0.7318 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.5544, allocations: 13.72 kB / 0.7318 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5545, allocations: 314.8 kB / 0.7321 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.5545, allocations: 0 / 0.7321 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/0.5545, allocations: 38.5 kB / 0.7322 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.5546, allocations: 26.58 kB / 0.7322 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5546, allocations: 0 / 0.7322 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.46e-05/0.5547, allocations: 53.62 kB / 0.7322 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5547, allocations: 4 kB / 0.7322 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.5547, allocations: 4.344 kB / 0.7322 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5547, allocations: 4 kB / 0.7322 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.218e-05/0.5548, allocations: 11.94 kB / 0.7323 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.5548, allocations: 3.938 kB / 0.7323 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.5548, allocations: 4 kB / 0.7323 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.5548, allocations: 0 / 0.7323 GB, free: 3.816 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.714e-05/0.5549, allocations: 117.8 kB / 0.7324 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.555, allocations: 3.906 kB / 0.7324 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.465e-05/0.555, allocations: 3.219 kB / 0.7324 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.555, allocations: 11.98 kB / 0.7324 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.555, allocations: 3.938 kB / 0.7324 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.555, allocations: 0 / 0.7324 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.5552, allocations: 346.7 kB / 0.7327 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5553, allocations: 0 / 0.7327 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/0.5553, allocations: 0 / 0.7327 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.5553, allocations: 7.875 kB / 0.7327 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.5553, allocations: 4 kB / 0.7327 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5553, allocations: 0 / 0.7327 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5553, allocations: 4.031 kB / 0.7327 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.68e-05/0.5554, allocations: 53.14 kB / 0.7328 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.5554, allocations: 89.03 kB / 0.7329 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.5554, allocations: 0 / 0.7329 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.338e-05/0.5555, allocations: 4 kB / 0.7329 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.5555, allocations: 0 / 0.7329 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.5555, allocations: 0 / 0.7329 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.5556, allocations: 91.3 kB / 0.733 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.074e-06/0.5556, allocations: 0 / 0.733 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000187/0.5558, allocations: 11.94 kB / 0.733 GB, free: 2.977 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 9.309e-05/0.5559, allocations: 95.25 kB / 0.7331 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.556, allocations: 12 kB / 0.7331 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.556, allocations: 0 / 0.7331 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.472e-06/0.556, allocations: 8.125 kB / 0.7331 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.5562, allocations: 12.05 kB / 0.7331 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.5565, allocations: 114.4 kB / 0.7332 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.5567, allocations: 0.6729 MB / 0.7339 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.332e-05/0.5568, allocations: 7.984 kB / 0.7339 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.5568, allocations: 11.44 kB / 0.7339 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5568, allocations: 0 / 0.7339 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of Templates: time 0.002413/0.5592, allocations: 0.4972 MB / 0.7344 GB, free: 1.523 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)