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: translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, 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.001319/0.001319, allocations: 192.9 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.9908/0.9908, allocations: 143 MB / 433.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001583, allocations: 67.91 kB / 0.5142 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1926, allocations: 82.04 MB / 0.5943 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003084/0.1958, allocations: 1.26 MB / 0.5955 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4688/0.6646, allocations: 132 MB / 0.7244 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.6647, allocations: 0 / 0.7244 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.6647, allocations: 4.453 kB / 0.7244 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.078e-05/0.6648, allocations: 6.359 kB / 0.7245 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.6653, allocations: 61 kB / 0.7245 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.048e-05/0.6654, allocations: 17.19 kB / 0.7245 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.062e-05/0.6654, allocations: 3.688 kB / 0.7245 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.774e-05/0.6655, allocations: 14.03 kB / 0.7245 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.6656, allocations: 7.594 kB / 0.7245 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.6656, allocations: 0 / 0.7245 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.249e-05/0.6657, allocations: 17.61 kB / 0.7246 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.6657, allocations: 2.203 kB / 0.7246 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.6657, allocations: 8.109 kB / 0.7246 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.6659, allocations: 36.61 kB / 0.7246 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6659, allocations: 2.047 kB / 0.7246 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6659, allocations: 0 / 0.7246 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.6659, allocations: 0.9375 kB / 0.7246 GB, free: 0.6953 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.0004095/0.6663, allocations: 337 kB / 0.7249 GB, free: 344 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.6664, allocations: 9.906 kB / 0.7249 GB, free: 344 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.6664, allocations: 1.938 kB / 0.7249 GB, free: 344 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.6665, allocations: 164.8 kB / 0.7251 GB, free: 144 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.694e-05/0.6666, allocations: 34.03 kB / 0.7251 GB, free: 108 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.6666, allocations: 6.156 kB / 0.7251 GB, free: 104 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.6668, allocations: 40 kB / 0.7252 GB, free: 68 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.6668, allocations: 8.938 kB / 0.7252 GB, free: 60 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.6668, allocations: 0 / 0.7252 GB, free: 60 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6668, allocations: 3.781 kB / 0.7252 GB, free: 60 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.719e-05/0.6669, allocations: 14.97 kB / 0.7252 GB, free: 56 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.6671, allocations: 151.8 kB / 0.7254 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.879e-05/0.6672, allocations: 35.17 kB / 0.7254 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.6673, allocations: 11.66 kB / 0.7254 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/0.6675, allocations: 89.09 kB / 0.7255 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.6675, allocations: 32.14 kB / 0.7255 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 2.685e-06/0.6675, allocations: 0 / 0.7255 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002562/0.6678, allocations: 70.64 kB / 0.7256 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.6678, allocations: 53.47 kB / 0.7256 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.6679, allocations: 95.39 kB / 0.7257 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.6679, allocations: 25.7 kB / 0.7257 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.668, allocations: 80.14 kB / 0.7258 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.668, allocations: 18.48 kB / 0.7258 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.668, allocations: 17.25 kB / 0.7259 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6682, allocations: 312.9 kB / 0.7262 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.6682, allocations: 14.78 kB / 0.7262 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.769e-05/0.6683, allocations: 5.953 kB / 0.7262 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.117e-05/0.6684, allocations: 26.08 kB / 0.7262 GB, free: 15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6684, allocations: 0 / 0.7262 GB, free: 15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001262/0.6685, allocations: 49.55 kB / 0.7262 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6685, allocations: 9.531 kB / 0.7263 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6685, allocations: 1.172 kB / 0.7263 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.6685, allocations: 0 / 0.7263 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.6686, allocations: 10.34 kB / 0.7263 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.6686, allocations: 1.062 kB / 0.7263 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.138e-05/0.6687, allocations: 2.672 kB / 0.7263 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.6687, allocations: 1.25 kB / 0.7263 GB, free: 14.95 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 9.14e-05/0.6688, allocations: 107.5 kB / 0.7264 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.6688, allocations: 9.5 kB / 0.7264 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.669, allocations: 64.86 kB / 0.7264 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.669, allocations: 5.156 kB / 0.7264 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.669, allocations: 0.6875 kB / 0.7264 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.669, allocations: 1.125 kB / 0.7265 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.6691, allocations: 152.9 kB / 0.7266 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6691, allocations: 0 / 0.7266 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.6692, allocations: 8.547 kB / 0.7266 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.6692, allocations: 3.938 kB / 0.7266 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.6692, allocations: 0.8438 kB / 0.7266 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6692, allocations: 0.6094 kB / 0.7266 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6692, allocations: 1.125 kB / 0.7266 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.6694, allocations: 85.27 kB / 0.7267 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.6694, allocations: 81.5 kB / 0.7268 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.6695, allocations: 8.594 kB / 0.7268 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.995e-05/0.6695, allocations: 1.781 kB / 0.7268 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.6695, allocations: 2.078 kB / 0.7268 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.6695, allocations: 2.062 kB / 0.7268 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.6696, allocations: 79.45 kB / 0.7269 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6696, allocations: 4 kB / 0.7269 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001993/0.6698, allocations: 12.66 kB / 0.7269 GB, free: 14.32 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.0001847/0.67, allocations: 115.1 kB / 0.727 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.6701, allocations: 21.84 kB / 0.727 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6701, allocations: 3.938 kB / 0.727 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.172e-05/0.6702, allocations: 9.594 kB / 0.727 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.6705, allocations: 10.66 kB / 0.727 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.6708, allocations: 123 kB / 0.7271 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.6711, allocations: 0.6759 MB / 0.7278 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.6711, allocations: 7.344 kB / 0.7278 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.6712, allocations: 14.78 kB / 0.7278 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.6712, allocations: 0 / 0.7278 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.002931/0.6741, allocations: 0.5267 MB / 0.7283 GB, free: 13.35 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)