Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.005152/0.005152, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001145/0.001145, allocations: 202.2 kB / 16.68 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.9723/0.9723, allocations: 143 MB / 433.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 71.89 kB / 0.5951 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3661, allocations: 82.02 MB / 0.6752 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1517/0.5178, allocations: 147.8 MB / 0.8195 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001409/0.518, allocations: 59.84 kB / 0.8196 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.518, allocations: 0 / 0.8196 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.5182, allocations: 3.938 kB / 0.8196 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8e-05/0.5183, allocations: 19.91 kB / 0.8196 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.5187, allocations: 102.9 kB / 0.8197 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.021e-05/0.5188, allocations: 35.84 kB / 0.8198 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.5189, allocations: 4 kB / 0.8198 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.5189, allocations: 23.91 kB / 0.8198 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.519, allocations: 4 kB / 0.8198 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.519, allocations: 4 kB / 0.8198 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.5193, allocations: 87.72 kB / 0.8199 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.5193, allocations: 15.92 kB / 0.8199 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.5194, allocations: 7.938 kB / 0.8199 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.5195, allocations: 75.28 kB / 0.82 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5195, allocations: 8 kB / 0.82 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5195, allocations: 0 / 0.82 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5195, allocations: 0 / 0.82 GB, free: 1.602 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.0003987/0.52, allocations: 336.7 kB / 0.8203 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.52, allocations: 16.61 kB / 0.8203 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.52, allocations: 34.75 kB / 0.8203 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.5203, allocations: 16.92 kB / 0.8204 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.5204, allocations: 164.1 kB / 0.8205 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.5205, allocations: 25.7 kB / 0.8205 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.5205, allocations: 4 kB / 0.8205 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.5206, allocations: 45.67 kB / 0.8206 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5206, allocations: 7.984 kB / 0.8206 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.5206, allocations: 0 / 0.8206 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.5207, allocations: 4 kB / 0.8206 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.5207, allocations: 23.92 kB / 0.8206 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.5211, allocations: 268.8 kB / 0.8209 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.773e-05/0.5212, allocations: 14.58 kB / 0.8209 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.5212, allocations: 8.859 kB / 0.8209 GB, free: 496 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-06/0.5212, allocations: 0 / 0.8209 GB, free: 496 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.5212, allocations: 38.62 kB / 0.8209 GB, free: 448 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 2.084e-06/0.5212, allocations: 0 / 0.8209 GB, free: 448 kB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001242/0.5213, allocations: 33.64 kB / 0.821 GB, free: 408 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.5214, allocations: 55.34 kB / 0.821 GB, free: 340 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.5215, allocations: 109.8 kB / 0.8211 GB, free: 220 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.5215, allocations: 29.83 kB / 0.8212 GB, free: 184 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.5216, allocations: 100 kB / 0.8213 GB, free: 80 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-06/0.5216, allocations: 4 kB / 0.8213 GB, free: 76 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.5216, allocations: 13.72 kB / 0.8213 GB, free: 56 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5217, allocations: 314.8 kB / 0.8216 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.5218, allocations: 4 kB / 0.8216 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.5218, allocations: 22.56 kB / 0.8216 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.963e-05/0.5218, allocations: 34.52 kB / 0.8216 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5218, allocations: 0 / 0.8216 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.833e-05/0.5219, allocations: 53.62 kB / 0.8217 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.522, allocations: 8 kB / 0.8217 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.522, allocations: 0 / 0.8217 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.522, allocations: 0 / 0.8217 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/0.522, allocations: 16.03 kB / 0.8217 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.5221, allocations: 11.91 kB / 0.8217 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.5221, allocations: 7.891 kB / 0.8217 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.5221, allocations: 8 kB / 0.8217 GB, free: 15.55 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.394e-05/0.5222, allocations: 109.8 kB / 0.8218 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.5222, allocations: 4 kB / 0.8218 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.335e-05/0.5222, allocations: 3.125 kB / 0.8218 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5223, allocations: 3.938 kB / 0.8218 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5223, allocations: 0 / 0.8218 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5223, allocations: 4 kB / 0.8218 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.5225, allocations: 342.8 kB / 0.8222 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5225, allocations: 0 / 0.8222 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.487e-05/0.5226, allocations: 7.938 kB / 0.8222 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5226, allocations: 0 / 0.8222 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.5226, allocations: 7.938 kB / 0.8222 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5226, allocations: 0 / 0.8222 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5226, allocations: 0 / 0.8222 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.111e-05/0.5227, allocations: 61.16 kB / 0.8222 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.5227, allocations: 85 kB / 0.8223 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.5227, allocations: 256 / 0.8223 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.5228, allocations: 8 kB / 0.8223 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.5228, allocations: 3.938 kB / 0.8223 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.5228, allocations: 4 kB / 0.8223 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.5229, allocations: 87.27 kB / 0.8224 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5229, allocations: 4.031 kB / 0.8224 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001903/0.5231, allocations: 4 kB / 0.8224 GB, free: 14.72 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0002752/0.5234, allocations: 0.5968 MB / 0.823 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.998e-05/0.5235, allocations: 24.16 kB / 0.823 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5235, allocations: 0 / 0.823 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.382e-06/0.5235, allocations: 3.938 kB / 0.823 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.5237, allocations: 6.031 kB / 0.823 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.524, allocations: 136.2 kB / 0.8232 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.5242, allocations: 0.6729 MB / 0.8238 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.738e-05/0.5243, allocations: 20.05 kB / 0.8239 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.5243, allocations: 7.438 kB / 0.8239 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.5243, allocations: 0 / 0.8239 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.5405, allocations: 1.392 MB / 0.8252 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.536, allocations: 9.047 kB / 0.8252 GB, free: 11.95 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_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_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)