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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008019/0.008019, allocations: 95.38 kB / 15.73 MB, free: 6.043 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.001892/0.001892, allocations: 193.2 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.9519/0.9519, allocations: 143 MB / 433.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 55.91 kB / 0.595 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3811, allocations: 82.04 MB / 0.6751 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1522/0.5333, allocations: 148.3 MB / 0.82 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001273/0.5334, allocations: 55.8 kB / 0.82 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.5335, allocations: 0 / 0.82 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.5336, allocations: 7.922 kB / 0.82 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/0.5337, allocations: 15.92 kB / 0.82 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008233/0.5345, allocations: 211.2 kB / 0.8202 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.917e-05/0.5346, allocations: 39.91 kB / 0.8203 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.135e-05/0.5347, allocations: 0 / 0.8203 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.5347, allocations: 15.94 kB / 0.8203 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.5348, allocations: 19.91 kB / 0.8203 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.5348, allocations: 0 / 0.8203 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.5352, allocations: 191.5 kB / 0.8205 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.5352, allocations: 15.91 kB / 0.8205 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.5353, allocations: 11.94 kB / 0.8205 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.5355, allocations: 108.6 kB / 0.8206 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.5355, allocations: 0 / 0.8206 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5355, allocations: 8 kB / 0.8206 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5355, allocations: 0 / 0.8206 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.0004353/0.536, allocations: 343.3 kB / 0.8209 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.536, allocations: 12.03 kB / 0.821 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.5361, allocations: 34.75 kB / 0.821 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003692/0.5365, allocations: 24.91 kB / 0.821 GB, free: 484 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.5366, allocations: 172 kB / 0.8212 GB, free: 272 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.126e-05/0.5367, allocations: 33.67 kB / 0.8212 GB, free: 232 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.5367, allocations: 4 kB / 0.8212 GB, free: 228 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.5369, allocations: 49.69 kB / 0.8213 GB, free: 172 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5369, allocations: 0 / 0.8213 GB, free: 172 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.537, allocations: 0 / 0.8213 GB, free: 172 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.537, allocations: 0 / 0.8213 GB, free: 172 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.147e-05/0.5371, allocations: 23.98 kB / 0.8213 GB, free: 148 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.5375, allocations: 260.8 kB / 0.8215 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.687e-05/0.5376, allocations: 34.52 kB / 0.8216 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.5376, allocations: 4.859 kB / 0.8216 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.5378, allocations: 101.1 kB / 0.8217 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.5378, allocations: 30.56 kB / 0.8217 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5378, allocations: 0 / 0.8217 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002884/0.5381, allocations: 53.69 kB / 0.8218 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.5382, allocations: 59.28 kB / 0.8218 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.5383, allocations: 97.84 kB / 0.8219 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.5384, allocations: 33.7 kB / 0.8219 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.5384, allocations: 84.09 kB / 0.822 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.5385, allocations: 7.938 kB / 0.822 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.5385, allocations: 21.72 kB / 0.822 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5387, allocations: 315 kB / 0.8223 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.5387, allocations: 4 kB / 0.8223 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.5387, allocations: 26.56 kB / 0.8224 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.5388, allocations: 34.52 kB / 0.8224 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.5388, allocations: 8 kB / 0.8224 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.307e-05/0.5389, allocations: 53.62 kB / 0.8225 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5389, allocations: 6.031 kB / 0.8225 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5389, allocations: 0 / 0.8225 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.5389, allocations: 0 / 0.8225 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.539, allocations: 8 kB / 0.8225 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.539, allocations: 3.938 kB / 0.8225 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.539, allocations: 3.953 kB / 0.8225 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.539, allocations: 4 kB / 0.8225 GB, free: 14.75 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 7.876e-05/0.5391, allocations: 121.9 kB / 0.8226 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.5392, allocations: 3.938 kB / 0.8226 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.705e-05/0.5392, allocations: 3.125 kB / 0.8226 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5392, allocations: 0 / 0.8226 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5392, allocations: 3.938 kB / 0.8226 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5392, allocations: 4 kB / 0.8226 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.5396, allocations: 363.5 kB / 0.823 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5396, allocations: 4.031 kB / 0.823 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.5396, allocations: 7.938 kB / 0.823 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5397, allocations: 0 / 0.823 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.5397, allocations: 0 / 0.823 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5397, allocations: 3.938 kB / 0.823 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5397, allocations: 4 kB / 0.823 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.16e-05/0.5398, allocations: 70.27 kB / 0.8231 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.5398, allocations: 85 kB / 0.8231 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.5399, allocations: 7.984 kB / 0.8231 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.5399, allocations: 3.984 kB / 0.8231 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.54, allocations: 8 kB / 0.8232 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.54, allocations: 0 / 0.8232 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.54, allocations: 83.22 kB / 0.8232 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.54, allocations: 0 / 0.8232 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001952/0.5402, allocations: 8 kB / 0.8232 GB, free: 13.87 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.0004184/0.5407, allocations: 0.6171 MB / 0.8238 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.508e-05/0.5407, allocations: 20.08 kB / 0.8239 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5408, allocations: 0 / 0.8239 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/0.5408, allocations: 8 kB / 0.8239 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.541, allocations: 4 kB / 0.8239 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.5414, allocations: 149 kB / 0.824 GB, free: 13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.5416, allocations: 0.6729 MB / 0.8247 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.17e-05/0.5417, allocations: 16.03 kB / 0.8247 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.5417, allocations: 11.44 kB / 0.8247 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.5417, allocations: 0 / 0.8247 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.5575, allocations: 1.465 MB / 0.8261 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.585, allocations: 11.98 kB / 0.8261 GB, free: 10.91 MB / 0.6544 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)