Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 293 MB / 309 MB, free: 4.805 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009916/0.0009918, allocations: 174.2 kB / 378.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 0.6383 GB, free: 8.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007457/0.0007456, allocations: 94.94 kB / 0.7527 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003469, allocations: 12 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2103, allocations: 116.4 MB / 0.9904 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.539/0.7494, allocations: 166.2 MB / 1.153 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.7496, allocations: 75.2 kB / 1.153 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004986/0.7546, allocations: 2.172 MB / 1.155 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7546, allocations: 0 / 1.155 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.7547, allocations: 5.969 kB / 1.155 GB, free: 10.92 MB / 0.7292 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.0003497/0.755, allocations: 379.2 kB / 1.155 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.7551, allocations: 8.031 kB / 1.155 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.7551, allocations: 9.453 kB / 1.155 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.24e-05/0.7552, allocations: 173.4 kB / 1.155 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.7552, allocations: 8.375 kB / 1.155 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.7552, allocations: 6.203 kB / 1.155 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.7554, allocations: 80.38 kB / 1.156 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.7555, allocations: 0.75 kB / 1.156 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.7555, allocations: 3.938 kB / 1.156 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.7555, allocations: 4 kB / 1.156 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.7558, allocations: 95.83 kB / 1.156 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.756, allocations: 288.5 kB / 1.156 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.7562, allocations: 68.66 kB / 1.156 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.7564, allocations: 46.75 kB / 1.156 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.7565, allocations: 93.47 kB / 1.156 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.7565, allocations: 32.06 kB / 1.156 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.7566, allocations: 3.609 kB / 1.156 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0004848/0.757, allocations: 169 kB / 1.156 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.881e-05/0.7571, allocations: 55.92 kB / 1.156 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.513e-05/0.7571, allocations: 115.6 kB / 1.157 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.7572, allocations: 26.27 kB / 1.157 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.7572, allocations: 89.69 kB / 1.157 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.7572, allocations: 9.172 kB / 1.157 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.7572, allocations: 0 / 1.157 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.126e-05/0.7573, allocations: 324.3 kB / 1.157 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.7574, allocations: 41.75 kB / 1.157 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.7575, allocations: 38.55 kB / 1.157 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.7578, allocations: 95.66 kB / 1.157 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.7578, allocations: 0 / 1.157 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002865/0.7581, allocations: 130.9 kB / 1.157 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.7581, allocations: 4.625 kB / 1.157 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.7581, allocations: 0 / 1.157 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.7581, allocations: 5.078 kB / 1.157 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.7583, allocations: 17.02 kB / 1.157 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.7583, allocations: 4.609 kB / 1.157 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.139e-05/0.7584, allocations: 21.48 kB / 1.157 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.7584, allocations: 1.078 kB / 1.157 GB, free: 8.5 MB / 0.7292 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 4.318e-05/0.7584, allocations: 114.4 kB / 1.157 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.7585, allocations: 12.66 kB / 1.157 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.7588, allocations: 134.5 kB / 1.158 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.7588, allocations: 0.6094 kB / 1.158 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7588, allocations: 0 / 1.158 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.7588, allocations: 1.312 kB / 1.158 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.7589, allocations: 180.6 kB / 1.158 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.759, allocations: 0 / 1.158 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.513e-05/0.7591, allocations: 25.72 kB / 1.158 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.7591, allocations: 2.547 kB / 1.158 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.7591, allocations: 4.75 kB / 1.158 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7591, allocations: 0 / 1.158 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7591, allocations: 0 / 1.158 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.7594, allocations: 221.5 kB / 1.158 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.7594, allocations: 81.77 kB / 1.158 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.7594, allocations: 5.656 kB / 1.158 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.7596, allocations: 24.86 kB / 1.158 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.7596, allocations: 2.672 kB / 1.158 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.7596, allocations: 0 / 1.158 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.185e-05/0.7596, allocations: 95.11 kB / 1.158 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7597, allocations: 4 kB / 1.158 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000213/0.7599, allocations: 12.61 kB / 1.158 GB, free: 7.574 MB / 0.7292 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.0001454/0.76, allocations: 135.8 kB / 1.158 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.7603, allocations: 92.2 kB / 1.158 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.7604, allocations: 0.8438 kB / 1.158 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.7605, allocations: 54.02 kB / 1.158 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.7607, allocations: 14.47 kB / 1.158 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.761, allocations: 167.3 kB / 1.159 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.7611, allocations: 0.6909 MB / 1.159 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.293e-05/0.7612, allocations: 2.469 kB / 1.159 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.7612, allocations: 11.44 kB / 1.159 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.7612, allocations: 0 / 1.159 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.003346/0.7646, allocations: 1.27 MB / 1.161 GB, free: 5.711 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)