Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 112.3 kB / 17.33 MB, free: 5.008 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.001288/0.001288, allocations: 198.6 kB / 18.33 MB, free: 4.016 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.448/1.448, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.882/0.882, allocations: 128.4 MB / 426.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 62.86 kB / 0.5912 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1957, allocations: 83.27 MB / 0.6725 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6462/0.8419, allocations: 148.3 MB / 0.8173 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001741/0.8421, allocations: 59.06 kB / 0.8173 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.8421, allocations: 0 / 0.8173 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.8422, allocations: 5.219 kB / 0.8173 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.012e-05/0.8423, allocations: 8.812 kB / 0.8173 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.8428, allocations: 109.4 kB / 0.8174 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.987e-05/0.8429, allocations: 36.83 kB / 0.8175 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.139e-05/0.8429, allocations: 2.906 kB / 0.8175 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.066e-05/0.843, allocations: 10.59 kB / 0.8175 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.712e-05/0.843, allocations: 20.25 kB / 0.8175 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.843, allocations: 1.5 kB / 0.8175 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.8433, allocations: 91.42 kB / 0.8176 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.8433, allocations: 8.719 kB / 0.8176 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.8433, allocations: 13.98 kB / 0.8176 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.8435, allocations: 73.33 kB / 0.8177 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.8435, allocations: 0 / 0.8177 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.52e-07/0.8435, allocations: 3.938 kB / 0.8177 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8435, allocations: 5.312 kB / 0.8177 GB, free: 11.43 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.0003745/0.8439, allocations: 335.3 kB / 0.818 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.8439, allocations: 10.22 kB / 0.818 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.8441, allocations: 25.69 kB / 0.818 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.8443, allocations: 162.6 kB / 0.8182 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.8443, allocations: 32.39 kB / 0.8182 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.8444, allocations: 0 / 0.8182 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.8445, allocations: 51.05 kB / 0.8183 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.8445, allocations: 0 / 0.8183 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.8445, allocations: 1.375 kB / 0.8183 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.8445, allocations: 1.375 kB / 0.8183 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.94e-05/0.8446, allocations: 22.55 kB / 0.8183 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.845, allocations: 262.1 kB / 0.8185 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.636e-05/0.845, allocations: 20.89 kB / 0.8186 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.8451, allocations: 7.297 kB / 0.8186 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.8451, allocations: 0 / 0.8186 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.8451, allocations: 35.94 kB / 0.8186 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.8451, allocations: 1.688 kB / 0.8186 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001531/0.8453, allocations: 37.62 kB / 0.8186 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.8453, allocations: 51.41 kB / 0.8187 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/0.8454, allocations: 111.3 kB / 0.8188 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.8454, allocations: 25.7 kB / 0.8188 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.8455, allocations: 92.56 kB / 0.8189 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.8455, allocations: 3.953 kB / 0.8189 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.8455, allocations: 23.91 kB / 0.8189 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.8457, allocations: 315.8 kB / 0.8192 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.8457, allocations: 2.75 kB / 0.8192 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.8457, allocations: 21.64 kB / 0.8193 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.906e-05/0.8458, allocations: 40.09 kB / 0.8193 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8458, allocations: 1.375 kB / 0.8193 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.59e-05/0.8458, allocations: 54.11 kB / 0.8194 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.8459, allocations: 9.438 kB / 0.8194 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.8459, allocations: 3.344 kB / 0.8194 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8459, allocations: 1.375 kB / 0.8194 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-05/0.8459, allocations: 9.125 kB / 0.8194 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.8459, allocations: 10.42 kB / 0.8194 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.846, allocations: 5.328 kB / 0.8194 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.846, allocations: 5.469 kB / 0.8194 GB, free: 9.688 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 8.651e-05/0.8461, allocations: 115 kB / 0.8195 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.8461, allocations: 5 kB / 0.8195 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.647e-05/0.8461, allocations: 4.5 kB / 0.8195 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.8461, allocations: 0 / 0.8195 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.8461, allocations: 3.938 kB / 0.8195 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8461, allocations: 1.375 kB / 0.8195 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.8464, allocations: 345 kB / 0.8198 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8464, allocations: 0 / 0.8198 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.8465, allocations: 1.375 kB / 0.8198 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.8465, allocations: 3.938 kB / 0.8199 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.8465, allocations: 1.375 kB / 0.8199 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8465, allocations: 2.25 kB / 0.8199 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8465, allocations: 0 / 0.8199 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.334e-05/0.8465, allocations: 63.67 kB / 0.8199 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.8466, allocations: 80.5 kB / 0.82 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.8466, allocations: 5.312 kB / 0.82 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.8467, allocations: 3.906 kB / 0.82 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.8467, allocations: 1.375 kB / 0.82 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.8467, allocations: 0 / 0.82 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.226e-05/0.8468, allocations: 85.94 kB / 0.8201 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.8468, allocations: 0 / 0.8201 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001886/0.8469, allocations: 6.875 kB / 0.8201 GB, free: 8.941 MB / 0.5919 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.0001096/0.8471, allocations: 103.4 kB / 0.8202 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.774e-05/0.8471, allocations: 14.67 kB / 0.8202 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8471, allocations: 0 / 0.8202 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.4e-06/0.8471, allocations: 2.75 kB / 0.8202 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.8473, allocations: 10.38 kB / 0.8202 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.8476, allocations: 108.6 kB / 0.8203 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.848, allocations: 0.6832 MB / 0.821 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.914e-05/0.848, allocations: 14.39 kB / 0.821 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.8481, allocations: 12.75 kB / 0.821 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.8481, allocations: 0 / 0.821 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of Templates: time 0.002642/0.8507, allocations: 0.5179 MB / 0.8215 GB, free: 7.957 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]