Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.276/1.276, allocations: 252 MB / 267.9 MB, free: 10.9 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.0009308/0.0009309, allocations: 170.2 kB / 327.5 MB, free: 2.16 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.484/1.484, allocations: 205.4 MB / 0.5785 GB, free: 20.21 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.0007448/0.0007448, allocations: 86.36 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 11.5 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1833, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.3383, allocations: 133.4 MB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.3386, allocations: 87.94 kB / 1.032 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008012/0.3466, allocations: 2.668 MB / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.945e-06/0.3467, allocations: 0 / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.3467, allocations: 0 / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004231/0.3471, allocations: 367.3 kB / 1.035 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3472, allocations: 12.03 kB / 1.035 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.3472, allocations: 0.9375 kB / 1.035 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3473, allocations: 164.4 kB / 1.035 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/0.3474, allocations: 26.27 kB / 1.035 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.3474, allocations: 8.375 kB / 1.035 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.3476, allocations: 46.23 kB / 1.035 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3477, allocations: 3.938 kB / 1.035 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3477, allocations: 0 / 1.035 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3477, allocations: 4 kB / 1.035 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.924e-05/0.3478, allocations: 23.86 kB / 1.035 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.348, allocations: 157.7 kB / 1.035 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.3482, allocations: 42.56 kB / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.3483, allocations: 12.95 kB / 1.035 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.3486, allocations: 186.2 kB / 1.035 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.3486, allocations: 38.55 kB / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.3486, allocations: 0 / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.000247/0.3489, allocations: 77.45 kB / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3489, allocations: 55.39 kB / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.349, allocations: 93.86 kB / 1.035 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.349, allocations: 29.7 kB / 1.035 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.3491, allocations: 80.14 kB / 1.036 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.3491, allocations: 15.84 kB / 1.036 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.3491, allocations: 0 / 1.036 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3492, allocations: 314.8 kB / 1.036 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.3493, allocations: 8 kB / 1.036 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.3493, allocations: 11.98 kB / 1.036 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.957e-05/0.3494, allocations: 32.84 kB / 1.036 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3495, allocations: 0 / 1.036 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001223/0.3496, allocations: 57.53 kB / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3496, allocations: 11.94 kB / 1.036 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3496, allocations: 0 / 1.036 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3496, allocations: 3.938 kB / 1.036 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.059e-05/0.3497, allocations: 11.98 kB / 1.036 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3497, allocations: 4 kB / 1.036 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.3497, allocations: 0 / 1.036 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.3498, allocations: 4 kB / 1.036 GB, free: 5.246 MB / 0.6823 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 (4): * Single equations (assignments): 4 * 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 8.412e-05/0.3498, allocations: 113.8 kB / 1.036 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.3499, allocations: 3.938 kB / 1.036 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.35, allocations: 69.11 kB / 1.036 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3501, allocations: 0 / 1.036 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3501, allocations: 0 / 1.036 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3501, allocations: 0 / 1.036 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.3502, allocations: 153.7 kB / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3502, allocations: 4 kB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.3503, allocations: 11.98 kB / 1.036 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3503, allocations: 3.938 kB / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3503, allocations: 4 kB / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3503, allocations: 4 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3503, allocations: 0 / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.3505, allocations: 88.95 kB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.3505, allocations: 77.72 kB / 1.036 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3506, allocations: 11.88 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.549e-05/0.3506, allocations: 7.984 kB / 1.037 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.3507, allocations: 0 / 1.037 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3507, allocations: 4 kB / 1.037 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.3507, allocations: 83.27 kB / 1.037 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3507, allocations: 0 / 1.037 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002459/0.351, allocations: 39.92 kB / 1.037 GB, free: 4.473 MB / 0.6823 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 (4): * Single equations (assignments): 4 * 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.0002596/0.3512, allocations: 147.1 kB / 1.037 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.3514, allocations: 27.98 kB / 1.037 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3514, allocations: 3.938 kB / 1.037 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.699e-05/0.3515, allocations: 19.92 kB / 1.037 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3517, allocations: 13.45 kB / 1.037 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.352, allocations: 134.6 kB / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.3523, allocations: 0.677 MB / 1.038 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.036e-05/0.3524, allocations: 7.859 kB / 1.038 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.3524, allocations: 11.44 kB / 1.038 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3524, allocations: 0 / 1.038 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of Templates: time 0.003414/0.3558, allocations: 0.9802 MB / 1.039 GB, free: 2.402 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)