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.001416/0.001417, allocations: 99.58 kB / 16.35 MB, free: 6.289 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.00155/0.00155, allocations: 196.2 kB / 17.3 MB, free: 5.863 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7969/0.7969, allocations: 135.1 MB / 426.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 0.5067 GB, free: 7.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3557, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.147/0.5027, allocations: 147.8 MB / 0.7301 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001495/0.5029, allocations: 55.73 kB / 0.7302 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.503, allocations: 0 / 0.7302 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.5031, allocations: 3.938 kB / 0.7302 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.861e-05/0.5032, allocations: 11.97 kB / 0.7302 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.5038, allocations: 103.6 kB / 0.7303 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.206e-05/0.5039, allocations: 43.78 kB / 0.7303 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.5039, allocations: 0 / 0.7303 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.728e-05/0.504, allocations: 19.97 kB / 0.7304 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.504, allocations: 8 kB / 0.7304 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.5041, allocations: 0 / 0.7304 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.5043, allocations: 79.72 kB / 0.7304 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.5044, allocations: 19.92 kB / 0.7305 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.5044, allocations: 11.94 kB / 0.7305 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.5046, allocations: 75.83 kB / 0.7305 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.5046, allocations: 0 / 0.7305 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5046, allocations: 0 / 0.7305 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.5046, allocations: 0 / 0.7305 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.0003851/0.505, allocations: 343.3 kB / 0.7309 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.505, allocations: 9.109 kB / 0.7309 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.5053, allocations: 20.92 kB / 0.7309 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.5054, allocations: 164.3 kB / 0.7311 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.5055, allocations: 37.64 kB / 0.7311 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.5055, allocations: 0 / 0.7311 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.5056, allocations: 49.67 kB / 0.7311 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.5056, allocations: 0 / 0.7311 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.5057, allocations: 0 / 0.7311 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.5057, allocations: 4 kB / 0.7311 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.032e-05/0.5057, allocations: 19.98 kB / 0.7312 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.5061, allocations: 266.6 kB / 0.7314 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.635e-05/0.5062, allocations: 22.52 kB / 0.7314 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.5062, allocations: 4.859 kB / 0.7314 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.5062, allocations: 0 / 0.7314 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.5062, allocations: 34.62 kB / 0.7315 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 5.841e-06/0.5062, allocations: 4 kB / 0.7315 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001306/0.5064, allocations: 45.56 kB / 0.7315 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.5064, allocations: 55.34 kB / 0.7316 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.843e-05/0.5065, allocations: 105.8 kB / 0.7317 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.5065, allocations: 25.7 kB / 0.7317 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.5066, allocations: 91.98 kB / 0.7318 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-06/0.5066, allocations: 7.906 kB / 0.7318 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.5066, allocations: 17.84 kB / 0.7318 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.5067, allocations: 314.8 kB / 0.7321 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.5067, allocations: 8 kB / 0.7321 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.5068, allocations: 18.58 kB / 0.7321 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.5068, allocations: 38.5 kB / 0.7322 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5068, allocations: 0 / 0.7322 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.58e-05/0.5069, allocations: 49.64 kB / 0.7322 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.5069, allocations: 8 kB / 0.7322 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5069, allocations: 3.984 kB / 0.7322 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.507, allocations: 0 / 0.7322 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/0.507, allocations: 4 kB / 0.7322 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.507, allocations: 7.938 kB / 0.7322 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.542e-05/0.5071, allocations: 96 / 0.7322 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.5071, allocations: 11.94 kB / 0.7323 GB, free: 3.809 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.747e-05/0.5072, allocations: 109.8 kB / 0.7324 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.5072, allocations: 7.906 kB / 0.7324 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.5072, allocations: 3.125 kB / 0.7324 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5072, allocations: 3.984 kB / 0.7324 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5072, allocations: 3.938 kB / 0.7324 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5072, allocations: 4.078 kB / 0.7324 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.5075, allocations: 346.7 kB / 0.7327 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5075, allocations: 0 / 0.7327 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.425e-05/0.5075, allocations: 4 kB / 0.7327 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5075, allocations: 3.938 kB / 0.7327 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.5075, allocations: 256 / 0.7327 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5075, allocations: 4 kB / 0.7327 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.5075, allocations: 0 / 0.7327 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.063e-05/0.5076, allocations: 69.09 kB / 0.7328 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.5077, allocations: 81.05 kB / 0.7329 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.5077, allocations: 3.938 kB / 0.7329 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.759e-05/0.5078, allocations: 7.984 kB / 0.7329 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.5078, allocations: 0 / 0.7329 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.5078, allocations: 0 / 0.7329 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.647e-05/0.5079, allocations: 83.28 kB / 0.733 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5079, allocations: 0 / 0.733 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001899/0.5081, allocations: 8 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.153e-05/0.5082, allocations: 103.3 kB / 0.7331 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.156e-05/0.5082, allocations: 19.94 kB / 0.7331 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5083, allocations: 0 / 0.7331 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/0.5083, allocations: 0 / 0.7331 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.5085, allocations: 4.562 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.0002402/0.5087, allocations: 113.5 kB / 0.7332 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.509, allocations: 0.6807 MB / 0.7339 GB, free: 2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.342e-05/0.509, allocations: 4 kB / 0.7339 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.509, allocations: 11.44 kB / 0.7339 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of SimCode: time 1.8e-07/0.509, allocations: 0 / 0.7339 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of Templates: time 0.002631/0.5117, allocations: 0.5104 MB / 0.7344 GB, free: 1.512 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)