Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009741/0.0009742, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008122/0.008122, allocations: 172.8 kB / 16.27 MB, free: 6.652 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.313/1.313, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001748, allocations: 266.9 kB / 291.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9325/0.9325, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005821/0.0005822, allocations: 12.56 kB / 0.5986 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1532, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001971/0.1552, allocations: 1.212 MB / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4253/0.5805, allocations: 128.5 MB / 0.8118 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.5806, allocations: 2.938 kB / 0.8118 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.4e-05/0.5807, allocations: 5.906 kB / 0.8118 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.006e-05/0.5807, allocations: 15.92 kB / 0.8118 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.581, allocations: 56.41 kB / 0.8119 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.458e-05/0.5811, allocations: 49.31 kB / 0.8119 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.679e-05/0.5812, allocations: 14.94 kB / 0.812 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.5813, allocations: 16.88 kB / 0.812 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.5814, allocations: 20.61 kB / 0.812 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.5814, allocations: 2.25 kB / 0.812 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.187e-05/0.5815, allocations: 22.89 kB / 0.812 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.5815, allocations: 8.484 kB / 0.812 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.899e-05/0.5816, allocations: 52.3 kB / 0.8121 GB, free: 16.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.5817, allocations: 54.03 kB / 0.8121 GB, free: 16.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5817, allocations: 2.547 kB / 0.8121 GB, free: 16.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5817, allocations: 0 / 0.8121 GB, free: 16.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.5817, allocations: 0 / 0.8121 GB, free: 16.9 MB / 0.5606 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.000458/0.5822, allocations: 375.6 kB / 0.8125 GB, free: 16.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.5822, allocations: 9.906 kB / 0.8125 GB, free: 16.53 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.5823, allocations: 3.594 kB / 0.8125 GB, free: 16.53 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.5824, allocations: 173.6 kB / 0.8127 GB, free: 16.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.5824, allocations: 1.469 kB / 0.8127 GB, free: 16.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.5824, allocations: 6.375 kB / 0.8127 GB, free: 16.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.5827, allocations: 92.33 kB / 0.8128 GB, free: 16.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.5827, allocations: 192 / 0.8128 GB, free: 16.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.5827, allocations: 4.469 kB / 0.8128 GB, free: 16.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.5827, allocations: 0.875 kB / 0.8128 GB, free: 16.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.5831, allocations: 91.48 kB / 0.8129 GB, free: 16.28 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.5834, allocations: 284.4 kB / 0.8131 GB, free: 16.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.5836, allocations: 70.12 kB / 0.8132 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.5838, allocations: 55.91 kB / 0.8133 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.584, allocations: 90.53 kB / 0.8133 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.584, allocations: 31.56 kB / 0.8134 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.584, allocations: 0 / 0.8134 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0006033/0.5846, allocations: 170 kB / 0.8135 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.5847, allocations: 52.5 kB / 0.8136 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.5848, allocations: 120.2 kB / 0.8137 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.5848, allocations: 26.36 kB / 0.8137 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.5848, allocations: 85.92 kB / 0.8138 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.5848, allocations: 14.36 kB / 0.8138 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.5849, allocations: 14.53 kB / 0.8138 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.585, allocations: 318.7 kB / 0.8141 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.5852, allocations: 40.89 kB / 0.8142 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.5853, allocations: 45.28 kB / 0.8142 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.5856, allocations: 94.03 kB / 0.8143 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5856, allocations: 0.5 kB / 0.8143 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003451/0.586, allocations: 120.4 kB / 0.8144 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.586, allocations: 7.375 kB / 0.8144 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.586, allocations: 0 / 0.8144 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.586, allocations: 5.469 kB / 0.8144 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.5862, allocations: 27.61 kB / 0.8145 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.5862, allocations: 0 / 0.8145 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.5863, allocations: 21.56 kB / 0.8145 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.5863, allocations: 0 / 0.8145 GB, free: 15.1 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 6.9e-05/0.5863, allocations: 118.1 kB / 0.8146 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.5864, allocations: 8.422 kB / 0.8146 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.5868, allocations: 131.7 kB / 0.8147 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5868, allocations: 0 / 0.8147 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5868, allocations: 1.031 kB / 0.8147 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5868, allocations: 0 / 0.8147 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.587, allocations: 175.2 kB / 0.8149 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.587, allocations: 1.75 kB / 0.8149 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.5871, allocations: 27.2 kB / 0.8149 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5871, allocations: 5.312 kB / 0.8149 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.5871, allocations: 0 / 0.8149 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5871, allocations: 1.25 kB / 0.8149 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5871, allocations: 2.688 kB / 0.8149 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.5875, allocations: 216.8 kB / 0.8151 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.5875, allocations: 86.03 kB / 0.8152 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.5876, allocations: 0 / 0.8152 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.5877, allocations: 20.72 kB / 0.8152 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.5877, allocations: 3.688 kB / 0.8152 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.5877, allocations: 1.188 kB / 0.8152 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.761e-05/0.5878, allocations: 96.8 kB / 0.8153 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5878, allocations: 1.125 kB / 0.8153 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000228/0.5881, allocations: 11.34 kB / 0.8153 GB, free: 14.42 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.0001665/0.5882, allocations: 119.1 kB / 0.8155 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.5886, allocations: 91.2 kB / 0.8155 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.5886, allocations: 5.156 kB / 0.8156 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.5888, allocations: 46.86 kB / 0.8156 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.5891, allocations: 11.83 kB / 0.8156 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.5895, allocations: 181.8 kB / 0.8158 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.5899, allocations: 0.6822 MB / 0.8164 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.54e-05/0.5899, allocations: 2.938 kB / 0.8165 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.5899, allocations: 14 kB / 0.8165 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of SimCode: time 9.01e-07/0.5899, allocations: 0 / 0.8165 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.00348/0.5934, allocations: 0.8456 MB / 0.8173 GB, free: 13.39 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)