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.001334/0.001334, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001571/0.001572, allocations: 190.3 kB / 16.25 MB, free: 6.629 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002038, allocations: 298.7 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9435/0.9435, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 92.97 kB / 0.5947 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1644, allocations: 86.98 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002522/0.167, allocations: 1.546 MB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.48/0.647, allocations: 130.1 MB / 0.8082 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.6471, allocations: 0 / 0.8082 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.069e-05/0.6471, allocations: 0.875 kB / 0.8082 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.313e-05/0.6472, allocations: 12.95 kB / 0.8082 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.6475, allocations: 61.84 kB / 0.8083 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.648e-05/0.6476, allocations: 52.08 kB / 0.8083 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.202e-05/0.6477, allocations: 19.84 kB / 0.8083 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.6478, allocations: 20.33 kB / 0.8083 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.328e-05/0.6478, allocations: 30.14 kB / 0.8084 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.6478, allocations: 2.031 kB / 0.8084 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-05/0.6479, allocations: 17.2 kB / 0.8084 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.6479, allocations: 7.359 kB / 0.8084 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.648, allocations: 27.12 kB / 0.8084 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.6481, allocations: 59.94 kB / 0.8085 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6481, allocations: 0 / 0.8085 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6481, allocations: 0 / 0.8085 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.6481, allocations: 4.984 kB / 0.8085 GB, free: 1.902 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.0005336/0.6487, allocations: 373.3 kB / 0.8088 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.6487, allocations: 8.344 kB / 0.8089 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.6487, allocations: 11.22 kB / 0.8089 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.6489, allocations: 175.7 kB / 0.809 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.6489, allocations: 1.812 kB / 0.809 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.6489, allocations: 1.5 kB / 0.809 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.6491, allocations: 85.19 kB / 0.8091 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.6491, allocations: 192 / 0.8091 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.6492, allocations: 3.938 kB / 0.8091 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.6492, allocations: 1.094 kB / 0.8091 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.6494, allocations: 72.64 kB / 0.8092 GB, free: 17.28 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.6497, allocations: 278.2 kB / 0.8095 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.6499, allocations: 55.27 kB / 0.8095 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.6501, allocations: 39.66 kB / 0.8095 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.6502, allocations: 93.84 kB / 0.8096 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.6503, allocations: 37.09 kB / 0.8097 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.6503, allocations: 0 / 0.8097 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004812/0.6508, allocations: 125 kB / 0.8098 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.6508, allocations: 58.89 kB / 0.8098 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.6509, allocations: 115.1 kB / 0.81 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.6509, allocations: 34.25 kB / 0.81 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.651, allocations: 83.45 kB / 0.8101 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.651, allocations: 13.72 kB / 0.8101 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.651, allocations: 16.66 kB / 0.8101 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.6511, allocations: 320.7 kB / 0.8104 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.6513, allocations: 37.66 kB / 0.8104 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.6514, allocations: 32.34 kB / 0.8105 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.6516, allocations: 64.52 kB / 0.8105 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6517, allocations: 0 / 0.8105 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002953/0.652, allocations: 102.4 kB / 0.8106 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.652, allocations: 6.531 kB / 0.8106 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.652, allocations: 48 / 0.8106 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.652, allocations: 3.984 kB / 0.8106 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.6521, allocations: 15.45 kB / 0.8107 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.6521, allocations: 0 / 0.8107 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.6522, allocations: 20.27 kB / 0.8107 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.6522, allocations: 8.438 kB / 0.8107 GB, free: 16.12 MB / 0.5762 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.707e-05/0.6523, allocations: 118.3 kB / 0.8108 GB, free: 16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.6523, allocations: 7.125 kB / 0.8108 GB, free: 16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.6527, allocations: 104.5 kB / 0.8109 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6527, allocations: 9.719 kB / 0.8109 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6527, allocations: 0 / 0.8109 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.6527, allocations: 0 / 0.8109 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.6528, allocations: 173.8 kB / 0.8111 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6528, allocations: 0 / 0.8111 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.6529, allocations: 20.98 kB / 0.8111 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.6529, allocations: 0 / 0.8111 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.653, allocations: 2.688 kB / 0.8111 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.653, allocations: 0 / 0.8111 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.653, allocations: 3.938 kB / 0.8111 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.6533, allocations: 202 kB / 0.8113 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.6533, allocations: 79.89 kB / 0.8114 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.6533, allocations: 2.391 kB / 0.8114 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.6535, allocations: 10.08 kB / 0.8114 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.6535, allocations: 12.91 kB / 0.8114 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.6535, allocations: 1.688 kB / 0.8114 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.6536, allocations: 93.36 kB / 0.8115 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6536, allocations: 1.188 kB / 0.8115 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002232/0.6538, allocations: 13.59 kB / 0.8115 GB, free: 15.45 MB / 0.5762 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.0001296/0.6539, allocations: 109.4 kB / 0.8116 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000308/0.6542, allocations: 77 kB / 0.8117 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6543, allocations: 0 / 0.8117 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.6544, allocations: 34.02 kB / 0.8117 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.6547, allocations: 20.02 kB / 0.8117 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.655, allocations: 171.4 kB / 0.8119 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.6553, allocations: 0.6808 MB / 0.8126 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.606e-05/0.6553, allocations: 3.5 kB / 0.8126 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.6554, allocations: 8.844 kB / 0.8126 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.01e-07/0.6554, allocations: 4 kB / 0.8126 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.002916/0.6583, allocations: 0.8962 MB / 0.8134 GB, free: 14.42 MB / 0.5762 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)