Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_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.005308/0.005308, allocations: 97.94 kB / 15.73 MB, free: 6.004 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.001198/0.001198, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.013/1.013, allocations: 143 MB / 433.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 0.595 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4242, allocations: 82.03 MB / 0.6751 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002429/0.4267, allocations: 1.485 MB / 0.6766 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.155/0.5817, allocations: 132.1 MB / 0.8056 GB, free: 336 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.5818, allocations: 0 / 0.8056 GB, free: 336 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.5819, allocations: 3.938 kB / 0.8056 GB, free: 332 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.746e-05/0.582, allocations: 19.84 kB / 0.8056 GB, free: 312 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.5823, allocations: 63.72 kB / 0.8057 GB, free: 248 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.733e-05/0.5824, allocations: 51.8 kB / 0.8057 GB, free: 196 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.5825, allocations: 17.25 kB / 0.8057 GB, free: 180 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.5826, allocations: 23.92 kB / 0.8058 GB, free: 156 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.187e-05/0.5827, allocations: 23.91 kB / 0.8058 GB, free: 132 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.5827, allocations: 7.938 kB / 0.8058 GB, free: 124 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 8.349e-05/0.5828, allocations: 19.98 kB / 0.8058 GB, free: 104 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.5828, allocations: 7.984 kB / 0.8058 GB, free: 96 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.5828, allocations: 23.88 kB / 0.8058 GB, free: 72 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.583, allocations: 59.31 kB / 0.8059 GB, free: 16 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.583, allocations: 0 / 0.8059 GB, free: 16 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.693e-06/0.583, allocations: 4 kB / 0.8059 GB, free: 12 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.583, allocations: 0 / 0.8059 GB, free: 12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005124/0.5835, allocations: 379.2 kB / 0.8063 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5836, allocations: 12.03 kB / 0.8063 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.5836, allocations: 30.75 kB / 0.8063 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.5837, allocations: 8.891 kB / 0.8063 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.5838, allocations: 176.2 kB / 0.8065 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.5838, allocations: 8.359 kB / 0.8065 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.5839, allocations: 8.375 kB / 0.8065 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.5841, allocations: 70.22 kB / 0.8066 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.5841, allocations: 3.938 kB / 0.8066 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.5842, allocations: 0 / 0.8066 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5842, allocations: 4 kB / 0.8066 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.5845, allocations: 67.92 kB / 0.8066 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.5848, allocations: 288.7 kB / 0.8069 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.5851, allocations: 50.53 kB / 0.807 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.5852, allocations: 40.92 kB / 0.807 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.5854, allocations: 93.09 kB / 0.8071 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.5854, allocations: 30.56 kB / 0.8071 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.5854, allocations: 0 / 0.8071 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0005571/0.586, allocations: 137.5 kB / 0.8072 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.586, allocations: 51.41 kB / 0.8073 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.5861, allocations: 117.8 kB / 0.8074 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.5862, allocations: 25.7 kB / 0.8074 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.5862, allocations: 88.12 kB / 0.8075 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.5862, allocations: 15.92 kB / 0.8075 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.5863, allocations: 13.72 kB / 0.8075 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.5864, allocations: 326.8 kB / 0.8079 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.5865, allocations: 27.95 kB / 0.8079 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.5867, allocations: 27.97 kB / 0.8079 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.587, allocations: 76.72 kB / 0.808 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.587, allocations: 0 / 0.808 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003272/0.5873, allocations: 101.9 kB / 0.8081 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5873, allocations: 8 kB / 0.8081 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.5874, allocations: 7.938 kB / 0.8081 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5874, allocations: 0 / 0.8081 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.5875, allocations: 19.97 kB / 0.8081 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.5875, allocations: 4 kB / 0.8081 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-05/0.5876, allocations: 15.94 kB / 0.8081 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.5876, allocations: 0 / 0.8081 GB, free: 13.47 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 7.636e-05/0.5877, allocations: 113.8 kB / 0.8082 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.5877, allocations: 4 kB / 0.8082 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.5881, allocations: 113.4 kB / 0.8084 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.5881, allocations: 3.984 kB / 0.8084 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5882, allocations: 0 / 0.8084 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.5882, allocations: 0 / 0.8084 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.5883, allocations: 173.6 kB / 0.8085 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5883, allocations: 4 kB / 0.8085 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.5885, allocations: 19.97 kB / 0.8085 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5885, allocations: 0 / 0.8085 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-06/0.5885, allocations: 4 kB / 0.8085 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5885, allocations: 4 kB / 0.8086 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5885, allocations: 0 / 0.8086 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.5889, allocations: 195.3 kB / 0.8087 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.5889, allocations: 89.05 kB / 0.8088 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.5889, allocations: 0 / 0.8088 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.5891, allocations: 15.98 kB / 0.8088 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.5891, allocations: 4 kB / 0.8088 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.5891, allocations: 0 / 0.8088 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.196e-05/0.5892, allocations: 95.64 kB / 0.8089 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5892, allocations: 4 kB / 0.8089 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002474/0.5894, allocations: 19.94 kB / 0.809 GB, free: 12.52 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.0006776/0.5901, allocations: 0.7358 MB / 0.8097 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.5905, allocations: 71.86 kB / 0.8097 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5905, allocations: 4 kB / 0.8097 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.5906, allocations: 31.97 kB / 0.8098 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.591, allocations: 15.47 kB / 0.8098 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.5929, allocations: 1.434 MB / 0.8112 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.5932, allocations: 0.6846 MB / 0.8119 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.093e-05/0.5933, allocations: 12.45 kB / 0.8119 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.5933, allocations: 15.44 kB / 0.8119 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of SimCode: time 3.61e-07/0.5934, allocations: 0 / 0.8119 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.6131, allocations: 2.082 MB / 0.8139 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.3, allocations: 3.984 kB / 0.8139 GB, free: 7.43 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.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_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)