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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7329/0.7329, allocations: 140 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 178.9 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007517/0.0007517, allocations: 98.3 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001651/0.00165, allocations: 276.9 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005004, allocations: 24 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4361, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.6032, allocations: 134.3 MB / 0.8706 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004332/0.6038, allocations: 79.89 kB / 0.8707 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007947/0.6118, allocations: 2.165 MB / 0.8728 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.587e-06/0.6118, allocations: 0 / 0.8728 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.6118, allocations: 0 / 0.8728 GB, free: 5.613 MB / 0.5417 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.0006076/0.6124, allocations: 379.5 kB / 0.8732 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.6125, allocations: 8.031 kB / 0.8732 GB, free: 5.184 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.6126, allocations: 16.72 kB / 0.8732 GB, free: 5.168 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.6127, allocations: 168.3 kB / 0.8734 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.6128, allocations: 8.375 kB / 0.8734 GB, free: 4.957 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.6128, allocations: 4.375 kB / 0.8734 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.6132, allocations: 86.2 kB / 0.8735 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.6132, allocations: 192 / 0.8735 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.6132, allocations: 3.938 kB / 0.8735 GB, free: 4.859 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.6132, allocations: 4 kB / 0.8735 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.6137, allocations: 91.86 kB / 0.8736 GB, free: 4.766 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.6142, allocations: 284.8 kB / 0.8738 GB, free: 4.438 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.6145, allocations: 70.53 kB / 0.8739 GB, free: 4.359 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.6148, allocations: 44.92 kB / 0.8739 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.615, allocations: 93.09 kB / 0.874 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.615, allocations: 38.5 kB / 0.8741 GB, free: 4.156 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 2.044e-06/0.615, allocations: 0 / 0.8741 GB, free: 4.156 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0007792/0.6158, allocations: 161.5 kB / 0.8742 GB, free: 3.992 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.6159, allocations: 55.41 kB / 0.8743 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.616, allocations: 117.8 kB / 0.8744 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.616, allocations: 25.7 kB / 0.8744 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.6161, allocations: 88.14 kB / 0.8745 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.6162, allocations: 15.8 kB / 0.8745 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.6162, allocations: 0 / 0.8745 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6163, allocations: 314.8 kB / 0.8748 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.6165, allocations: 47.95 kB / 0.8748 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.6167, allocations: 39.97 kB / 0.8749 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.6171, allocations: 96.72 kB / 0.875 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6171, allocations: 4 kB / 0.875 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004731/0.6176, allocations: 121.9 kB / 0.8751 GB, free: 3.035 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.6177, allocations: 4 kB / 0.8751 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6177, allocations: 3.984 kB / 0.8751 GB, free: 3.027 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.6177, allocations: 0 / 0.8751 GB, free: 3.027 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.6179, allocations: 23.97 kB / 0.8751 GB, free: 3.004 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.6179, allocations: 0 / 0.8751 GB, free: 3.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.618, allocations: 27.92 kB / 0.8752 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.6181, allocations: 0 / 0.8752 GB, free: 2.977 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.91e-05/0.6182, allocations: 113.8 kB / 0.8753 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.6182, allocations: 7.906 kB / 0.8753 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005052/0.6187, allocations: 137.4 kB / 0.8754 GB, free: 2.707 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.6187, allocations: 4 kB / 0.8754 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6188, allocations: 0 / 0.8754 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6188, allocations: 0 / 0.8754 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.619, allocations: 173.7 kB / 0.8756 GB, free: 2.484 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.619, allocations: 4 kB / 0.8756 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.6192, allocations: 19.98 kB / 0.8756 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6192, allocations: 3.984 kB / 0.8756 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.6192, allocations: 0 / 0.8756 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.6192, allocations: 0 / 0.8756 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6192, allocations: 0 / 0.8756 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/0.6198, allocations: 231.3 kB / 0.8758 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.6198, allocations: 77.11 kB / 0.8759 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.6199, allocations: 3.984 kB / 0.8759 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.62, allocations: 15.98 kB / 0.8759 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.6201, allocations: 8 kB / 0.8759 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.6201, allocations: 0 / 0.8759 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.49e-05/0.6202, allocations: 91.27 kB / 0.876 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6202, allocations: 0 / 0.876 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003826/0.6206, allocations: 20 kB / 0.876 GB, free: 1.984 MB / 0.5417 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 (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.0002605/0.6209, allocations: 139.2 kB / 0.8762 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004736/0.6214, allocations: 87.92 kB / 0.8762 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6214, allocations: 3.938 kB / 0.8762 GB, free: 1.746 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.6216, allocations: 51.95 kB / 0.8763 GB, free: 1.695 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.622, allocations: 15.64 kB / 0.8763 GB, free: 1.684 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.6225, allocations: 176.4 kB / 0.8765 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.6228, allocations: 0.6848 MB / 0.8771 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.223e-05/0.6229, allocations: 7.938 kB / 0.8772 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.6229, allocations: 7.438 kB / 0.8772 GB, free: 0.7617 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.6229, allocations: 0 / 0.8772 GB, free: 0.7617 MB / 0.5417 GB Notification: Performance of Templates: time 0.004901/0.6278, allocations: 1.275 MB / 0.8784 GB, free: 15.49 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)