Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005993/0.005993, allocations: 100 kB / 15.73 MB, free: 6.051 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.001213/0.001214, allocations: 198.9 kB / 16.68 MB, free: 5.965 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.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8289/0.8289, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 58.78 kB / 0.5813 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1827, allocations: 80.21 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.571/0.7538, allocations: 148.3 MB / 0.8044 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001687/0.754, allocations: 60.95 kB / 0.8045 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.7541, allocations: 0 / 0.8045 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.7542, allocations: 0 / 0.8045 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.173e-05/0.7544, allocations: 17.09 kB / 0.8045 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009829/0.7554, allocations: 214.3 kB / 0.8047 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.949e-05/0.7555, allocations: 37.47 kB / 0.8048 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.7555, allocations: 3.781 kB / 0.8048 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.7555, allocations: 12.59 kB / 0.8048 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.7556, allocations: 20.77 kB / 0.8048 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.7556, allocations: 1.188 kB / 0.8048 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.756, allocations: 195.2 kB / 0.805 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.7561, allocations: 10.78 kB / 0.805 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.7561, allocations: 11.53 kB / 0.805 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.7564, allocations: 117.3 kB / 0.8051 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7564, allocations: 0.9375 kB / 0.8051 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7564, allocations: 0 / 0.8051 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.7564, allocations: 1.094 kB / 0.8051 GB, free: 11.91 MB / 0.5919 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.0004254/0.7569, allocations: 343.9 kB / 0.8054 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.7569, allocations: 12.25 kB / 0.8055 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003019/0.7572, allocations: 25.64 kB / 0.8055 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.7573, allocations: 167.6 kB / 0.8056 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.985e-05/0.7574, allocations: 35.14 kB / 0.8057 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.7574, allocations: 5.312 kB / 0.8057 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.7576, allocations: 48.48 kB / 0.8057 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.7576, allocations: 0 / 0.8057 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.7576, allocations: 0 / 0.8057 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.7576, allocations: 8.891 kB / 0.8057 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.743e-05/0.7577, allocations: 19.5 kB / 0.8058 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.7581, allocations: 264.7 kB / 0.806 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.851e-05/0.7581, allocations: 22.39 kB / 0.806 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.7582, allocations: 11.02 kB / 0.806 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.7584, allocations: 89.12 kB / 0.8061 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.7584, allocations: 38.59 kB / 0.8062 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.7584, allocations: 4 kB / 0.8062 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.00026/0.7587, allocations: 47.61 kB / 0.8062 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.7587, allocations: 54.97 kB / 0.8063 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.7588, allocations: 102.8 kB / 0.8064 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.7588, allocations: 25.7 kB / 0.8064 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.7589, allocations: 93.64 kB / 0.8065 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.248e-06/0.7589, allocations: 5.062 kB / 0.8065 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.759, allocations: 24.28 kB / 0.8065 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7591, allocations: 312.1 kB / 0.8068 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.7591, allocations: 4.844 kB / 0.8068 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.15e-05/0.7592, allocations: 26.95 kB / 0.8068 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/0.7592, allocations: 32.77 kB / 0.8069 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7592, allocations: 1.438 kB / 0.8069 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.446e-05/0.7593, allocations: 56.97 kB / 0.8069 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.7593, allocations: 5.25 kB / 0.8069 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.7593, allocations: 1.312 kB / 0.8069 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.7594, allocations: 1.438 kB / 0.8069 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.7594, allocations: 5.062 kB / 0.8069 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.7594, allocations: 5.125 kB / 0.8069 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.7595, allocations: 9.094 kB / 0.8069 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.7595, allocations: 6.406 kB / 0.807 GB, free: 10.08 MB / 0.5919 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.308e-05/0.7596, allocations: 110 kB / 0.8071 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.7596, allocations: 1.125 kB / 0.8071 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.7596, allocations: 10.75 kB / 0.8071 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.7596, allocations: 3.938 kB / 0.8071 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7596, allocations: 0 / 0.8071 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7596, allocations: 5.156 kB / 0.8071 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.7599, allocations: 369.4 kB / 0.8074 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.7599, allocations: 1.469 kB / 0.8074 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-05/0.76, allocations: 2.812 kB / 0.8074 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.76, allocations: 5.312 kB / 0.8074 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.76, allocations: 0 / 0.8074 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.76, allocations: 1 kB / 0.8074 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.76, allocations: 1.375 kB / 0.8074 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.278e-05/0.7601, allocations: 78.7 kB / 0.8075 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.7601, allocations: 82.17 kB / 0.8076 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.7601, allocations: 5.25 kB / 0.8076 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.7602, allocations: 5.5 kB / 0.8076 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.7602, allocations: 1 kB / 0.8076 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.7602, allocations: 1 kB / 0.8076 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.765e-05/0.7603, allocations: 84.97 kB / 0.8077 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7603, allocations: 4.031 kB / 0.8077 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000197/0.7605, allocations: 6.625 kB / 0.8077 GB, free: 9.293 MB / 0.5919 GB 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 (2): * Single equations (assignments): 2 * 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.0001285/0.7606, allocations: 98.77 kB / 0.8078 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.419e-05/0.7607, allocations: 16.91 kB / 0.8078 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7608, allocations: 1.125 kB / 0.8078 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.7608, allocations: 6.656 kB / 0.8078 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.761, allocations: 15.09 kB / 0.8078 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.7612, allocations: 115.4 kB / 0.8079 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.7615, allocations: 0.6743 MB / 0.8086 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.949e-05/0.7615, allocations: 15.28 kB / 0.8086 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.7616, allocations: 8.656 kB / 0.8086 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.7616, allocations: 0 / 0.8086 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of Templates: time 0.002641/0.7642, allocations: 0.5802 MB / 0.8092 GB, free: 8.32 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)