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.006365/0.006365, allocations: 98.62 kB / 15.73 MB, free: 5.547 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.001232/0.001233, allocations: 192.2 kB / 16.67 MB, free: 5.492 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.051 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 1.076/1.076, allocations: 143 MB / 433.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.91 kB / 0.5955 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4042, allocations: 82.03 MB / 0.6756 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1716/0.5759, allocations: 148.3 MB / 0.8204 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001597/0.5761, allocations: 51.8 kB / 0.8205 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.5761, allocations: 4 kB / 0.8205 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.5763, allocations: 3.938 kB / 0.8205 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.542e-05/0.5764, allocations: 19.91 kB / 0.8205 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000869/0.5773, allocations: 207.2 kB / 0.8207 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.459e-05/0.5774, allocations: 27.91 kB / 0.8207 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.5775, allocations: 12 kB / 0.8207 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.5775, allocations: 11.94 kB / 0.8207 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.5776, allocations: 15.91 kB / 0.8208 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.5776, allocations: 4 kB / 0.8208 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.5781, allocations: 191.5 kB / 0.8209 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.5781, allocations: 7.984 kB / 0.8209 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.5781, allocations: 7.938 kB / 0.821 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.5784, allocations: 123.6 kB / 0.8211 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5784, allocations: 0 / 0.8211 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5785, allocations: 0 / 0.8211 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.5785, allocations: 4 kB / 0.8211 GB, free: 0.9336 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.000466/0.5789, allocations: 337.4 kB / 0.8214 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.579, allocations: 8.031 kB / 0.8214 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/0.5794, allocations: 32.81 kB / 0.8214 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.5795, allocations: 160.4 kB / 0.8216 GB, free: 332 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.5796, allocations: 29.64 kB / 0.8216 GB, free: 296 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.5796, allocations: 7.938 kB / 0.8216 GB, free: 288 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.5798, allocations: 57.61 kB / 0.8217 GB, free: 224 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.5798, allocations: 0 / 0.8217 GB, free: 224 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.5798, allocations: 0 / 0.8217 GB, free: 224 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.5798, allocations: 0 / 0.8217 GB, free: 224 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.464e-05/0.5799, allocations: 23.98 kB / 0.8217 GB, free: 200 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.5802, allocations: 252.9 kB / 0.8219 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.083e-05/0.5803, allocations: 26.58 kB / 0.822 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.5803, allocations: 12.8 kB / 0.822 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.5805, allocations: 93.16 kB / 0.8221 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.5805, allocations: 34.56 kB / 0.8221 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.5805, allocations: 0 / 0.8221 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002313/0.5807, allocations: 53.78 kB / 0.8222 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.5808, allocations: 51.41 kB / 0.8222 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.5809, allocations: 109.8 kB / 0.8223 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.5809, allocations: 29.7 kB / 0.8223 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.5809, allocations: 91.92 kB / 0.8224 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.581, allocations: 11.89 kB / 0.8224 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.581, allocations: 21.7 kB / 0.8225 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5811, allocations: 314.8 kB / 0.8228 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.5811, allocations: 11.97 kB / 0.8228 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/0.5812, allocations: 22.56 kB / 0.8228 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.5812, allocations: 30.58 kB / 0.8228 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5812, allocations: 0 / 0.8228 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.366e-05/0.5813, allocations: 57.62 kB / 0.8229 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.5813, allocations: 4 kB / 0.8229 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5813, allocations: 0 / 0.8229 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5813, allocations: 7.938 kB / 0.8229 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.539e-05/0.5814, allocations: 4 kB / 0.8229 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.5814, allocations: 3.938 kB / 0.8229 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.5815, allocations: 11.91 kB / 0.8229 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.5815, allocations: 0 / 0.8229 GB, free: 14.8 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 6.768e-05/0.5815, allocations: 113.9 kB / 0.823 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.5816, allocations: 4 kB / 0.823 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.5816, allocations: 7.125 kB / 0.823 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.5816, allocations: 3.938 kB / 0.823 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.5816, allocations: 7.938 kB / 0.823 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5816, allocations: 0 / 0.823 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.5819, allocations: 355.6 kB / 0.8234 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5819, allocations: 0 / 0.8234 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/0.5819, allocations: 8.062 kB / 0.8234 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5819, allocations: 3.938 kB / 0.8234 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.582, allocations: 0 / 0.8234 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.582, allocations: 4 kB / 0.8234 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.582, allocations: 0 / 0.8234 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.552e-05/0.582, allocations: 73.92 kB / 0.8235 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.5821, allocations: 88.95 kB / 0.8235 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.5821, allocations: 4.031 kB / 0.8235 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.5822, allocations: 0 / 0.8235 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.5822, allocations: 7.984 kB / 0.8236 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.5822, allocations: 0 / 0.8236 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.535e-05/0.5823, allocations: 83.28 kB / 0.8236 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5823, allocations: 0 / 0.8236 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001983/0.5825, allocations: 8 kB / 0.8236 GB, free: 13.93 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.0001316/0.5826, allocations: 99.25 kB / 0.8237 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.153e-05/0.5827, allocations: 23.92 kB / 0.8238 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5827, allocations: 0 / 0.8238 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.051e-05/0.5827, allocations: 4 kB / 0.8238 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.583, allocations: 17.08 kB / 0.8238 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.5833, allocations: 131.6 kB / 0.8239 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.5835, allocations: 0.6768 MB / 0.8246 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.02e-05/0.5836, allocations: 12.27 kB / 0.8246 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.5836, allocations: 11.42 kB / 0.8246 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.5836, allocations: 0 / 0.8246 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.002662/0.5863, allocations: 0.5787 MB / 0.8252 GB, free: 12.32 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)