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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.7937/0.7937, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001012/0.001012, allocations: 180.8 kB / 182.2 MB, free: 9.434 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.366/1.366, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009178/0.0009179, allocations: 96.05 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 269.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.612e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3734, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.5342, allocations: 135.1 MB / 0.8893 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.5345, allocations: 79.83 kB / 0.8894 GB, free: 8.672 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.005591/0.5401, allocations: 2.173 MB / 0.8915 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5402, allocations: 0 / 0.8915 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.5402, allocations: 0 / 0.8915 GB, free: 6.488 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004299/0.5406, allocations: 370.4 kB / 0.8918 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.5407, allocations: 12.03 kB / 0.8918 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.5407, allocations: 3.906 kB / 0.8919 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.5408, allocations: 171 kB / 0.892 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.5409, allocations: 3.984 kB / 0.892 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.5409, allocations: 8 kB / 0.892 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001045/0.541, allocations: 24 kB / 0.892 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.5411, allocations: 57.47 kB / 0.8921 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.5411, allocations: 4 kB / 0.8921 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5411, allocations: 0 / 0.8921 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.5411, allocations: 0 / 0.8921 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.5415, allocations: 253.3 kB / 0.8923 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.429e-05/0.5416, allocations: 34.56 kB / 0.8924 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.5416, allocations: 20.8 kB / 0.8924 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.5418, allocations: 89.19 kB / 0.8925 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.5419, allocations: 30.56 kB / 0.8925 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.5419, allocations: 0 / 0.8925 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002196/0.5421, allocations: 57.59 kB / 0.8926 GB, free: 5.203 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.5421, allocations: 55.41 kB / 0.8926 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.5422, allocations: 105 kB / 0.8927 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.5422, allocations: 25.7 kB / 0.8927 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.5423, allocations: 92.06 kB / 0.8928 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.5423, allocations: 7.906 kB / 0.8928 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/0.5424, allocations: 0 / 0.8928 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5425, allocations: 314.8 kB / 0.8931 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.5425, allocations: 8.375 kB / 0.8932 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/0.5425, allocations: 11.94 kB / 0.8932 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.117e-05/0.5426, allocations: 15.98 kB / 0.8932 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5426, allocations: 0 / 0.8932 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001216/0.5427, allocations: 61.53 kB / 0.8932 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5428, allocations: 4 kB / 0.8932 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.5428, allocations: 0 / 0.8932 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.5428, allocations: 4 kB / 0.8932 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.5429, allocations: 19.97 kB / 0.8933 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.543, allocations: 8 kB / 0.8933 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.5431, allocations: 11.98 kB / 0.8933 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.5431, allocations: 7.953 kB / 0.8933 GB, free: 4.422 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.45e-05/0.5431, allocations: 101 kB / 0.8934 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.5432, allocations: 4 kB / 0.8934 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.5433, allocations: 65.86 kB / 0.8935 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.5434, allocations: 8 kB / 0.8935 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5434, allocations: 0 / 0.8935 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5434, allocations: 3.938 kB / 0.8935 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.5435, allocations: 150.2 kB / 0.8936 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5435, allocations: 0 / 0.8936 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.5437, allocations: 23.97 kB / 0.8936 GB, free: 4.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.5437, allocations: 240 / 0.8936 GB, free: 4.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.5437, allocations: 0 / 0.8936 GB, free: 4.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5437, allocations: 4 kB / 0.8936 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5437, allocations: 0 / 0.8936 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.5439, allocations: 155.5 kB / 0.8938 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.5439, allocations: 81.02 kB / 0.8939 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.5439, allocations: 7.922 kB / 0.8939 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.5441, allocations: 15.98 kB / 0.8939 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.5441, allocations: 4 kB / 0.8939 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.5441, allocations: 4 kB / 0.8939 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.5442, allocations: 87.27 kB / 0.894 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5442, allocations: 0 / 0.894 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002413/0.5445, allocations: 15.94 kB / 0.894 GB, free: 3.617 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.0002077/0.5447, allocations: 151.3 kB / 0.8941 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.5448, allocations: 24 kB / 0.8942 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5448, allocations: 0 / 0.8942 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.424e-05/0.5448, allocations: 20.22 kB / 0.8942 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.545, allocations: 15.88 kB / 0.8942 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.5453, allocations: 75.88 kB / 0.8943 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.5456, allocations: 0.6846 MB / 0.8949 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.574e-05/0.5456, allocations: 4 kB / 0.8949 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.5457, allocations: 11.44 kB / 0.8949 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of SimCode: time 4.188e-06/0.5457, allocations: 0 / 0.8949 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of Templates: time 0.003594/0.5493, allocations: 0.9064 MB / 0.8958 GB, free: 1.688 MB / 0.5573 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)