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-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.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.007597/0.007598, allocations: 98.56 kB / 15.73 MB, free: 6.012 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.001795/0.001795, allocations: 191.8 kB / 16.67 MB, free: 5.949 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.031/1.031, allocations: 143.3 MB / 433.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 59.91 kB / 0.5953 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3686, allocations: 82.01 MB / 0.6754 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1769/0.5455, allocations: 147.8 MB / 0.8198 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001533/0.5457, allocations: 51.86 kB / 0.8198 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.447e-05/0.5457, allocations: 0 / 0.8198 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.5459, allocations: 0 / 0.8198 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.146e-05/0.5459, allocations: 19.91 kB / 0.8199 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.5465, allocations: 119 kB / 0.82 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.576e-05/0.5466, allocations: 31.92 kB / 0.82 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.5466, allocations: 0 / 0.82 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.418e-05/0.5467, allocations: 23.84 kB / 0.82 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.5467, allocations: 8 kB / 0.82 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.5468, allocations: 0 / 0.82 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.547, allocations: 87.7 kB / 0.8201 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.5471, allocations: 4 kB / 0.8201 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.5471, allocations: 23.91 kB / 0.8201 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.5473, allocations: 71.38 kB / 0.8202 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5473, allocations: 0 / 0.8202 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5473, allocations: 0 / 0.8202 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5473, allocations: 0 / 0.8202 GB, free: 1.379 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.0004451/0.5478, allocations: 344.7 kB / 0.8205 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5478, allocations: 8.625 kB / 0.8206 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.5479, allocations: 34.75 kB / 0.8206 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.5481, allocations: 20.92 kB / 0.8206 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.5483, allocations: 168.1 kB / 0.8208 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.5483, allocations: 29.64 kB / 0.8208 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.5484, allocations: 0 / 0.8208 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.5485, allocations: 53.66 kB / 0.8208 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.5485, allocations: 0 / 0.8208 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.5485, allocations: 0 / 0.8208 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.5486, allocations: 4 kB / 0.8208 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.481e-05/0.5486, allocations: 15.98 kB / 0.8209 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.549, allocations: 272.8 kB / 0.8211 GB, free: 300 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.029e-05/0.5491, allocations: 22.52 kB / 0.8211 GB, free: 268 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.5491, allocations: 4.859 kB / 0.8211 GB, free: 260 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-06/0.5491, allocations: 0 / 0.8211 GB, free: 260 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.5491, allocations: 34.56 kB / 0.8212 GB, free: 216 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.5492, allocations: 0 / 0.8212 GB, free: 216 kB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001337/0.5493, allocations: 41.75 kB / 0.8212 GB, free: 168 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.5493, allocations: 59.28 kB / 0.8213 GB, free: 96 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.5495, allocations: 109.8 kB / 0.8214 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.5495, allocations: 25.7 kB / 0.8214 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.5495, allocations: 96.03 kB / 0.8215 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-06/0.5496, allocations: 0 / 0.8215 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.5496, allocations: 21.84 kB / 0.8215 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5498, allocations: 310.8 kB / 0.8218 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.408e-05/0.5498, allocations: 11.98 kB / 0.8218 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.5498, allocations: 18.58 kB / 0.8218 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.798e-05/0.5499, allocations: 30.52 kB / 0.8219 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5499, allocations: 7.938 kB / 0.8219 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.617e-05/0.55, allocations: 53.62 kB / 0.8219 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.55, allocations: 4 kB / 0.8219 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.55, allocations: 4 kB / 0.8219 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.55, allocations: 0 / 0.8219 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.654e-05/0.5501, allocations: 11.92 kB / 0.822 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.5501, allocations: 4 kB / 0.822 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.5501, allocations: 3.953 kB / 0.822 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.5502, allocations: 96 / 0.822 GB, free: 15.34 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.124e-05/0.5502, allocations: 121.8 kB / 0.8221 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.5503, allocations: 0 / 0.8221 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.325e-05/0.5503, allocations: 7.125 kB / 0.8221 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.5503, allocations: 3.938 kB / 0.8221 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5503, allocations: 0 / 0.8221 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.5503, allocations: 0 / 0.8221 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.5506, allocations: 346.7 kB / 0.8224 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5506, allocations: 4.031 kB / 0.8224 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.5507, allocations: 7.938 kB / 0.8224 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.5507, allocations: 0 / 0.8224 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.5507, allocations: 0 / 0.8224 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.5507, allocations: 0 / 0.8224 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5507, allocations: 0 / 0.8224 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.6e-05/0.5508, allocations: 65.06 kB / 0.8225 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.5508, allocations: 85 kB / 0.8226 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.5509, allocations: 4.031 kB / 0.8226 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.367e-05/0.5509, allocations: 4.25 kB / 0.8226 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.551, allocations: 3.938 kB / 0.8226 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.551, allocations: 4 kB / 0.8226 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.219e-05/0.551, allocations: 87.27 kB / 0.8227 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.551, allocations: 0 / 0.8227 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001889/0.5512, allocations: 8 kB / 0.8227 GB, free: 14.5 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.0004022/0.5516, allocations: 0.5968 MB / 0.8233 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.884e-05/0.5517, allocations: 15.94 kB / 0.8233 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5517, allocations: 4 kB / 0.8233 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-06/0.5517, allocations: 0 / 0.8233 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.552, allocations: 11.11 kB / 0.8233 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.5523, allocations: 139.1 kB / 0.8234 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.5527, allocations: 0.6768 MB / 0.8241 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.485e-05/0.5527, allocations: 11.94 kB / 0.8241 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.5528, allocations: 15.38 kB / 0.8241 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.5528, allocations: 0 / 0.8241 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.5745, allocations: 1.385 MB / 0.8255 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/8.082, allocations: 13.34 kB / 0.8255 GB, free: 11.74 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)