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.7825/0.7825, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001062/0.001062, allocations: 176.9 kB / 182.2 MB, free: 9.465 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.477/1.477, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0008734/0.0008734, allocations: 99.97 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001636/0.001636, allocations: 289.2 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.625e-05/1.627e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3773, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.89/4.267, allocations: 1.673 GB / 2.43 GB, free: 79.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/4.268, allocations: 88.08 kB / 2.43 GB, free: 79.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0499/4.318, allocations: 26.18 MB / 2.456 GB, free: 57.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.402e-06/4.318, allocations: 0 / 2.456 GB, free: 57.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.28e-06/4.318, allocations: 0 / 2.456 GB, free: 57.73 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.0002293/4.318, allocations: 344.9 kB / 2.456 GB, free: 57.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/4.318, allocations: 8.031 kB / 2.456 GB, free: 57.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000421/4.319, allocations: 39.91 kB / 2.456 GB, free: 57.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.004e-05/4.319, allocations: 161.7 kB / 2.456 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/4.319, allocations: 4 kB / 2.456 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/4.319, allocations: 3.938 kB / 2.456 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.519e-05/4.319, allocations: 7.984 kB / 2.456 GB, free: 57.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.757e-05/4.319, allocations: 43.92 kB / 2.456 GB, free: 57.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/4.319, allocations: 0 / 2.456 GB, free: 57.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/4.319, allocations: 0 / 2.456 GB, free: 57.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/4.319, allocations: 3.938 kB / 2.456 GB, free: 57.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/4.319, allocations: 238.6 kB / 2.456 GB, free: 56.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.181e-05/4.319, allocations: 18.58 kB / 2.456 GB, free: 56.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/4.319, allocations: 15.3 kB / 2.456 GB, free: 56.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/4.319, allocations: 0 / 2.456 GB, free: 56.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/4.319, allocations: 38.66 kB / 2.457 GB, free: 56.69 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/4.319, allocations: 0 / 2.457 GB, free: 56.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000113/4.319, allocations: 36 kB / 2.457 GB, free: 56.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.649e-05/4.319, allocations: 55.41 kB / 2.457 GB, free: 56.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.856e-05/4.319, allocations: 93.69 kB / 2.457 GB, free: 56.49 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.972e-06/4.319, allocations: 25.7 kB / 2.457 GB, free: 56.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/4.32, allocations: 92.06 kB / 2.457 GB, free: 56.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/4.32, allocations: 6.531 kB / 2.457 GB, free: 56.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/4.32, allocations: 0 / 2.457 GB, free: 56.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.271e-05/4.32, allocations: 322.8 kB / 2.457 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/4.32, allocations: 4 kB / 2.457 GB, free: 56.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/4.32, allocations: 10.42 kB / 2.457 GB, free: 56.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.456e-05/4.32, allocations: 4 kB / 2.457 GB, free: 56.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/4.32, allocations: 3.938 kB / 2.457 GB, free: 56.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.861e-05/4.32, allocations: 48.27 kB / 2.457 GB, free: 55.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/4.32, allocations: 4 kB / 2.457 GB, free: 55.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/4.32, allocations: 0 / 2.457 GB, free: 55.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/4.32, allocations: 8.031 kB / 2.457 GB, free: 55.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/4.32, allocations: 11.98 kB / 2.457 GB, free: 55.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/4.32, allocations: 0 / 2.457 GB, free: 55.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/4.32, allocations: 11.91 kB / 2.457 GB, free: 55.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/4.32, allocations: 7.984 kB / 2.457 GB, free: 55.93 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.358e-05/4.32, allocations: 107.4 kB / 2.457 GB, free: 55.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/4.32, allocations: 0 / 2.457 GB, free: 55.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.76e-05/4.32, allocations: 7.75 kB / 2.457 GB, free: 55.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/4.32, allocations: 0 / 2.457 GB, free: 55.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/4.32, allocations: 4 kB / 2.457 GB, free: 55.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/4.32, allocations: 0 / 2.457 GB, free: 55.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.158e-05/4.32, allocations: 140.5 kB / 2.457 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/4.32, allocations: 0 / 2.457 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/4.32, allocations: 4 kB / 2.457 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/4.32, allocations: 0 / 2.457 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/4.32, allocations: 7.875 kB / 2.458 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/4.32, allocations: 0 / 2.458 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/4.32, allocations: 0 / 2.458 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.291e-05/4.32, allocations: 140.1 kB / 2.458 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/4.32, allocations: 85.09 kB / 2.458 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/4.321, allocations: 3.938 kB / 2.458 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9e-05/4.321, allocations: 0 / 2.458 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/4.321, allocations: 4 kB / 2.458 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-06/4.321, allocations: 0 / 2.458 GB, free: 55.37 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.985e-05/4.321, allocations: 88.08 kB / 2.458 GB, free: 55.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/4.321, allocations: 0 / 2.458 GB, free: 55.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003235/4.321, allocations: 47.2 kB / 2.458 GB, free: 55.26 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.0007188/4.322, allocations: 0.6455 MB / 2.458 GB, free: 54.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.306e-05/4.322, allocations: 18.42 kB / 2.459 GB, free: 54.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/4.322, allocations: 0 / 2.459 GB, free: 54.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.566e-06/4.322, allocations: 4 kB / 2.459 GB, free: 54.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/4.322, allocations: 14.45 kB / 2.459 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001811/4.322, allocations: 58.72 kB / 2.459 GB, free: 54.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/4.322, allocations: 0.6807 MB / 2.459 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.099e-05/4.322, allocations: 8.078 kB / 2.459 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/4.322, allocations: 11.44 kB / 2.459 GB, free: 53.78 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/4.322, allocations: 0 / 2.459 GB, free: 53.78 MB / 0.698 GB Notification: Performance of Templates: time 0.005968/4.328, allocations: 3.893 MB / 2.463 GB, free: 49.9 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)