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.001461/0.001461, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 194 kB / 16.53 MB, free: 6.391 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.009/1.009, allocations: 143 MB / 433.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 71.88 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1866, allocations: 82.05 MB / 0.5944 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00298/0.1897, allocations: 1.261 MB / 0.5956 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4875/0.6772, allocations: 132 MB / 0.7246 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.6772, allocations: 4 kB / 0.7246 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.6773, allocations: 0.75 kB / 0.7246 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.283e-05/0.6774, allocations: 9.719 kB / 0.7246 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.6778, allocations: 52.89 kB / 0.7246 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.077e-05/0.6778, allocations: 24.84 kB / 0.7247 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.6779, allocations: 3.094 kB / 0.7247 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.362e-05/0.6779, allocations: 11 kB / 0.7247 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.678, allocations: 5.922 kB / 0.7247 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.678, allocations: 6.203 kB / 0.7247 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.9e-05/0.6781, allocations: 13 kB / 0.7247 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.6781, allocations: 6.531 kB / 0.7247 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.6782, allocations: 12.03 kB / 0.7247 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.6783, allocations: 26.55 kB / 0.7247 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6783, allocations: 0.8438 kB / 0.7247 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6783, allocations: 0 / 0.7247 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.6783, allocations: 0 / 0.7247 GB, free: 0.5469 MB / 0.545 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.0004243/0.6788, allocations: 339.3 kB / 0.7251 GB, free: 196 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.6788, allocations: 9.312 kB / 0.7251 GB, free: 196 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.6788, allocations: 36.27 kB / 0.7251 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.6789, allocations: 9.031 kB / 0.7251 GB, free: 148 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.679, allocations: 167 kB / 0.7253 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.757e-05/0.6791, allocations: 29.59 kB / 0.7253 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.6791, allocations: 1.219 kB / 0.7253 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.6793, allocations: 44.97 kB / 0.7253 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.6793, allocations: 1.078 kB / 0.7253 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.6793, allocations: 0 / 0.7253 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.6793, allocations: 0.8125 kB / 0.7254 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/0.6794, allocations: 11 kB / 0.7254 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.6796, allocations: 156 kB / 0.7255 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.6797, allocations: 35.31 kB / 0.7255 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.6798, allocations: 16.02 kB / 0.7256 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.6799, allocations: 88.8 kB / 0.7256 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.68, allocations: 40.72 kB / 0.7257 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.68, allocations: 0 / 0.7257 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002412/0.6802, allocations: 55.23 kB / 0.7257 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.6803, allocations: 56.84 kB / 0.7258 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/0.6803, allocations: 102.8 kB / 0.7259 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.6804, allocations: 26.92 kB / 0.7259 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.6804, allocations: 80.14 kB / 0.726 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.6804, allocations: 21.59 kB / 0.726 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.6805, allocations: 21.38 kB / 0.726 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.6806, allocations: 313.3 kB / 0.7263 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-05/0.6806, allocations: 5.938 kB / 0.7263 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.112e-05/0.6807, allocations: 11.14 kB / 0.7263 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.702e-05/0.6808, allocations: 22.8 kB / 0.7264 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6808, allocations: 0.5625 kB / 0.7264 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001256/0.6809, allocations: 48.23 kB / 0.7264 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6809, allocations: 13.86 kB / 0.7264 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6809, allocations: 3.938 kB / 0.7264 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.681, allocations: 0 / 0.7264 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.681, allocations: 7.328 kB / 0.7264 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.681, allocations: 3.125 kB / 0.7264 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.6811, allocations: 2.859 kB / 0.7264 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.6811, allocations: 1.094 kB / 0.7264 GB, free: 14.76 MB / 0.5606 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.707e-05/0.6812, allocations: 107.7 kB / 0.7265 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.6812, allocations: 10.39 kB / 0.7266 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.6813, allocations: 60.23 kB / 0.7266 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.6814, allocations: 0.6094 kB / 0.7266 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6814, allocations: 0 / 0.7266 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.6814, allocations: 1.812 kB / 0.7266 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.864e-05/0.6815, allocations: 156.7 kB / 0.7268 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6815, allocations: 0 / 0.7268 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.6815, allocations: 9.969 kB / 0.7268 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.6815, allocations: 5.469 kB / 0.7268 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.6816, allocations: 0.6094 kB / 0.7268 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6816, allocations: 4 kB / 0.7268 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6816, allocations: 1.469 kB / 0.7268 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.6817, allocations: 71.3 kB / 0.7269 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.6818, allocations: 84.53 kB / 0.7269 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.6818, allocations: 0 / 0.7269 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.6818, allocations: 6.766 kB / 0.7269 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.6819, allocations: 2.359 kB / 0.7269 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.6819, allocations: 4.891 kB / 0.7269 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.184e-05/0.6819, allocations: 79.19 kB / 0.727 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.292e-06/0.6819, allocations: 2.094 kB / 0.727 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001863/0.6821, allocations: 11.94 kB / 0.727 GB, free: 14.14 MB / 0.5606 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.0004483/0.6826, allocations: 0.6304 MB / 0.7277 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.6827, allocations: 20.88 kB / 0.7277 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6827, allocations: 1.25 kB / 0.7277 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.014e-05/0.6828, allocations: 12.91 kB / 0.7277 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.683, allocations: 9.5 kB / 0.7277 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.6834, allocations: 161.7 kB / 0.7278 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.6837, allocations: 0.6745 MB / 0.7285 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.139e-05/0.6837, allocations: 4.5 kB / 0.7285 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.6837, allocations: 8.562 kB / 0.7285 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.6837, allocations: 1.156 kB / 0.7285 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08895/0.7727, allocations: 1.365 MB / 0.7299 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/8.33, allocations: 3.75 kB / 0.7299 GB, free: 12.36 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)