Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 105.7 kB / 16.41 MB, free: 6.504 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.001212/0.001212, allocations: 187 kB / 17.34 MB, free: 5.742 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.194/1.194, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.7702/0.7702, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 61.02 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1296, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.427/0.5566, allocations: 148.3 MB / 0.8211 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001163/0.5567, allocations: 55.94 kB / 0.8211 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.5568, allocations: 0 / 0.8211 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.015e-05/0.5569, allocations: 6.344 kB / 0.8211 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.541e-05/0.557, allocations: 14.02 kB / 0.8212 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.5576, allocations: 212.6 kB / 0.8214 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.707e-05/0.5577, allocations: 29.8 kB / 0.8214 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.5577, allocations: 6.062 kB / 0.8214 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.191e-05/0.5578, allocations: 19.94 kB / 0.8214 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.5578, allocations: 7.25 kB / 0.8214 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.5578, allocations: 0 / 0.8214 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.5582, allocations: 210.8 kB / 0.8216 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.5582, allocations: 2.375 kB / 0.8216 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.5583, allocations: 16.38 kB / 0.8216 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.5585, allocations: 111.8 kB / 0.8217 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5585, allocations: 2.094 kB / 0.8217 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5585, allocations: 0 / 0.8217 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.5585, allocations: 0 / 0.8217 GB, free: 1.523 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.0003329/0.5588, allocations: 338.2 kB / 0.8221 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.5589, allocations: 7.906 kB / 0.8221 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.5591, allocations: 31.59 kB / 0.8221 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.5593, allocations: 175.5 kB / 0.8223 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/0.5593, allocations: 29.64 kB / 0.8223 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.5593, allocations: 6.672 kB / 0.8223 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.5594, allocations: 51.03 kB / 0.8224 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-06/0.5595, allocations: 0 / 0.8224 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.5595, allocations: 0 / 0.8224 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.5595, allocations: 2.5 kB / 0.8224 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.673e-05/0.5595, allocations: 24.58 kB / 0.8224 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.5599, allocations: 255.6 kB / 0.8226 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.846e-05/0.5599, allocations: 23.95 kB / 0.8227 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.56, allocations: 11.17 kB / 0.8227 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.5601, allocations: 95.41 kB / 0.8228 GB, free: 436 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.5602, allocations: 37.05 kB / 0.8228 GB, free: 392 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 3.938e-06/0.5602, allocations: 3.984 kB / 0.8228 GB, free: 388 kB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002042/0.5604, allocations: 50.28 kB / 0.8228 GB, free: 344 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.5604, allocations: 57.19 kB / 0.8229 GB, free: 276 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.5605, allocations: 103.5 kB / 0.823 GB, free: 168 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.5605, allocations: 29.83 kB / 0.823 GB, free: 132 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.5605, allocations: 94.06 kB / 0.8231 GB, free: 36 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/0.5606, allocations: 7.906 kB / 0.8231 GB, free: 28 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.5606, allocations: 14.97 kB / 0.8231 GB, free: 12 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5607, allocations: 314.8 kB / 0.8234 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.5607, allocations: 2.719 kB / 0.8234 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.5607, allocations: 23.62 kB / 0.8235 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.665e-05/0.5608, allocations: 36.42 kB / 0.8235 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5608, allocations: 3.938 kB / 0.8235 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.966e-05/0.5609, allocations: 52.22 kB / 0.8235 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.5609, allocations: 5.719 kB / 0.8236 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5609, allocations: 2.125 kB / 0.8236 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.5609, allocations: 96 / 0.8236 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.728e-05/0.561, allocations: 11.34 kB / 0.8236 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.561, allocations: 3.984 kB / 0.8236 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.561, allocations: 14.84 kB / 0.8236 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-06/0.561, allocations: 0 / 0.8236 GB, free: 15.57 MB / 0.6075 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 6.751e-05/0.5611, allocations: 108.1 kB / 0.8237 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.5611, allocations: 2.562 kB / 0.8237 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.5611, allocations: 7.125 kB / 0.8237 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.5611, allocations: 0 / 0.8237 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5612, allocations: 2.219 kB / 0.8237 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5612, allocations: 7.938 kB / 0.8237 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.5614, allocations: 356.6 kB / 0.824 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5614, allocations: 0 / 0.824 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.5615, allocations: 4.344 kB / 0.824 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.5615, allocations: 6.031 kB / 0.8241 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.5615, allocations: 0 / 0.8241 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5615, allocations: 6.688 kB / 0.8241 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5615, allocations: 4.062 kB / 0.8241 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.469e-05/0.5616, allocations: 71.86 kB / 0.8241 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.5616, allocations: 81.02 kB / 0.8242 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.5616, allocations: 6.375 kB / 0.8242 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.5617, allocations: 10.3 kB / 0.8242 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.5617, allocations: 0 / 0.8242 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.5617, allocations: 6.906 kB / 0.8242 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.018e-05/0.5618, allocations: 81.84 kB / 0.8243 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5618, allocations: 0 / 0.8243 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001778/0.562, allocations: 7.531 kB / 0.8243 GB, free: 14.76 MB / 0.6075 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 9.881e-05/0.5621, allocations: 104.5 kB / 0.8244 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.942e-05/0.5621, allocations: 18.41 kB / 0.8244 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5621, allocations: 0 / 0.8244 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/0.5622, allocations: 8.219 kB / 0.8244 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.5624, allocations: 11.52 kB / 0.8245 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/0.5626, allocations: 140.3 kB / 0.8246 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.5628, allocations: 0.6714 MB / 0.8252 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.5629, allocations: 14.16 kB / 0.8253 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.5629, allocations: 0 / 0.8253 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.001557/0.5644, allocations: 0.6365 MB / 0.8259 GB, free: 13.48 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)