Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 112.6 kB / 17.33 MB, free: 5.027 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.001254/0.001254, allocations: 201.8 kB / 18.33 MB, free: 4.035 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.45/1.45, allocations: 225.6 MB / 244.8 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8348/0.8348, allocations: 128.4 MB / 426.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.56 kB / 0.5911 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1997, allocations: 83.27 MB / 0.6724 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7356/0.9353, allocations: 148.7 MB / 0.8177 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001695/0.9355, allocations: 60.2 kB / 0.8177 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.9355, allocations: 4.969 kB / 0.8177 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.9357, allocations: 0 / 0.8177 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.9358, allocations: 16.91 kB / 0.8177 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.9368, allocations: 213.5 kB / 0.8179 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.9369, allocations: 34.23 kB / 0.818 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.937, allocations: 8.844 kB / 0.818 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.975e-05/0.937, allocations: 13.78 kB / 0.818 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.9371, allocations: 15.91 kB / 0.818 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.9371, allocations: 1.281 kB / 0.818 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005504/0.9377, allocations: 214.2 kB / 0.8182 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.9377, allocations: 5.734 kB / 0.8182 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.9378, allocations: 17.36 kB / 0.8182 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.9381, allocations: 112.2 kB / 0.8183 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.9381, allocations: 0 / 0.8183 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9381, allocations: 0 / 0.8183 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.9381, allocations: 4 kB / 0.8184 GB, free: 10.54 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.0005585/0.9387, allocations: 342.3 kB / 0.8187 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.9387, allocations: 9.75 kB / 0.8187 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004057/0.9391, allocations: 28.14 kB / 0.8187 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.9393, allocations: 166.1 kB / 0.8189 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/0.9393, allocations: 30.73 kB / 0.8189 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.9394, allocations: 4.688 kB / 0.8189 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.9395, allocations: 52.23 kB / 0.819 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.9395, allocations: 3.938 kB / 0.819 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.9395, allocations: 0 / 0.819 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.9396, allocations: 2.781 kB / 0.819 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.002e-05/0.9396, allocations: 21.16 kB / 0.819 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.9401, allocations: 253.9 kB / 0.8192 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.17e-05/0.9401, allocations: 26.89 kB / 0.8193 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.9402, allocations: 8.844 kB / 0.8193 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.9404, allocations: 95.95 kB / 0.8194 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.9404, allocations: 38.45 kB / 0.8194 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.9404, allocations: 0 / 0.8194 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002988/0.9407, allocations: 53.83 kB / 0.8194 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.9408, allocations: 51.41 kB / 0.8195 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.9409, allocations: 107.6 kB / 0.8196 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.9409, allocations: 27.27 kB / 0.8196 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.941, allocations: 93.73 kB / 0.8197 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.941, allocations: 5.109 kB / 0.8197 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.941, allocations: 17.44 kB / 0.8197 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9412, allocations: 314.2 kB / 0.82 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.9412, allocations: 9.578 kB / 0.82 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/0.9412, allocations: 26.23 kB / 0.8201 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.059e-05/0.9413, allocations: 29.75 kB / 0.8201 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.9413, allocations: 0 / 0.8201 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.881e-05/0.9414, allocations: 55.19 kB / 0.8201 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.9414, allocations: 10.02 kB / 0.8202 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.9414, allocations: 1.344 kB / 0.8202 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9414, allocations: 1.719 kB / 0.8202 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.9415, allocations: 9.5 kB / 0.8202 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.9415, allocations: 1.25 kB / 0.8202 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.9415, allocations: 8.969 kB / 0.8202 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.9416, allocations: 1.281 kB / 0.8202 GB, free: 8.707 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 0.0001074/0.9417, allocations: 110.7 kB / 0.8203 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.9417, allocations: 13.17 kB / 0.8203 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.9417, allocations: 7.906 kB / 0.8203 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.9417, allocations: 1.688 kB / 0.8203 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9417, allocations: 0 / 0.8203 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.9417, allocations: 9.609 kB / 0.8203 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.9421, allocations: 357.4 kB / 0.8207 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9421, allocations: 1.375 kB / 0.8207 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.9421, allocations: 6.812 kB / 0.8207 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.9421, allocations: 5.312 kB / 0.8207 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.9421, allocations: 0 / 0.8207 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.9421, allocations: 1.375 kB / 0.8207 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/0.9421, allocations: 0 / 0.8207 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.997e-05/0.9422, allocations: 70.95 kB / 0.8207 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.9423, allocations: 83.62 kB / 0.8208 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.9423, allocations: 9.312 kB / 0.8208 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.9424, allocations: 3.953 kB / 0.8208 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.9424, allocations: 1.375 kB / 0.8208 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.9424, allocations: 2.25 kB / 0.8208 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.602e-05/0.9425, allocations: 81.42 kB / 0.8209 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.9425, allocations: 0 / 0.8209 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002006/0.9427, allocations: 14.5 kB / 0.8209 GB, free: 7.93 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.000164/0.9429, allocations: 99.75 kB / 0.821 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.943, allocations: 19.23 kB / 0.821 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.943, allocations: 1.375 kB / 0.821 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.943, allocations: 2.75 kB / 0.821 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.9433, allocations: 10.45 kB / 0.821 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.9437, allocations: 128 kB / 0.8212 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.9441, allocations: 0.6791 MB / 0.8218 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.756e-05/0.9441, allocations: 10.45 kB / 0.8218 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.9442, allocations: 8.812 kB / 0.8219 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.9442, allocations: 0 / 0.8219 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of Templates: time 0.003821/0.948, allocations: 0.5837 MB / 0.8224 GB, free: 6.922 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]