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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: "" <> 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.008156/0.008155, allocations: 97.14 kB / 15.73 MB, free: 6.055 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.002093/0.002093, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.003/1.003, allocations: 143.3 MB / 433.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 67.89 kB / 0.5953 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3569, allocations: 82.02 MB / 0.6754 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1684/0.5253, allocations: 148.3 MB / 0.8202 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001335/0.5255, allocations: 51.81 kB / 0.8202 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.5255, allocations: 0 / 0.8202 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 9.659e-05/0.5256, allocations: 7.922 kB / 0.8203 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.049e-05/0.5257, allocations: 19.92 kB / 0.8203 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000701/0.5264, allocations: 206.7 kB / 0.8205 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.884e-05/0.5265, allocations: 39.89 kB / 0.8205 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.5266, allocations: 3.984 kB / 0.8205 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.76e-05/0.5266, allocations: 15.94 kB / 0.8205 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.392e-05/0.5267, allocations: 19.91 kB / 0.8205 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.5267, allocations: 0 / 0.8205 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.5271, allocations: 195.5 kB / 0.8207 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.5272, allocations: 7.984 kB / 0.8207 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.5272, allocations: 11.94 kB / 0.8208 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.5275, allocations: 115.3 kB / 0.8209 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5275, allocations: 0 / 0.8209 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.158e-06/0.5275, allocations: 7.984 kB / 0.8209 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.5275, allocations: 0 / 0.8209 GB, free: 0.6484 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.0004167/0.5279, allocations: 344.6 kB / 0.8212 GB, free: 272 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.528, allocations: 12.03 kB / 0.8212 GB, free: 260 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.528, allocations: 30.75 kB / 0.8212 GB, free: 220 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.5283, allocations: 32.84 kB / 0.8213 GB, free: 188 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.5284, allocations: 164.1 kB / 0.8214 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/0.5285, allocations: 29.64 kB / 0.8215 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.5285, allocations: 0 / 0.8215 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.5287, allocations: 53.67 kB / 0.8215 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5287, allocations: 4 kB / 0.8215 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.5287, allocations: 0 / 0.8215 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.5287, allocations: 0 / 0.8215 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.5288, allocations: 23.98 kB / 0.8215 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.5291, allocations: 264.8 kB / 0.8218 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/0.5292, allocations: 26.52 kB / 0.8218 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.5292, allocations: 8.859 kB / 0.8218 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.5294, allocations: 97.16 kB / 0.8219 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.5294, allocations: 30.56 kB / 0.8219 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.5294, allocations: 0 / 0.8219 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002404/0.5297, allocations: 49.69 kB / 0.822 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.5297, allocations: 63.41 kB / 0.822 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.5298, allocations: 101.8 kB / 0.8221 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.5298, allocations: 25.7 kB / 0.8222 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.5299, allocations: 88.09 kB / 0.8223 GB, free: 15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.445e-06/0.5299, allocations: 11.88 kB / 0.8223 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.5299, allocations: 25.7 kB / 0.8223 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5301, allocations: 310.8 kB / 0.8226 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.5301, allocations: 4 kB / 0.8226 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.5301, allocations: 30.56 kB / 0.8226 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/0.5302, allocations: 30.52 kB / 0.8226 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5302, allocations: 4 kB / 0.8227 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.51e-05/0.5303, allocations: 53.62 kB / 0.8227 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5303, allocations: 8.094 kB / 0.8227 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.5303, allocations: 0 / 0.8227 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.5303, allocations: 0 / 0.8227 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.5304, allocations: 8 kB / 0.8227 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5304, allocations: 3.938 kB / 0.8227 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.5304, allocations: 3.953 kB / 0.8227 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.5304, allocations: 4 kB / 0.8227 GB, free: 14.47 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.863e-05/0.5305, allocations: 121.8 kB / 0.8228 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.5306, allocations: 0 / 0.8228 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.5306, allocations: 7.125 kB / 0.8229 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5306, allocations: 0 / 0.8229 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5306, allocations: 3.938 kB / 0.8229 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.5306, allocations: 4 kB / 0.8229 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.5309, allocations: 363.5 kB / 0.8232 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5309, allocations: 288 / 0.8232 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.531, allocations: 7.938 kB / 0.8232 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.531, allocations: 64 / 0.8232 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.531, allocations: 4 kB / 0.8232 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.531, allocations: 0 / 0.8232 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.531, allocations: 11.94 kB / 0.8232 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.439e-05/0.5311, allocations: 69.97 kB / 0.8233 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.5311, allocations: 85 kB / 0.8234 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.5312, allocations: 8 kB / 0.8234 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.5313, allocations: 4.031 kB / 0.8234 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.5313, allocations: 7.984 kB / 0.8234 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.5313, allocations: 0 / 0.8234 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.5313, allocations: 79.28 kB / 0.8235 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.5313, allocations: 0 / 0.8235 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001914/0.5315, allocations: 8 kB / 0.8235 GB, free: 13.59 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.00039/0.5319, allocations: 0.6132 MB / 0.8241 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.167e-05/0.532, allocations: 19.92 kB / 0.8241 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.532, allocations: 4 kB / 0.8241 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.047e-06/0.5321, allocations: 4.156 kB / 0.8241 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.5323, allocations: 9.844 kB / 0.8241 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.5326, allocations: 145 kB / 0.8243 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.5329, allocations: 0.6807 MB / 0.8249 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.975e-05/0.533, allocations: 15.84 kB / 0.8249 GB, free: 12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.533, allocations: 7.438 kB / 0.8249 GB, free: 12 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.533, allocations: 0 / 0.8249 GB, free: 12 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.5547, allocations: 1.47 MB / 0.8264 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/8.049, allocations: 11.92 kB / 0.8264 GB, free: 10.63 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)