Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.008117/0.008117, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.002008/0.002009, allocations: 197.9 kB / 16.67 MB, free: 5.973 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.12/1.12, allocations: 143.3 MB / 433.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 63.91 kB / 0.5953 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4703, allocations: 82.03 MB / 0.6754 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00199/0.4723, allocations: 1.267 MB / 0.6767 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1654/0.6377, allocations: 132 MB / 0.8056 GB, free: 412 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.6379, allocations: 0 / 0.8056 GB, free: 412 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.638, allocations: 3.938 kB / 0.8056 GB, free: 408 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.316e-05/0.6381, allocations: 7.922 kB / 0.8056 GB, free: 400 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.6385, allocations: 55.72 kB / 0.8057 GB, free: 344 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.987e-05/0.6386, allocations: 23.94 kB / 0.8057 GB, free: 320 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.6387, allocations: 3.984 kB / 0.8057 GB, free: 316 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.28e-05/0.6387, allocations: 11.88 kB / 0.8057 GB, free: 304 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.6388, allocations: 8 kB / 0.8057 GB, free: 296 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.6388, allocations: 4 kB / 0.8057 GB, free: 292 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 8.425e-05/0.6389, allocations: 11.98 kB / 0.8057 GB, free: 280 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.639, allocations: 7.938 kB / 0.8057 GB, free: 272 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.639, allocations: 7.984 kB / 0.8057 GB, free: 264 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.6391, allocations: 31.7 kB / 0.8058 GB, free: 236 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6392, allocations: 0 / 0.8058 GB, free: 236 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6392, allocations: 0 / 0.8058 GB, free: 236 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.6392, allocations: 4 kB / 0.8058 GB, free: 232 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006355/0.6398, allocations: 336.4 kB / 0.8061 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.6399, allocations: 11.97 kB / 0.8061 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.6399, allocations: 34.75 kB / 0.8061 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.64, allocations: 4.938 kB / 0.8061 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.6402, allocations: 160.4 kB / 0.8063 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-05/0.6403, allocations: 34.25 kB / 0.8063 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.6403, allocations: 8.312 kB / 0.8063 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.6404, allocations: 49.98 kB / 0.8064 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.6404, allocations: 0 / 0.8064 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.6405, allocations: 0 / 0.8064 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6405, allocations: 0 / 0.8064 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.842e-05/0.6406, allocations: 15.98 kB / 0.8064 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.6408, allocations: 153.6 kB / 0.8065 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.6409, allocations: 30.61 kB / 0.8066 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.641, allocations: 24.88 kB / 0.8066 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.6411, allocations: 85.11 kB / 0.8067 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.6412, allocations: 38.48 kB / 0.8067 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.6412, allocations: 0 / 0.8067 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.000263/0.6415, allocations: 53.69 kB / 0.8068 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.6415, allocations: 59.41 kB / 0.8068 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.6416, allocations: 93.84 kB / 0.8069 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.6416, allocations: 33.64 kB / 0.8069 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.6417, allocations: 80.14 kB / 0.807 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.6417, allocations: 11.89 kB / 0.807 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.6417, allocations: 13.72 kB / 0.807 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.6419, allocations: 314.8 kB / 0.8073 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.065e-05/0.642, allocations: 11.94 kB / 0.8073 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.816e-05/0.642, allocations: 11.98 kB / 0.8074 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.013e-05/0.6421, allocations: 20.86 kB / 0.8074 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6421, allocations: 0 / 0.8074 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001382/0.6423, allocations: 53.62 kB / 0.8074 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.6423, allocations: 11.94 kB / 0.8074 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6423, allocations: 0 / 0.8074 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.6423, allocations: 0 / 0.8074 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/0.6424, allocations: 4 kB / 0.8074 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6424, allocations: 4 kB / 0.8074 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.17e-05/0.6424, allocations: 7.938 kB / 0.8075 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-06/0.6425, allocations: 0 / 0.8075 GB, free: 14.23 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.429e-05/0.6425, allocations: 113.8 kB / 0.8076 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.6426, allocations: 7.938 kB / 0.8076 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.6427, allocations: 53.64 kB / 0.8076 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.6428, allocations: 4.031 kB / 0.8076 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6428, allocations: 3.984 kB / 0.8076 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.6428, allocations: 4 kB / 0.8076 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.6429, allocations: 157.7 kB / 0.8078 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6429, allocations: 0 / 0.8078 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.643, allocations: 8 kB / 0.8078 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.643, allocations: 3.938 kB / 0.8078 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.643, allocations: 0 / 0.8078 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.643, allocations: 0 / 0.8078 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.643, allocations: 7.938 kB / 0.8078 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.6432, allocations: 81.11 kB / 0.8079 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.6432, allocations: 85 kB / 0.808 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.6433, allocations: 4 kB / 0.808 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.637e-05/0.6433, allocations: 0 / 0.808 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.6433, allocations: 3.984 kB / 0.808 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.6434, allocations: 4 kB / 0.808 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.194e-05/0.6434, allocations: 87.22 kB / 0.8081 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6434, allocations: 0 / 0.8081 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001902/0.6436, allocations: 8 kB / 0.8081 GB, free: 13.51 MB / 0.6387 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 (3): * Single equations (assignments): 3 * 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.0005851/0.6442, allocations: 0.6318 MB / 0.8087 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.6444, allocations: 19.98 kB / 0.8087 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6444, allocations: 0 / 0.8087 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.072e-05/0.6444, allocations: 12 kB / 0.8087 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.6447, allocations: 10.05 kB / 0.8087 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.6452, allocations: 157.2 kB / 0.8089 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.6456, allocations: 0.6768 MB / 0.8095 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.675e-05/0.6456, allocations: 4 kB / 0.8095 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.6456, allocations: 19.38 kB / 0.8096 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of SimCode: time 2.7e-07/0.6457, allocations: 0 / 0.8096 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.6686, allocations: 1.387 MB / 0.8109 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.624, allocations: 0 / 0.8109 GB, free: 10.64 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX_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_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)