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.0008392/0.0008394, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006374/0.006374, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.344 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 0.999/0.999, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003123, allocations: 12 kB / 0.5165 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.166, allocations: 83.4 MB / 0.598 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001713/0.1678, allocations: 1.221 MB / 0.5991 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4174/0.5852, allocations: 128.5 MB / 0.7247 GB, free: 1.488 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.5853, allocations: 1.969 kB / 0.7247 GB, free: 1.488 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.5853, allocations: 1.359 kB / 0.7247 GB, free: 1.488 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.338e-05/0.5854, allocations: 14.23 kB / 0.7247 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.5857, allocations: 59.91 kB / 0.7247 GB, free: 1.449 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.247e-05/0.5858, allocations: 47.06 kB / 0.7248 GB, free: 1.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.301e-05/0.5859, allocations: 12.58 kB / 0.7248 GB, free: 1.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.923e-05/0.5859, allocations: 19.31 kB / 0.7248 GB, free: 1.418 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.85e-05/0.586, allocations: 24.53 kB / 0.7248 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.586, allocations: 6.656 kB / 0.7248 GB, free: 1.402 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.59e-05/0.5861, allocations: 17.78 kB / 0.7249 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.5861, allocations: 6.688 kB / 0.7249 GB, free: 1.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.5862, allocations: 45.8 kB / 0.7249 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.5863, allocations: 55.05 kB / 0.725 GB, free: 1.332 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5863, allocations: 0 / 0.725 GB, free: 1.332 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5864, allocations: 1.312 kB / 0.725 GB, free: 1.332 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.5864, allocations: 0 / 0.725 GB, free: 1.332 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004926/0.5869, allocations: 378 kB / 0.7253 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5869, allocations: 8.969 kB / 0.7253 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.587, allocations: 37.06 kB / 0.7254 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.587, allocations: 7.969 kB / 0.7254 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.5871, allocations: 176.6 kB / 0.7255 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.5871, allocations: 2.875 kB / 0.7256 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.5871, allocations: 2.469 kB / 0.7256 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.5874, allocations: 93.56 kB / 0.7256 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.5874, allocations: 5.25 kB / 0.7256 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.5874, allocations: 1.156 kB / 0.7256 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5875, allocations: 1.5 kB / 0.7257 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.5878, allocations: 92.97 kB / 0.7257 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.5882, allocations: 290.4 kB / 0.726 GB, free: 356 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.5884, allocations: 65.89 kB / 0.7261 GB, free: 324 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.5886, allocations: 50.25 kB / 0.7261 GB, free: 308 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.5888, allocations: 95.11 kB / 0.7262 GB, free: 208 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.5888, allocations: 35.91 kB / 0.7263 GB, free: 164 kB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.5888, allocations: 0 / 0.7263 GB, free: 164 kB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0006202/0.5894, allocations: 159.3 kB / 0.7264 GB, free: 116 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.5895, allocations: 51.41 kB / 0.7265 GB, free: 52 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.5896, allocations: 118.1 kB / 0.7266 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.5896, allocations: 25.7 kB / 0.7266 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.5897, allocations: 95.48 kB / 0.7267 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.5897, allocations: 12.06 kB / 0.7267 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.5898, allocations: 13.72 kB / 0.7267 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5899, allocations: 319.1 kB / 0.727 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.59, allocations: 44.67 kB / 0.7271 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.5902, allocations: 41.17 kB / 0.7271 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.5906, allocations: 90.12 kB / 0.7272 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5906, allocations: 1.094 kB / 0.7272 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003678/0.5909, allocations: 118.3 kB / 0.7273 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.591, allocations: 5 kB / 0.7273 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.591, allocations: 5.641 kB / 0.7273 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.591, allocations: 1.188 kB / 0.7273 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.5911, allocations: 25.72 kB / 0.7273 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5912, allocations: 0 / 0.7273 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-05/0.5912, allocations: 20.8 kB / 0.7273 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.5913, allocations: 5.219 kB / 0.7274 GB, free: 15.39 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 7.446e-05/0.5913, allocations: 121.2 kB / 0.7275 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.5914, allocations: 6.5 kB / 0.7275 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004206/0.5918, allocations: 129.5 kB / 0.7276 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5918, allocations: 1.672 kB / 0.7276 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5918, allocations: 48 / 0.7276 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5918, allocations: 5.703 kB / 0.7276 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.592, allocations: 173.8 kB / 0.7278 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5921, allocations: 0 / 0.7278 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.5922, allocations: 36.59 kB / 0.7278 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.5922, allocations: 0.5625 kB / 0.7278 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.5922, allocations: 1.312 kB / 0.7278 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5922, allocations: 0 / 0.7278 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5922, allocations: 0.6562 kB / 0.7278 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.5926, allocations: 223.6 kB / 0.728 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.5927, allocations: 79.27 kB / 0.7281 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.5927, allocations: 4 kB / 0.7281 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.5928, allocations: 17.28 kB / 0.7281 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.5929, allocations: 7.891 kB / 0.7281 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.5929, allocations: 1.25 kB / 0.7281 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.141e-05/0.593, allocations: 91.45 kB / 0.7282 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.593, allocations: 0 / 0.7282 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002342/0.5932, allocations: 12.84 kB / 0.7282 GB, free: 14.66 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.0006994/0.5939, allocations: 0.7687 MB / 0.729 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.5943, allocations: 91.39 kB / 0.7291 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5943, allocations: 0 / 0.7291 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.5945, allocations: 52.39 kB / 0.7291 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.5948, allocations: 11.03 kB / 0.7291 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.5966, allocations: 1.495 MB / 0.7306 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.5968, allocations: 0.6824 MB / 0.7313 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.616e-05/0.5969, allocations: 2.719 kB / 0.7313 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.5969, allocations: 20.28 kB / 0.7313 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.5969, allocations: 0 / 0.7313 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01105/0.608, allocations: 1.742 MB / 0.733 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.6082, allocations: 218.8 kB / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.323, allocations: 4 kB / 0.7332 GB, free: 11.59 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)