Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.299/1.299, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008522/0.0008522, allocations: 182.8 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 0.5785 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007512/0.0007512, allocations: 92.33 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003928, allocations: 12.47 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.805/3.996, allocations: 2.173 GB / 3.075 GB, free: 47.58 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/3.996, allocations: 92.47 kB / 3.075 GB, free: 47.49 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04671/4.043, allocations: 26.72 MB / 3.101 GB, free: 20.53 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.124e-06/4.043, allocations: 0 / 3.101 GB, free: 20.53 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.324e-06/4.043, allocations: 0 / 3.101 GB, free: 20.53 MB / 0.8855 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.0002832/4.043, allocations: 355.4 kB / 3.101 GB, free: 20.13 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/4.043, allocations: 8.031 kB / 3.101 GB, free: 20.12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004087/4.043, allocations: 36.89 kB / 3.101 GB, free: 20.09 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.941e-05/4.044, allocations: 164.3 kB / 3.101 GB, free: 19.89 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/4.044, allocations: 4.375 kB / 3.101 GB, free: 19.89 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/4.044, allocations: 4.375 kB / 3.101 GB, free: 19.88 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/4.044, allocations: 46.22 kB / 3.101 GB, free: 19.83 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/4.044, allocations: 192 / 3.101 GB, free: 19.83 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/4.044, allocations: 3.938 kB / 3.101 GB, free: 19.83 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/4.044, allocations: 0 / 3.101 GB, free: 19.83 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/4.044, allocations: 27.97 kB / 3.101 GB, free: 19.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/4.044, allocations: 248.8 kB / 3.102 GB, free: 19.51 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.994e-05/4.044, allocations: 34.45 kB / 3.102 GB, free: 19.46 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/4.044, allocations: 16.84 kB / 3.102 GB, free: 19.45 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/4.044, allocations: 0 / 3.102 GB, free: 19.45 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/4.044, allocations: 34.66 kB / 3.102 GB, free: 19.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/4.044, allocations: 0 / 3.102 GB, free: 19.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001385/4.044, allocations: 37.7 kB / 3.102 GB, free: 19.36 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/4.045, allocations: 59.34 kB / 3.102 GB, free: 19.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/4.045, allocations: 117.8 kB / 3.102 GB, free: 19.16 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/4.045, allocations: 25.7 kB / 3.102 GB, free: 19.13 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/4.045, allocations: 88.27 kB / 3.102 GB, free: 19.04 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/4.045, allocations: 7.906 kB / 3.102 GB, free: 19.04 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/4.045, allocations: 0 / 3.102 GB, free: 19.04 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.601e-05/4.045, allocations: 314.8 kB / 3.102 GB, free: 18.72 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/4.045, allocations: 11.98 kB / 3.102 GB, free: 18.71 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.311e-05/4.045, allocations: 11.98 kB / 3.102 GB, free: 18.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.115e-05/4.045, allocations: 24.84 kB / 3.102 GB, free: 18.67 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/4.045, allocations: 0 / 3.102 GB, free: 18.67 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001551/4.045, allocations: 65.55 kB / 3.102 GB, free: 18.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/4.045, allocations: 4 kB / 3.102 GB, free: 18.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/4.045, allocations: 0 / 3.102 GB, free: 18.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/4.045, allocations: 0 / 3.102 GB, free: 18.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/4.045, allocations: 11.98 kB / 3.102 GB, free: 18.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/4.045, allocations: 0 / 3.102 GB, free: 18.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/4.045, allocations: 15.89 kB / 3.102 GB, free: 18.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/4.045, allocations: 4 kB / 3.103 GB, free: 18.56 MB / 0.8855 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 4.499e-05/4.045, allocations: 109.8 kB / 3.103 GB, free: 18.45 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/4.045, allocations: 0 / 3.103 GB, free: 18.45 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/4.046, allocations: 15.11 kB / 3.103 GB, free: 18.43 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/4.046, allocations: 0 / 3.103 GB, free: 18.43 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/4.046, allocations: 0 / 3.103 GB, free: 18.43 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/4.046, allocations: 0 / 3.103 GB, free: 18.43 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/4.046, allocations: 157.6 kB / 3.103 GB, free: 18.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/4.046, allocations: 0 / 3.103 GB, free: 18.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/4.046, allocations: 4 kB / 3.103 GB, free: 18.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/4.046, allocations: 4 kB / 3.103 GB, free: 18.22 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-06/4.046, allocations: 4 kB / 3.103 GB, free: 18.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/4.046, allocations: 0 / 3.103 GB, free: 18.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/4.046, allocations: 3.938 kB / 3.103 GB, free: 18.21 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.856e-05/4.046, allocations: 143.4 kB / 3.103 GB, free: 18.06 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/4.046, allocations: 81.14 kB / 3.103 GB, free: 17.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/4.046, allocations: 3.984 kB / 3.103 GB, free: 17.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/4.046, allocations: 4 kB / 3.103 GB, free: 17.95 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/4.046, allocations: 0 / 3.103 GB, free: 17.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/4.046, allocations: 0 / 3.103 GB, free: 17.95 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.344e-05/4.046, allocations: 91.27 kB / 3.103 GB, free: 17.86 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/4.046, allocations: 0 / 3.103 GB, free: 17.86 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003111/4.046, allocations: 55.92 kB / 3.103 GB, free: 17.81 MB / 0.8855 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 (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.0006301/4.047, allocations: 0.5607 MB / 3.104 GB, free: 17.25 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001186/4.047, allocations: 19.98 kB / 3.104 GB, free: 17.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/4.047, allocations: 0 / 3.104 GB, free: 17.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.187e-05/4.047, allocations: 11.92 kB / 3.104 GB, free: 17.21 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/4.047, allocations: 16 kB / 3.104 GB, free: 17.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/4.048, allocations: 135.2 kB / 3.104 GB, free: 17.04 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.734e-05/4.048, allocations: 0.677 MB / 3.105 GB, free: 16.34 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.351e-05/4.048, allocations: 11.95 kB / 3.105 GB, free: 16.32 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/4.048, allocations: 7.438 kB / 3.105 GB, free: 16.32 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/4.048, allocations: 0 / 3.105 GB, free: 16.32 MB / 0.8855 GB Notification: Performance of Templates: time 0.009262/4.057, allocations: 7.859 MB / 3.112 GB, free: 8.449 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)