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.891/0.891, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 183.8 kB / 187.3 MB, free: 11.89 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.373/1.373, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.000935/0.0009351, allocations: 89.61 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001903/0.001904, allocations: 278.7 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.246e-05/4.248e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4806/0.4807, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.196/4.677, allocations: 1.673 GB / 2.438 GB, free: 69.66 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/4.677, allocations: 92.81 kB / 2.438 GB, free: 69.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05048/4.728, allocations: 26.69 MB / 2.464 GB, free: 47.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/4.728, allocations: 0 / 2.464 GB, free: 47.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.296e-06/4.728, allocations: 0 / 2.464 GB, free: 47.22 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.0002809/4.728, allocations: 350.4 kB / 2.464 GB, free: 46.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/4.728, allocations: 11.97 kB / 2.464 GB, free: 46.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004285/4.728, allocations: 39.66 kB / 2.464 GB, free: 46.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.707e-05/4.729, allocations: 167 kB / 2.464 GB, free: 46.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/4.729, allocations: 0 / 2.464 GB, free: 46.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/4.729, allocations: 4 kB / 2.464 GB, free: 46.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/4.729, allocations: 37.67 kB / 2.464 GB, free: 46.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/4.729, allocations: 4 kB / 2.464 GB, free: 46.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/4.729, allocations: 7.75 kB / 2.464 GB, free: 46.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/4.729, allocations: 0 / 2.464 GB, free: 46.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.649e-05/4.729, allocations: 8 kB / 2.464 GB, free: 46.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/4.729, allocations: 256.4 kB / 2.465 GB, free: 46.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.986e-05/4.729, allocations: 26.52 kB / 2.465 GB, free: 46.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/4.729, allocations: 15.86 kB / 2.465 GB, free: 46.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/4.729, allocations: 0 / 2.465 GB, free: 46.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/4.729, allocations: 30.56 kB / 2.465 GB, free: 46.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/4.729, allocations: 0 / 2.465 GB, free: 46.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001236/4.729, allocations: 41.44 kB / 2.465 GB, free: 46.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/4.729, allocations: 55.36 kB / 2.465 GB, free: 46.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/4.73, allocations: 104.6 kB / 2.465 GB, free: 45.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/4.73, allocations: 29.73 kB / 2.465 GB, free: 45.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/4.73, allocations: 88.08 kB / 2.465 GB, free: 45.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/4.73, allocations: 7.891 kB / 2.465 GB, free: 45.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/4.73, allocations: 0 / 2.465 GB, free: 45.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.918e-05/4.73, allocations: 314.8 kB / 2.465 GB, free: 45.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/4.73, allocations: 4 kB / 2.465 GB, free: 45.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.605e-05/4.73, allocations: 4 kB / 2.465 GB, free: 45.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.035e-05/4.73, allocations: 7.984 kB / 2.465 GB, free: 45.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/4.73, allocations: 0 / 2.465 GB, free: 45.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.088e-05/4.73, allocations: 53.25 kB / 2.465 GB, free: 45.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/4.73, allocations: 7.984 kB / 2.465 GB, free: 45.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/4.73, allocations: 0 / 2.465 GB, free: 45.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/4.73, allocations: 0 / 2.465 GB, free: 45.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/4.73, allocations: 11.98 kB / 2.465 GB, free: 45.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/4.73, allocations: 3.938 kB / 2.465 GB, free: 45.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/4.73, allocations: 7.953 kB / 2.465 GB, free: 45.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/4.73, allocations: 7.672 kB / 2.465 GB, free: 45.38 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.558e-05/4.73, allocations: 109 kB / 2.465 GB, free: 45.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/4.73, allocations: 3.906 kB / 2.465 GB, free: 45.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/4.73, allocations: 3.125 kB / 2.465 GB, free: 45.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/4.73, allocations: 0 / 2.465 GB, free: 45.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/4.73, allocations: 4 kB / 2.465 GB, free: 45.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/4.73, allocations: 0 / 2.465 GB, free: 45.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/4.73, allocations: 161.4 kB / 2.466 GB, free: 45.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/4.73, allocations: 3.938 kB / 2.466 GB, free: 45.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/4.73, allocations: 0 / 2.466 GB, free: 45.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/4.73, allocations: 0 / 2.466 GB, free: 45.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/4.73, allocations: 8 kB / 2.466 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/4.73, allocations: 4 kB / 2.466 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/4.73, allocations: 0 / 2.466 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.449e-05/4.731, allocations: 138.6 kB / 2.466 GB, free: 44.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/4.731, allocations: 89.03 kB / 2.466 GB, free: 44.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/4.731, allocations: 0 / 2.466 GB, free: 44.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/4.731, allocations: 0 / 2.466 GB, free: 44.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/4.731, allocations: 8.031 kB / 2.466 GB, free: 44.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/4.731, allocations: 0 / 2.466 GB, free: 44.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.593e-05/4.731, allocations: 86.89 kB / 2.466 GB, free: 44.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/4.731, allocations: 0 / 2.466 GB, free: 44.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003822/4.731, allocations: 53.23 kB / 2.466 GB, free: 44.67 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.000659/4.732, allocations: 0.5581 MB / 2.467 GB, free: 44.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.051e-05/4.732, allocations: 15.67 kB / 2.467 GB, free: 44.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/4.732, allocations: 0 / 2.467 GB, free: 44.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/4.732, allocations: 7.938 kB / 2.467 GB, free: 44.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/4.732, allocations: 7.953 kB / 2.467 GB, free: 44.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002141/4.732, allocations: 65.17 kB / 2.467 GB, free: 44.01 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/4.733, allocations: 0.681 MB / 2.467 GB, free: 43.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.472e-05/4.733, allocations: 3.938 kB / 2.467 GB, free: 43.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/4.733, allocations: 19.38 kB / 2.467 GB, free: 43.28 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/4.733, allocations: 0 / 2.467 GB, free: 43.28 MB / 0.698 GB Notification: Performance of Templates: time 0.01103/4.744, allocations: 9.498 MB / 2.477 GB, free: 33.79 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)