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/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.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.00556/0.00556, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001219/0.001219, 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 1.21/1.21, allocations: 143 MB / 433.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 59.91 kB / 0.5951 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4829/0.4843, allocations: 82.03 MB / 0.6752 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002198/0.4865, allocations: 1.269 MB / 0.6764 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1485/0.635, allocations: 132 MB / 0.8053 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.6351, allocations: 0 / 0.8053 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.6352, allocations: 3.938 kB / 0.8053 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.538e-05/0.6353, allocations: 7.922 kB / 0.8054 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.6357, allocations: 51.73 kB / 0.8054 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.484e-05/0.6358, allocations: 27.86 kB / 0.8054 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.6358, allocations: 3.984 kB / 0.8054 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.498e-05/0.6359, allocations: 11.94 kB / 0.8054 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.774e-05/0.636, allocations: 11.98 kB / 0.8055 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.636, allocations: 0 / 0.8055 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 8.35e-05/0.6361, allocations: 12 kB / 0.8055 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.6361, allocations: 7.984 kB / 0.8055 GB, free: 496 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.6361, allocations: 7.938 kB / 0.8055 GB, free: 488 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.6363, allocations: 27.7 kB / 0.8055 GB, free: 464 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6363, allocations: 3.938 kB / 0.8055 GB, free: 460 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6363, allocations: 0 / 0.8055 GB, free: 460 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.6363, allocations: 0 / 0.8055 GB, free: 460 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.0004159/0.6367, allocations: 340.4 kB / 0.8058 GB, free: 72 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.6368, allocations: 12.03 kB / 0.8059 GB, free: 60 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.6368, allocations: 34.75 kB / 0.8059 GB, free: 16 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.6368, allocations: 0.9375 kB / 0.8059 GB, free: 16 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.637, allocations: 168.4 kB / 0.806 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/0.6371, allocations: 26.27 kB / 0.8061 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.6371, allocations: 4.375 kB / 0.8061 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.6372, allocations: 42 kB / 0.8061 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.6373, allocations: 3.984 kB / 0.8061 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.6373, allocations: 4 kB / 0.8061 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.6373, allocations: 0 / 0.8061 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.612e-05/0.6374, allocations: 15.92 kB / 0.8061 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.6375, allocations: 157.7 kB / 0.8063 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.856e-05/0.6376, allocations: 26.58 kB / 0.8063 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.6377, allocations: 20.94 kB / 0.8063 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.6379, allocations: 93.09 kB / 0.8064 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.6379, allocations: 34.5 kB / 0.8065 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.6379, allocations: 0 / 0.8065 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0002477/0.6382, allocations: 61.61 kB / 0.8065 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.6382, allocations: 51.41 kB / 0.8066 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.6383, allocations: 97.86 kB / 0.8067 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.6383, allocations: 29.7 kB / 0.8067 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.6383, allocations: 80.14 kB / 0.8068 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.6384, allocations: 15.81 kB / 0.8068 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.6384, allocations: 17.72 kB / 0.8068 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.6385, allocations: 310.8 kB / 0.8071 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.363e-05/0.6386, allocations: 7.938 kB / 0.8071 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/0.6386, allocations: 11.98 kB / 0.8071 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.873e-05/0.6387, allocations: 28.84 kB / 0.8071 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6387, allocations: 0 / 0.8071 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001461/0.6389, allocations: 57.58 kB / 0.8072 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.6389, allocations: 10.12 kB / 0.8072 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6389, allocations: 0 / 0.8072 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6389, allocations: 0 / 0.8072 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.639, allocations: 4 kB / 0.8072 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.639, allocations: 7.984 kB / 0.8072 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.6391, allocations: 4 kB / 0.8072 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.6391, allocations: 0 / 0.8072 GB, free: 14.45 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 6.843e-05/0.6391, allocations: 113.8 kB / 0.8073 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.6392, allocations: 3.938 kB / 0.8073 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.6393, allocations: 61.62 kB / 0.8074 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.6393, allocations: 0 / 0.8074 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6393, allocations: 4 kB / 0.8074 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.6393, allocations: 48 / 0.8074 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.6395, allocations: 157.7 kB / 0.8075 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6395, allocations: 0 / 0.8075 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.6395, allocations: 8 kB / 0.8076 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.6395, allocations: 3.938 kB / 0.8076 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.6395, allocations: 0 / 0.8076 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.6395, allocations: 0 / 0.8076 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6395, allocations: 0 / 0.8076 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.6397, allocations: 73.11 kB / 0.8076 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.6397, allocations: 96.94 kB / 0.8077 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.6398, allocations: 7.984 kB / 0.8077 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.792e-05/0.6398, allocations: 0 / 0.8077 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.6398, allocations: 4 kB / 0.8077 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.6399, allocations: 0 / 0.8077 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.147e-05/0.6399, allocations: 79.28 kB / 0.8078 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.513e-06/0.6399, allocations: 0 / 0.8078 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001845/0.6401, allocations: 15.94 kB / 0.8078 GB, free: 13.73 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.0004176/0.6405, allocations: 0.6267 MB / 0.8084 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.6407, allocations: 31.86 kB / 0.8085 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6407, allocations: 0 / 0.8085 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.675e-05/0.6407, allocations: 11.98 kB / 0.8085 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.6409, allocations: 4 kB / 0.8085 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.6413, allocations: 165.2 kB / 0.8086 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.6415, allocations: 0.6767 MB / 0.8093 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.318e-05/0.6416, allocations: 0 / 0.8093 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.6416, allocations: 19.42 kB / 0.8093 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.6416, allocations: 0 / 0.8093 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.658, allocations: 1.382 MB / 0.8107 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/8.339, allocations: 6.125 kB / 0.8107 GB, free: 10.87 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)