Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8438/0.8438, allocations: 141.8 MB / 149.3 MB, free: 9.191 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.001025/0.001025, allocations: 180.2 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.379/1.379, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.00086/0.0008598, allocations: 84.11 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001669, allocations: 282.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.673e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.372, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.177/3.549, allocations: 1.673 GB / 2.43 GB, free: 115.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/3.549, allocations: 94.72 kB / 2.43 GB, free: 115.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04959/3.599, allocations: 26.17 MB / 2.456 GB, free: 89.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.864e-06/3.599, allocations: 4 kB / 2.456 GB, free: 89.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.66e-06/3.599, allocations: 0 / 2.456 GB, free: 89.29 MB / 0.698 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.0002182/3.599, allocations: 346.4 kB / 2.456 GB, free: 88.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/3.599, allocations: 8.031 kB / 2.456 GB, free: 88.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004237/3.599, allocations: 39.91 kB / 2.456 GB, free: 88.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.577e-05/3.6, allocations: 163.1 kB / 2.456 GB, free: 88.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/3.6, allocations: 0 / 2.456 GB, free: 88.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/3.6, allocations: 3.984 kB / 2.456 GB, free: 88.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.722e-05/3.6, allocations: 15.92 kB / 2.456 GB, free: 88.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.659e-05/3.6, allocations: 45.67 kB / 2.456 GB, free: 88.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/3.6, allocations: 0 / 2.456 GB, free: 88.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/3.6, allocations: 0 / 2.456 GB, free: 88.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/3.6, allocations: 0 / 2.456 GB, free: 88.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/3.6, allocations: 233.4 kB / 2.456 GB, free: 88.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.155e-05/3.6, allocations: 22.58 kB / 2.456 GB, free: 88.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/3.6, allocations: 12.92 kB / 2.457 GB, free: 88.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/3.6, allocations: 3.938 kB / 2.457 GB, free: 88.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/3.6, allocations: 34.59 kB / 2.457 GB, free: 88.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/3.6, allocations: 4 kB / 2.457 GB, free: 88.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001094/3.6, allocations: 33.7 kB / 2.457 GB, free: 88.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.747e-05/3.6, allocations: 51.41 kB / 2.457 GB, free: 88.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.982e-05/3.6, allocations: 101 kB / 2.457 GB, free: 88.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-06/3.6, allocations: 25.7 kB / 2.457 GB, free: 87.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/3.6, allocations: 88.08 kB / 2.457 GB, free: 87.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-06/3.6, allocations: 3.906 kB / 2.457 GB, free: 87.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/3.6, allocations: 0 / 2.457 GB, free: 87.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.825e-05/3.6, allocations: 326.8 kB / 2.457 GB, free: 87.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/3.6, allocations: 4 kB / 2.457 GB, free: 87.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/3.601, allocations: 8 kB / 2.457 GB, free: 87.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.714e-05/3.601, allocations: 11.92 kB / 2.457 GB, free: 87.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/3.601, allocations: 0 / 2.457 GB, free: 87.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.927e-05/3.601, allocations: 49.62 kB / 2.457 GB, free: 87.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/3.601, allocations: 8 kB / 2.457 GB, free: 87.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/3.601, allocations: 0 / 2.457 GB, free: 87.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/3.601, allocations: 0 / 2.457 GB, free: 87.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/3.601, allocations: 11.98 kB / 2.457 GB, free: 87.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/3.601, allocations: 0 / 2.457 GB, free: 87.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/3.601, allocations: 15.89 kB / 2.457 GB, free: 87.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/3.601, allocations: 3.984 kB / 2.457 GB, free: 87.45 MB / 0.698 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 4.388e-05/3.601, allocations: 104.9 kB / 2.457 GB, free: 87.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/3.601, allocations: 4 kB / 2.457 GB, free: 87.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.858e-05/3.601, allocations: 7.734 kB / 2.457 GB, free: 87.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/3.601, allocations: 0 / 2.457 GB, free: 87.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/3.601, allocations: 4 kB / 2.457 GB, free: 87.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/3.601, allocations: 0 / 2.457 GB, free: 87.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/3.601, allocations: 138.2 kB / 2.458 GB, free: 87.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/3.601, allocations: 0 / 2.458 GB, free: 87.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/3.601, allocations: 4 kB / 2.458 GB, free: 87.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/3.601, allocations: 0 / 2.458 GB, free: 87.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/3.601, allocations: 0 / 2.458 GB, free: 87.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/3.601, allocations: 0 / 2.458 GB, free: 87.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/3.601, allocations: 4.266 kB / 2.458 GB, free: 87.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.39e-05/3.601, allocations: 143.5 kB / 2.458 GB, free: 86.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/3.601, allocations: 77.11 kB / 2.458 GB, free: 86.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/3.601, allocations: 3.984 kB / 2.458 GB, free: 86.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/3.602, allocations: 7.984 kB / 2.458 GB, free: 86.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/3.602, allocations: 0 / 2.458 GB, free: 86.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/3.602, allocations: 0 / 2.458 GB, free: 86.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.211e-05/3.602, allocations: 87.22 kB / 2.458 GB, free: 86.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/3.602, allocations: 0 / 2.458 GB, free: 86.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003098/3.602, allocations: 52.02 kB / 2.458 GB, free: 86.75 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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.0007065/3.603, allocations: 0.638 MB / 2.458 GB, free: 86.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.358e-05/3.603, allocations: 19.92 kB / 2.459 GB, free: 86.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/3.603, allocations: 3.938 kB / 2.459 GB, free: 86.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.425e-06/3.603, allocations: 4 kB / 2.459 GB, free: 86.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/3.603, allocations: 17.69 kB / 2.459 GB, free: 86.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001608/3.603, allocations: 64.34 kB / 2.459 GB, free: 85.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.162e-05/3.603, allocations: 0.6768 MB / 2.459 GB, free: 85.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.9e-05/3.603, allocations: 4 kB / 2.459 GB, free: 85.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/3.603, allocations: 11.44 kB / 2.459 GB, free: 85.26 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/3.603, allocations: 0 / 2.459 GB, free: 85.26 MB / 0.698 GB Notification: Performance of Templates: time 0.005962/3.609, allocations: 3.897 MB / 2.463 GB, free: 81.36 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)