Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8162/0.8162, allocations: 143.4 MB / 159.2 MB, free: 4.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 188.5 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 99.2 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001893/0.001893, allocations: 284.7 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 79.88 kB / 0.6885 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3244, allocations: 81.3 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002429/0.3268, allocations: 1.332 MB / 0.7692 GB, free: 26.3 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.1255/0.4524, allocations: 129.9 MB / 0.8961 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.4525, allocations: 0 / 0.8961 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.4526, allocations: 0 / 0.8961 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.066e-05/0.4526, allocations: 7.875 kB / 0.8961 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.453, allocations: 54.47 kB / 0.8961 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.494e-05/0.453, allocations: 19.86 kB / 0.8962 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.4531, allocations: 4 kB / 0.8962 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.103e-05/0.4531, allocations: 11.98 kB / 0.8962 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.4532, allocations: 15.92 kB / 0.8962 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.4532, allocations: 0 / 0.8962 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.526e-05/0.4533, allocations: 12 kB / 0.8962 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.4533, allocations: 7.984 kB / 0.8962 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.4534, allocations: 7.938 kB / 0.8962 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.4535, allocations: 19.98 kB / 0.8962 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4535, allocations: 0 / 0.8962 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.92e-07/0.4535, allocations: 0 / 0.8962 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.4535, allocations: 0 / 0.8962 GB, free: 7.77 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004165/0.4539, allocations: 339.5 kB / 0.8966 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.454, allocations: 8.031 kB / 0.8966 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.454, allocations: 8.844 kB / 0.8966 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.4541, allocations: 168.3 kB / 0.8967 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.137e-05/0.4542, allocations: 30.27 kB / 0.8968 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.4543, allocations: 384 / 0.8968 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.4544, allocations: 38.25 kB / 0.8968 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4544, allocations: 3.938 kB / 0.8968 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.4544, allocations: 4 kB / 0.8968 GB, free: 7.082 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4545, allocations: 7.984 kB / 0.8968 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.471e-05/0.4545, allocations: 11.98 kB / 0.8968 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.4547, allocations: 157.7 kB / 0.897 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.52e-05/0.4548, allocations: 30.52 kB / 0.897 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.4549, allocations: 16.94 kB / 0.897 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.4551, allocations: 93.09 kB / 0.8971 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.4551, allocations: 30.56 kB / 0.8971 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.4551, allocations: 4 kB / 0.8971 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.000231/0.4554, allocations: 53.62 kB / 0.8972 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.4554, allocations: 59.39 kB / 0.8972 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.13e-05/0.4555, allocations: 93.86 kB / 0.8973 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.4555, allocations: 29.64 kB / 0.8974 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/0.4555, allocations: 84.14 kB / 0.8974 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.4556, allocations: 19.75 kB / 0.8975 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.4556, allocations: 9.719 kB / 0.8975 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.4557, allocations: 318.8 kB / 0.8978 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.575e-05/0.4557, allocations: 12 kB / 0.8978 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.669e-05/0.4558, allocations: 7.984 kB / 0.8978 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.151e-05/0.4559, allocations: 20.84 kB / 0.8978 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4559, allocations: 7.938 kB / 0.8978 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001199/0.456, allocations: 49.69 kB / 0.8979 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.456, allocations: 9.812 kB / 0.8979 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4561, allocations: 0 / 0.8979 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4561, allocations: 0 / 0.8979 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.934e-05/0.4561, allocations: 11.94 kB / 0.8979 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4562, allocations: 0 / 0.8979 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.4562, allocations: 3.984 kB / 0.8979 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.4562, allocations: 3.938 kB / 0.8979 GB, free: 5.809 MB / 0.5573 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 7.291e-05/0.4563, allocations: 114.6 kB / 0.898 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.4563, allocations: 3.938 kB / 0.898 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.4565, allocations: 61.17 kB / 0.8981 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4565, allocations: 0 / 0.8981 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.4565, allocations: 0.5625 kB / 0.8981 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4565, allocations: 0 / 0.8981 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.4566, allocations: 153.7 kB / 0.8982 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4566, allocations: 0 / 0.8982 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.4567, allocations: 7.938 kB / 0.8982 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.4567, allocations: 7.938 kB / 0.8982 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.4567, allocations: 4 kB / 0.8982 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.4567, allocations: 3.984 kB / 0.8982 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4567, allocations: 0 / 0.8982 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.4571, allocations: 0.6356 MB / 0.8989 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.4572, allocations: 81.11 kB / 0.8989 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.4572, allocations: 0 / 0.8989 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.115e-05/0.4573, allocations: 7.984 kB / 0.8989 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.4573, allocations: 0 / 0.8989 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.4573, allocations: 0 / 0.8989 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.4573, allocations: 79.28 kB / 0.899 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4573, allocations: 0 / 0.899 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002877/0.4576, allocations: 12 kB / 0.899 GB, free: 4.504 MB / 0.5573 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.0001801/0.4578, allocations: 115.2 kB / 0.8991 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.458, allocations: 23.92 kB / 0.8992 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.458, allocations: 0 / 0.8992 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.008e-05/0.458, allocations: 15.92 kB / 0.8992 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.4583, allocations: 9.625 kB / 0.8992 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.4587, allocations: 240.4 kB / 0.8994 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.459, allocations: 0.6808 MB / 0.9001 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.99e-05/0.459, allocations: 0 / 0.9001 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.024e-05/0.459, allocations: 15.38 kB / 0.9001 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/0.459, allocations: 0 / 0.9001 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of Templates: time 0.002459/0.4615, allocations: 0.5018 MB / 0.9006 GB, free: 2.836 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)