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.7989/0.7989, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001034/0.001034, allocations: 180.9 kB / 182.2 MB, free: 9.453 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.376/1.376, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0008306/0.0008306, allocations: 88.11 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001778, allocations: 278 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.348e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3655, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.5261, allocations: 134.5 MB / 0.8888 GB, free: 9.297 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.5264, allocations: 83.81 kB / 0.8888 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.003932/0.5304, allocations: 1.632 MB / 0.8904 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5304, allocations: 4 kB / 0.8904 GB, free: 7.578 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.5304, allocations: 0 / 0.8904 GB, free: 7.578 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.0003035/0.5307, allocations: 314.6 kB / 0.8907 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.5308, allocations: 12.03 kB / 0.8907 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.5308, allocations: 4 kB / 0.8908 GB, free: 7.211 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.531, allocations: 167 kB / 0.8909 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.779e-05/0.5311, allocations: 33.69 kB / 0.8909 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.5311, allocations: 3.984 kB / 0.8909 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.244e-05/0.5311, allocations: 8 kB / 0.891 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.826e-05/0.5312, allocations: 33.83 kB / 0.891 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.5312, allocations: 0 / 0.891 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.5313, allocations: 0 / 0.891 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.5313, allocations: 0 / 0.891 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.5314, allocations: 146.1 kB / 0.8911 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.468e-05/0.5315, allocations: 26.58 kB / 0.8912 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.5315, allocations: 8.859 kB / 0.8912 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.5317, allocations: 93.17 kB / 0.8912 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.5318, allocations: 30.56 kB / 0.8913 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.462e-06/0.5318, allocations: 4 kB / 0.8913 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0001919/0.532, allocations: 53.53 kB / 0.8913 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.532, allocations: 51.41 kB / 0.8914 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.845e-05/0.5321, allocations: 101 kB / 0.8915 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.5321, allocations: 25.7 kB / 0.8915 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.5321, allocations: 80.14 kB / 0.8916 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.5322, allocations: 3.906 kB / 0.8916 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.5322, allocations: 0 / 0.8916 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.5323, allocations: 314.8 kB / 0.8919 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.5323, allocations: 8 kB / 0.8919 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.5323, allocations: 4 kB / 0.8919 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.518e-05/0.5324, allocations: 7.984 kB / 0.8919 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5324, allocations: 0 / 0.8919 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001024/0.5325, allocations: 49.64 kB / 0.892 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.5325, allocations: 4 kB / 0.892 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.5325, allocations: 0 / 0.892 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.5326, allocations: 0 / 0.892 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.773e-05/0.5326, allocations: 8 kB / 0.892 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.5327, allocations: 7.938 kB / 0.892 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.5327, allocations: 3.984 kB / 0.892 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.5327, allocations: 0 / 0.892 GB, free: 5.781 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 () * 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.057e-05/0.5328, allocations: 105 kB / 0.8921 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.5328, allocations: 7.859 kB / 0.8921 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.5329, allocations: 49.81 kB / 0.8921 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5329, allocations: 432 / 0.8921 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.533, allocations: 4 kB / 0.8921 GB, free: 5.602 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.533, allocations: 3.984 kB / 0.8921 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.102e-05/0.5331, allocations: 134.2 kB / 0.8923 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5331, allocations: 0 / 0.8923 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.808e-05/0.5331, allocations: 11.97 kB / 0.8923 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5331, allocations: 0 / 0.8923 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.5331, allocations: 3.953 kB / 0.8923 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5331, allocations: 4 kB / 0.8923 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.5332, allocations: 0 / 0.8923 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.5333, allocations: 73 kB / 0.8924 GB, free: 5.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.5333, allocations: 81.11 kB / 0.8924 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.5334, allocations: 3.984 kB / 0.8924 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.3e-05/0.5334, allocations: 11.89 kB / 0.8924 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.5334, allocations: 0 / 0.8924 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.5334, allocations: 0 / 0.8924 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.5335, allocations: 79.28 kB / 0.8925 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5335, allocations: 0 / 0.8925 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000222/0.5337, allocations: 15.92 kB / 0.8925 GB, free: 5.113 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 () * 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.0002059/0.5339, allocations: 140.5 kB / 0.8927 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.385e-05/0.534, allocations: 19.92 kB / 0.8927 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.534, allocations: 0 / 0.8927 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.929e-05/0.534, allocations: 8 kB / 0.8927 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.5342, allocations: 7.359 kB / 0.8927 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001892/0.5344, allocations: 56 kB / 0.8928 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.5347, allocations: 0.6768 MB / 0.8934 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.985e-05/0.5347, allocations: 8 kB / 0.8934 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.5348, allocations: 7.438 kB / 0.8934 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of SimCode: time 2.51e-07/0.5348, allocations: 0 / 0.8934 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of Templates: time 0.002698/0.5375, allocations: 0.6558 MB / 0.8941 GB, free: 3.492 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)