Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.587/1.587, allocations: 288.4 MB / 303.6 MB, free: 8.062 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.001027/0.001027, allocations: 183.2 kB / 372.3 MB, free: 10.13 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.33/1.33, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007181/0.0007182, allocations: 92.8 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003569, allocations: 12.19 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 115.3 MB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001265/0.1687, allocations: 1.195 MB / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.476/0.6447, allocations: 119.6 MB / 1.098 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.6448, allocations: 2.516 kB / 1.098 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.6449, allocations: 6.422 kB / 1.098 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.6449, allocations: 8.484 kB / 1.098 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.6452, allocations: 56.05 kB / 1.098 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.6453, allocations: 46.69 kB / 1.098 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.6454, allocations: 15.91 kB / 1.098 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.591e-05/0.6455, allocations: 12.83 kB / 1.098 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.6456, allocations: 27.72 kB / 1.098 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.6456, allocations: 2.062 kB / 1.098 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.65e-05/0.6457, allocations: 14.12 kB / 1.098 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.6457, allocations: 7.594 kB / 1.098 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.6458, allocations: 44.59 kB / 1.098 GB, free: 18.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.375e-05/0.6459, allocations: 41.36 kB / 1.098 GB, free: 18.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.646, allocations: 0 / 1.098 GB, free: 18.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.492e-06/0.646, allocations: 5.188 kB / 1.098 GB, free: 18.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.646, allocations: 0 / 1.098 GB, free: 18.9 MB / 0.698 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.0004564/0.6464, allocations: 377.8 kB / 1.099 GB, free: 18.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.6465, allocations: 9.75 kB / 1.099 GB, free: 18.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.6465, allocations: 7.344 kB / 1.099 GB, free: 18.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.78e-05/0.6466, allocations: 178.5 kB / 1.099 GB, free: 18.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.6466, allocations: 4 kB / 1.099 GB, free: 18.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.6467, allocations: 2.844 kB / 1.099 GB, free: 18.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.6469, allocations: 87.64 kB / 1.099 GB, free: 18.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.647, allocations: 4.188 kB / 1.099 GB, free: 18.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.647, allocations: 3.938 kB / 1.099 GB, free: 18.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.647, allocations: 1.375 kB / 1.099 GB, free: 18.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.6473, allocations: 89.89 kB / 1.099 GB, free: 18.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.6477, allocations: 282.8 kB / 1.099 GB, free: 18.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.6479, allocations: 73.91 kB / 1.099 GB, free: 17.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.648, allocations: 45.09 kB / 1.1 GB, free: 17.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.6482, allocations: 94.73 kB / 1.1 GB, free: 17.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.6482, allocations: 35.64 kB / 1.1 GB, free: 17.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.6482, allocations: 1.75 kB / 1.1 GB, free: 17.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005635/0.6488, allocations: 164.4 kB / 1.1 GB, free: 17.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.6488, allocations: 55.41 kB / 1.1 GB, free: 17.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.6489, allocations: 123.1 kB / 1.1 GB, free: 17.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.6489, allocations: 25.7 kB / 1.1 GB, free: 17.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.649, allocations: 88.47 kB / 1.1 GB, free: 17.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.649, allocations: 12.84 kB / 1.1 GB, free: 17.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.649, allocations: 1.219 kB / 1.1 GB, free: 17.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.6491, allocations: 318.1 kB / 1.1 GB, free: 17.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.6493, allocations: 44.34 kB / 1.1 GB, free: 17.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.6494, allocations: 41.23 kB / 1.1 GB, free: 17.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.6497, allocations: 93.22 kB / 1.101 GB, free: 17.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6497, allocations: 0 / 1.101 GB, free: 17.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003163/0.65, allocations: 124.8 kB / 1.101 GB, free: 17.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.6501, allocations: 4.938 kB / 1.101 GB, free: 17.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6501, allocations: 0 / 1.101 GB, free: 17.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6501, allocations: 1.125 kB / 1.101 GB, free: 17.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.6502, allocations: 26.16 kB / 1.101 GB, free: 17.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6502, allocations: 1.438 kB / 1.101 GB, free: 17.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.961e-05/0.6503, allocations: 20 kB / 1.101 GB, free: 17.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.6503, allocations: 1.5 kB / 1.101 GB, free: 17.12 MB / 0.698 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 6.552e-05/0.6504, allocations: 115.7 kB / 1.101 GB, free: 17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.6504, allocations: 6.125 kB / 1.101 GB, free: 17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.6508, allocations: 130.3 kB / 1.101 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6508, allocations: 0.875 kB / 1.101 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6508, allocations: 0 / 1.101 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.6508, allocations: 5.312 kB / 1.101 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.651, allocations: 176.3 kB / 1.101 GB, free: 16.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.651, allocations: 2.25 kB / 1.101 GB, free: 16.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.607e-05/0.6511, allocations: 29.84 kB / 1.101 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6511, allocations: 1.062 kB / 1.101 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.6511, allocations: 0.6875 kB / 1.101 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6511, allocations: 1.25 kB / 1.101 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6511, allocations: 0 / 1.101 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.6515, allocations: 225.3 kB / 1.101 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.6515, allocations: 80.72 kB / 1.101 GB, free: 16.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.6515, allocations: 2.781 kB / 1.101 GB, free: 16.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.6516, allocations: 16.53 kB / 1.101 GB, free: 16.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.6517, allocations: 4.016 kB / 1.101 GB, free: 16.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.6517, allocations: 1.094 kB / 1.101 GB, free: 16.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.593e-05/0.6517, allocations: 98.72 kB / 1.102 GB, free: 16.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.6518, allocations: 0 / 1.102 GB, free: 16.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002146/0.652, allocations: 11.72 kB / 1.102 GB, free: 16.44 MB / 0.698 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.0001354/0.6521, allocations: 118.5 kB / 1.102 GB, free: 16.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.6525, allocations: 95.55 kB / 1.102 GB, free: 16.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6525, allocations: 0 / 1.102 GB, free: 16.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.6527, allocations: 48.02 kB / 1.102 GB, free: 16.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.6529, allocations: 16 kB / 1.102 GB, free: 16.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.6532, allocations: 179.1 kB / 1.102 GB, free: 16.19 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.6535, allocations: 0.6836 MB / 1.103 GB, free: 15.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.727e-05/0.6535, allocations: 9.297 kB / 1.103 GB, free: 15.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.6535, allocations: 9.312 kB / 1.103 GB, free: 15.48 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6535, allocations: 0 / 1.103 GB, free: 15.48 MB / 0.698 GB Notification: Performance of Templates: time 0.002663/0.6562, allocations: 0.8232 MB / 1.104 GB, free: 15.41 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)