Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8049/0.8049, allocations: 143.4 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 180.4 kB / 191.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 447.7 MB, free: 6.504 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 92.27 kB / 0.5188 GB, free: 2.863 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001761, allocations: 278.2 kB / 0.6005 GB, free: 48.95 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.000478, allocations: 16 kB / 0.6929 GB, free: 2.277 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4561, allocations: 82.78 MB / 0.7737 GB, free: 26.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/0.6641, allocations: 135.3 MB / 0.9058 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.6644, allocations: 79.83 kB / 0.9059 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.003863/0.6683, allocations: 1.674 MB / 0.9075 GB, free: 1.008 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6683, allocations: 0 / 0.9075 GB, free: 1.008 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.6684, allocations: 4 kB / 0.9075 GB, free: 1.004 MB / 0.5573 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.0003454/0.6687, allocations: 319.4 kB / 0.9078 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.6688, allocations: 8.828 kB / 0.9078 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.6688, allocations: 11.98 kB / 0.9078 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.669, allocations: 170.9 kB / 0.908 GB, free: 428 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.328e-05/0.669, allocations: 33.7 kB / 0.908 GB, free: 388 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.6691, allocations: 0 / 0.908 GB, free: 388 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.6692, allocations: 33.69 kB / 0.9081 GB, free: 348 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6692, allocations: 192 / 0.9081 GB, free: 348 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.6692, allocations: 11.94 kB / 0.9081 GB, free: 336 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.6692, allocations: 0 / 0.9081 GB, free: 336 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.746e-05/0.6693, allocations: 11.98 kB / 0.9081 GB, free: 324 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.6695, allocations: 153.6 kB / 0.9082 GB, free: 120 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.026e-05/0.6696, allocations: 38.61 kB / 0.9083 GB, free: 72 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3842/1.054, allocations: 83.55 kB / 0.9084 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/1.054, allocations: 32.16 kB / 0.9084 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 2.866e-06/1.054, allocations: 0 / 0.9084 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0003041/1.054, allocations: 55.95 kB / 0.9084 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/1.054, allocations: 55.11 kB / 0.9085 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/1.054, allocations: 91.38 kB / 0.9086 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/1.054, allocations: 30.7 kB / 0.9086 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.2e-05/1.054, allocations: 80.14 kB / 0.9087 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/1.054, allocations: 12.69 kB / 0.9087 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/1.054, allocations: 0 / 0.9087 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.229e-05/1.054, allocations: 314.8 kB / 0.909 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/1.055, allocations: 6.312 kB / 0.909 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/1.055, allocations: 11.17 kB / 0.909 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.797e-05/1.055, allocations: 12.94 kB / 0.909 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.055, allocations: 1.156 kB / 0.909 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001196/1.055, allocations: 51.95 kB / 0.9091 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.055, allocations: 5.891 kB / 0.9091 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/1.055, allocations: 2.078 kB / 0.9091 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.055, allocations: 1.031 kB / 0.9091 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/1.055, allocations: 6.344 kB / 0.9091 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.055, allocations: 2.297 kB / 0.9091 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/1.055, allocations: 6.391 kB / 0.9091 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/1.055, allocations: 1.469 kB / 0.9091 GB, free: 135.1 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.801e-05/1.055, allocations: 114.7 kB / 0.9092 GB, free: 135 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/1.055, allocations: 1.5 kB / 0.9092 GB, free: 135 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/1.055, allocations: 58.95 kB / 0.9093 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/1.055, allocations: 1.562 kB / 0.9093 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/1.055, allocations: 0.7812 kB / 0.9093 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.055, allocations: 0.6094 kB / 0.9093 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/1.055, allocations: 158.3 kB / 0.9094 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.055, allocations: 2.031 kB / 0.9094 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/1.055, allocations: 6.531 kB / 0.9094 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.055, allocations: 1.234 kB / 0.9094 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/1.055, allocations: 0.75 kB / 0.9094 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.055, allocations: 0.6094 kB / 0.9094 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/1.055, allocations: 6.938 kB / 0.9094 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/1.056, allocations: 88.27 kB / 0.9095 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/1.056, allocations: 82.36 kB / 0.9096 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/1.056, allocations: 4.734 kB / 0.9096 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.134e-05/1.056, allocations: 2.906 kB / 0.9096 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/1.056, allocations: 3.344 kB / 0.9096 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/1.056, allocations: 1.188 kB / 0.9096 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.862e-05/1.056, allocations: 80.25 kB / 0.9097 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/1.056, allocations: 2.094 kB / 0.9097 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002166/1.056, allocations: 10.12 kB / 0.9097 GB, free: 134.5 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002847/1.056, allocations: 142.8 kB / 0.9098 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001957/1.057, allocations: 21.8 kB / 0.9099 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.057, allocations: 0.6875 kB / 0.9099 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.35e-05/1.057, allocations: 10.84 kB / 0.9099 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/1.057, allocations: 10.06 kB / 0.9099 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/1.057, allocations: 150.6 kB / 0.91 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/1.057, allocations: 0.6782 MB / 0.9107 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.656e-05/1.058, allocations: 9.547 kB / 0.9107 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/1.058, allocations: 13.31 kB / 0.9107 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of SimCode: time 4.31e-07/1.058, allocations: 0 / 0.9107 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.004679/1.062, allocations: 0.9008 MB / 0.9116 GB, free: 133.5 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)