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 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.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.7555/0.7555, allocations: 140.1 MB / 156 MB, free: 5.18 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.001046/0.001046, allocations: 181.7 kB / 188.5 MB, free: 15.82 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.401/1.401, allocations: 205.4 MB / 426.3 MB, free: 8.398 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.000786/0.0007859, allocations: 89.25 kB / 0.4945 GB, free: 8.34 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001576/0.001576, allocations: 267.5 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000447/0.000447, allocations: 20 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3483, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.718/4.066, allocations: 2.025 GB / 2.765 GB, free: 186.6 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/4.067, allocations: 91.95 kB / 2.765 GB, free: 186.5 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04874/4.115, allocations: 27.09 MB / 2.791 GB, free: 159.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.673e-06/4.115, allocations: 0 / 2.791 GB, free: 159.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.391e-06/4.115, allocations: 0 / 2.791 GB, free: 159.1 MB / 0.6667 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.0002607/4.116, allocations: 359.5 kB / 2.792 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/4.116, allocations: 15.95 kB / 2.792 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004239/4.116, allocations: 32.81 kB / 2.792 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.974e-05/4.116, allocations: 168.4 kB / 2.792 GB, free: 158.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/4.116, allocations: 4.375 kB / 2.792 GB, free: 158.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/4.116, allocations: 384 / 2.792 GB, free: 158.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/4.117, allocations: 50.17 kB / 2.792 GB, free: 158.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/4.117, allocations: 8.172 kB / 2.792 GB, free: 158.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/4.117, allocations: 3.938 kB / 2.792 GB, free: 158.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/4.117, allocations: 0 / 2.792 GB, free: 158.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.925e-05/4.117, allocations: 15.98 kB / 2.792 GB, free: 158.4 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/4.117, allocations: 249 kB / 2.792 GB, free: 158.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.656e-05/4.117, allocations: 30.52 kB / 2.792 GB, free: 158.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/4.117, allocations: 8.922 kB / 2.792 GB, free: 158 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/4.117, allocations: 3.938 kB / 2.792 GB, free: 158 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.193e-05/4.117, allocations: 34.66 kB / 2.792 GB, free: 158 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 2.245e-06/4.117, allocations: 0 / 2.792 GB, free: 158 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0001321/4.117, allocations: 41.62 kB / 2.792 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/4.117, allocations: 59.53 kB / 2.792 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/4.117, allocations: 109.8 kB / 2.792 GB, free: 157.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-06/4.117, allocations: 25.7 kB / 2.792 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.311e-05/4.117, allocations: 91.97 kB / 2.792 GB, free: 157.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.693e-06/4.117, allocations: 7.906 kB / 2.792 GB, free: 157.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/4.117, allocations: 0 / 2.792 GB, free: 157.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 3.878e-05/4.117, allocations: 322.8 kB / 2.793 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/4.118, allocations: 11.94 kB / 2.793 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.445e-05/4.118, allocations: 11.98 kB / 2.793 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.91e-05/4.118, allocations: 20.84 kB / 2.793 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/4.118, allocations: 0 / 2.793 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001539/4.118, allocations: 61.61 kB / 2.793 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/4.118, allocations: 4 kB / 2.793 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/4.118, allocations: 0 / 2.793 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/4.118, allocations: 7.984 kB / 2.793 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/4.118, allocations: 8 kB / 2.793 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/4.118, allocations: 0 / 2.793 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/4.118, allocations: 7.984 kB / 2.793 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/4.118, allocations: 7.938 kB / 2.793 GB, free: 157.2 MB / 0.6667 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.34e-05/4.118, allocations: 117.8 kB / 2.793 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/4.118, allocations: 336 / 2.793 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/4.118, allocations: 11.12 kB / 2.793 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/4.118, allocations: 3.984 kB / 2.793 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/4.118, allocations: 4 kB / 2.793 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/4.118, allocations: 0 / 2.793 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/4.118, allocations: 161.5 kB / 2.793 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/4.118, allocations: 0 / 2.793 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/4.118, allocations: 4 kB / 2.793 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/4.118, allocations: 0 / 2.793 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/4.118, allocations: 0 / 2.793 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/4.118, allocations: 0 / 2.793 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/4.118, allocations: 4 kB / 2.793 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.721e-05/4.118, allocations: 143.4 kB / 2.793 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/4.119, allocations: 81.09 kB / 2.793 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/4.119, allocations: 3.938 kB / 2.793 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/4.119, allocations: 7.938 kB / 2.793 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/4.119, allocations: 4 kB / 2.793 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/4.119, allocations: 0 / 2.793 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 6.168e-05/4.119, allocations: 91.3 kB / 2.794 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/4.119, allocations: 0 / 2.794 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003261/4.119, allocations: 47.98 kB / 2.794 GB, free: 156.4 MB / 0.6667 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.0006808/4.12, allocations: 0.5633 MB / 2.794 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001265/4.12, allocations: 23.97 kB / 2.794 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/4.12, allocations: 0 / 2.794 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.406e-05/4.12, allocations: 8 kB / 2.794 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/4.12, allocations: 7.938 kB / 2.794 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/4.12, allocations: 134.5 kB / 2.794 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/4.121, allocations: 0.6771 MB / 2.795 GB, free: 154.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 7.861e-05/4.121, allocations: 11.94 kB / 2.795 GB, free: 154.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/4.121, allocations: 11.42 kB / 2.795 GB, free: 154.9 MB / 0.6667 GB Notification: Performance of SimCode: time 4.5e-07/4.121, allocations: 0 / 2.795 GB, free: 154.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.009456/4.13, allocations: 7.86 MB / 2.803 GB, free: 147 MB / 0.6667 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)