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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.00119/0.00119, allocations: 181.5 kB / 371.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.212/2.212, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0009677/0.0009676, allocations: 88.14 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.383e-05/4.403e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3123, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.351, allocations: 166 MB / 1.142 GB, free: 22.74 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/1.351, allocations: 74.36 kB / 1.142 GB, free: 22.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004764/1.356, allocations: 2.152 MB / 1.144 GB, free: 21.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.353e-06/1.356, allocations: 4 kB / 1.144 GB, free: 21.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.356, allocations: 0 / 1.144 GB, free: 21.33 MB / 0.7448 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.0003663/1.356, allocations: 369.8 kB / 1.144 GB, free: 20.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.356, allocations: 8.031 kB / 1.144 GB, free: 20.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/1.356, allocations: 9.812 kB / 1.144 GB, free: 20.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.624e-05/1.356, allocations: 168.1 kB / 1.145 GB, free: 20.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/1.356, allocations: 3.938 kB / 1.145 GB, free: 20.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/1.356, allocations: 4 kB / 1.145 GB, free: 20.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/1.357, allocations: 53.3 kB / 1.145 GB, free: 20.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/1.357, allocations: 0 / 1.145 GB, free: 20.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/1.357, allocations: 0 / 1.145 GB, free: 20.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/1.357, allocations: 0.7969 kB / 1.145 GB, free: 20.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.349e-05/1.357, allocations: 31.73 kB / 1.145 GB, free: 20.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/1.357, allocations: 280.8 kB / 1.145 GB, free: 20.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.552e-05/1.357, allocations: 38.08 kB / 1.145 GB, free: 20.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/1.357, allocations: 16.8 kB / 1.145 GB, free: 20.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/1.357, allocations: 92.53 kB / 1.145 GB, free: 20.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/1.357, allocations: 32.45 kB / 1.145 GB, free: 20.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/1.357, allocations: 0 / 1.145 GB, free: 20.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001688/1.358, allocations: 59.34 kB / 1.145 GB, free: 20.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/1.358, allocations: 54.47 kB / 1.145 GB, free: 20.06 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.155e-05/1.358, allocations: 107.4 kB / 1.145 GB, free: 19.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/1.358, allocations: 29.52 kB / 1.145 GB, free: 19.92 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/1.358, allocations: 93.88 kB / 1.146 GB, free: 19.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/1.358, allocations: 9.359 kB / 1.146 GB, free: 19.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/1.358, allocations: 0 / 1.146 GB, free: 19.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.582e-05/1.358, allocations: 320 kB / 1.146 GB, free: 19.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/1.358, allocations: 8.734 kB / 1.146 GB, free: 19.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/1.358, allocations: 9.812 kB / 1.146 GB, free: 19.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.467e-05/1.358, allocations: 8.797 kB / 1.146 GB, free: 19.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.358, allocations: 1.031 kB / 1.146 GB, free: 19.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.394e-05/1.358, allocations: 56.06 kB / 1.146 GB, free: 19.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.358, allocations: 4.797 kB / 1.146 GB, free: 19.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/1.358, allocations: 4 kB / 1.146 GB, free: 19.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/1.358, allocations: 0 / 1.146 GB, free: 19.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/1.358, allocations: 25.58 kB / 1.146 GB, free: 19.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.358, allocations: 3.938 kB / 1.146 GB, free: 19.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.679e-05/1.358, allocations: 17.92 kB / 1.146 GB, free: 19.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/1.358, allocations: 0 / 1.146 GB, free: 19.4 MB / 0.7448 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 () * 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.321e-05/1.358, allocations: 114.9 kB / 1.146 GB, free: 19.29 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/1.358, allocations: 3.906 kB / 1.146 GB, free: 19.28 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/1.359, allocations: 60.52 kB / 1.146 GB, free: 19.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.359, allocations: 0 / 1.146 GB, free: 19.23 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.359, allocations: 3.953 kB / 1.146 GB, free: 19.22 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.359, allocations: 1.5 kB / 1.146 GB, free: 19.22 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/1.359, allocations: 178.3 kB / 1.146 GB, free: 19.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.359, allocations: 0 / 1.146 GB, free: 19.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/1.359, allocations: 26.39 kB / 1.146 GB, free: 19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.359, allocations: 0.7969 kB / 1.146 GB, free: 19 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/1.359, allocations: 0 / 1.146 GB, free: 19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/1.359, allocations: 3.938 kB / 1.146 GB, free: 19 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.359, allocations: 1.297 kB / 1.146 GB, free: 19 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.533e-05/1.359, allocations: 146.7 kB / 1.146 GB, free: 18.85 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/1.359, allocations: 90.23 kB / 1.147 GB, free: 18.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/1.359, allocations: 0.6562 kB / 1.147 GB, free: 18.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/1.359, allocations: 22.2 kB / 1.147 GB, free: 18.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/1.359, allocations: 2.719 kB / 1.147 GB, free: 18.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/1.359, allocations: 4 kB / 1.147 GB, free: 18.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.265e-05/1.359, allocations: 89.91 kB / 1.147 GB, free: 18.65 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.359, allocations: 0 / 1.147 GB, free: 18.65 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002247/1.36, allocations: 23.77 kB / 1.147 GB, free: 18.63 MB / 0.7448 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 () * 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.0001824/1.36, allocations: 144.8 kB / 1.147 GB, free: 18.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.208e-05/1.36, allocations: 24.8 kB / 1.147 GB, free: 18.47 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.36, allocations: 0 / 1.147 GB, free: 18.47 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/1.36, allocations: 16.39 kB / 1.147 GB, free: 18.46 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/1.36, allocations: 12.98 kB / 1.147 GB, free: 18.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/1.36, allocations: 83.39 kB / 1.147 GB, free: 18.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/1.36, allocations: 0.688 MB / 1.148 GB, free: 17.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.861e-05/1.36, allocations: 1.969 kB / 1.148 GB, free: 17.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/1.36, allocations: 11.44 kB / 1.148 GB, free: 17.65 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.36, allocations: 0 / 1.148 GB, free: 17.65 MB / 0.7448 GB Notification: Performance of Templates: time 0.003637/1.364, allocations: 1.356 MB / 1.149 GB, free: 16.91 MB / 0.7448 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)