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.007192/0.007192, allocations: 102 kB / 15.73 MB, free: 6.035 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.001198/0.001198, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.9976/0.9976, allocations: 143 MB / 433.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.89 kB / 0.5955 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.5256, allocations: 82.03 MB / 0.6756 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1769/0.7026, allocations: 148.3 MB / 0.8204 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.000152/0.7028, allocations: 55.8 kB / 0.8205 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.7028, allocations: 0 / 0.8205 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.703, allocations: 3.938 kB / 0.8205 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.099e-05/0.703, allocations: 15.92 kB / 0.8205 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008455/0.7039, allocations: 211.2 kB / 0.8207 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.22e-05/0.704, allocations: 35.86 kB / 0.8207 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.704, allocations: 3.984 kB / 0.8207 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.439e-05/0.7041, allocations: 11.98 kB / 0.8207 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.7042, allocations: 19.92 kB / 0.8208 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.7042, allocations: 0 / 0.8208 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.7046, allocations: 199.4 kB / 0.8209 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.7047, allocations: 3.984 kB / 0.8209 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.7047, allocations: 19.92 kB / 0.821 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.705, allocations: 107.7 kB / 0.8211 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.705, allocations: 0 / 0.8211 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.064e-06/0.705, allocations: 0 / 0.8211 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.705, allocations: 0 / 0.8211 GB, free: 0.9805 MB / 0.6387 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.0004517/0.7055, allocations: 341.4 kB / 0.8214 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.7055, allocations: 8.031 kB / 0.8214 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003296/0.7058, allocations: 32.81 kB / 0.8214 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.706, allocations: 168.3 kB / 0.8216 GB, free: 368 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.706, allocations: 37.62 kB / 0.8216 GB, free: 324 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.7061, allocations: 0 / 0.8216 GB, free: 324 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.7062, allocations: 45.69 kB / 0.8217 GB, free: 272 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.7062, allocations: 3.984 kB / 0.8217 GB, free: 268 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.7062, allocations: 7.922 kB / 0.8217 GB, free: 260 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.7063, allocations: 4 kB / 0.8217 GB, free: 256 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.7063, allocations: 23.98 kB / 0.8217 GB, free: 232 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.7067, allocations: 252.9 kB / 0.822 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/0.7068, allocations: 30.55 kB / 0.822 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.7068, allocations: 8.922 kB / 0.822 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.707, allocations: 93.09 kB / 0.8221 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.707, allocations: 38.56 kB / 0.8221 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.707, allocations: 0 / 0.8221 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002376/0.7073, allocations: 45.69 kB / 0.8222 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7073, allocations: 55.34 kB / 0.8222 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.7074, allocations: 105.8 kB / 0.8223 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.7074, allocations: 25.7 kB / 0.8223 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.7075, allocations: 96.11 kB / 0.8224 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.7075, allocations: 7.906 kB / 0.8224 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.7076, allocations: 21.72 kB / 0.8225 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.7077, allocations: 314.8 kB / 0.8228 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.7077, allocations: 4 kB / 0.8228 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.7077, allocations: 22.58 kB / 0.8228 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.677e-05/0.7078, allocations: 38.5 kB / 0.8228 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7078, allocations: 0 / 0.8228 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.51e-05/0.7079, allocations: 49.64 kB / 0.8229 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.7079, allocations: 4 kB / 0.8229 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.7079, allocations: 7.984 kB / 0.8229 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.7079, allocations: 0 / 0.8229 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.324e-05/0.708, allocations: 4.094 kB / 0.8229 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.708, allocations: 11.94 kB / 0.8229 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.7081, allocations: 3.906 kB / 0.8229 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.7081, allocations: 4 kB / 0.8229 GB, free: 14.84 MB / 0.6544 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.028e-05/0.7081, allocations: 105.8 kB / 0.823 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.7082, allocations: 11.94 kB / 0.823 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.7082, allocations: 3.125 kB / 0.823 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.7082, allocations: 0 / 0.823 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.7082, allocations: 7.922 kB / 0.823 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.7082, allocations: 0 / 0.823 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.7085, allocations: 359.6 kB / 0.8234 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.7086, allocations: 8 kB / 0.8234 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.7086, allocations: 3.984 kB / 0.8234 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.7086, allocations: 7.938 kB / 0.8234 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.7086, allocations: 0 / 0.8234 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.7086, allocations: 3.938 kB / 0.8234 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.7086, allocations: 0 / 0.8234 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.167e-05/0.7087, allocations: 74 kB / 0.8235 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.7088, allocations: 88.94 kB / 0.8235 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.7088, allocations: 0 / 0.8235 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.7089, allocations: 4 kB / 0.8235 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.7089, allocations: 4 kB / 0.8236 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.7089, allocations: 4 kB / 0.8236 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.709, allocations: 83.58 kB / 0.8236 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.709, allocations: 4 kB / 0.8236 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002011/0.7092, allocations: 4 kB / 0.8236 GB, free: 13.97 MB / 0.6544 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.0001371/0.7093, allocations: 107.3 kB / 0.8237 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.325e-05/0.7094, allocations: 12 kB / 0.8238 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7094, allocations: 4.188 kB / 0.8238 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-05/0.7094, allocations: 11.92 kB / 0.8238 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.7097, allocations: 7.938 kB / 0.8238 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.7099, allocations: 127.3 kB / 0.8239 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.7102, allocations: 0.6768 MB / 0.8246 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.028e-05/0.7102, allocations: 11.98 kB / 0.8246 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.7103, allocations: 7.438 kB / 0.8246 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7103, allocations: 0 / 0.8246 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.002545/0.7128, allocations: 0.5848 MB / 0.8252 GB, free: 12.37 MB / 0.6544 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)