Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.566/1.566, allocations: 289.9 MB / 297.4 MB, free: 6.414 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009049/0.0009049, allocations: 180.8 kB / 366.7 MB, free: 1.688 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.2 MB / 0.626 GB, free: 7.188 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008222/0.0008221, allocations: 89.69 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.661e-05, allocations: 8 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6199/0.62, allocations: 116.3 MB / 0.9732 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.7948, allocations: 139.9 MB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.7951, allocations: 90.23 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.007815/0.8029, allocations: 2.629 MB / 1.112 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8029, allocations: 0.875 kB / 1.112 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.8029, allocations: 4 kB / 1.113 GB, free: 7.664 MB / 0.7136 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.0003489/0.8033, allocations: 355.5 kB / 1.113 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.8033, allocations: 10.28 kB / 1.113 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.8034, allocations: 4 kB / 1.113 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.8035, allocations: 170.9 kB / 1.113 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.8036, allocations: 29.7 kB / 1.113 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.8036, allocations: 0 / 1.113 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.686e-05/0.8036, allocations: 16.69 kB / 1.113 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.112e-05/0.8037, allocations: 35.94 kB / 1.113 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.8037, allocations: 7.5 kB / 1.113 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.8038, allocations: 0 / 1.113 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.8038, allocations: 3.984 kB / 1.113 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.8039, allocations: 140.2 kB / 1.113 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.8041, allocations: 41.14 kB / 1.113 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.8041, allocations: 12.86 kB / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/0.8044, allocations: 186.3 kB / 1.113 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.8044, allocations: 34.5 kB / 1.114 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.8044, allocations: 0 / 1.114 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0004587/0.8049, allocations: 89.62 kB / 1.114 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.8049, allocations: 55.41 kB / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.805, allocations: 100.9 kB / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.805, allocations: 25.7 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.8051, allocations: 84.14 kB / 1.114 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.8051, allocations: 11.75 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.8051, allocations: 0 / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.8052, allocations: 314.8 kB / 1.114 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.8052, allocations: 4 kB / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.8053, allocations: 8 kB / 1.114 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.8056, allocations: 51.92 kB / 1.114 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8056, allocations: 8 kB / 1.114 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003531/0.8059, allocations: 97.52 kB / 1.114 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.806, allocations: 9.562 kB / 1.114 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.806, allocations: 2.062 kB / 1.114 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.806, allocations: 0 / 1.114 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.29e-05/0.8061, allocations: 4 kB / 1.114 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8061, allocations: 4 kB / 1.114 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.94e-05/0.8061, allocations: 3.984 kB / 1.114 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.8061, allocations: 0 / 1.114 GB, free: 5.559 MB / 0.7136 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 (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 5.902e-05/0.8062, allocations: 109 kB / 1.114 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.8062, allocations: 7.953 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.8066, allocations: 109.6 kB / 1.115 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8066, allocations: 0 / 1.115 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8066, allocations: 0 / 1.115 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.8066, allocations: 0 / 1.115 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.8067, allocations: 138.2 kB / 1.115 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.8068, allocations: 2.312 kB / 1.115 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.8068, allocations: 12 kB / 1.115 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.8068, allocations: 0 / 1.115 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.8068, allocations: 0 / 1.115 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8068, allocations: 3.953 kB / 1.115 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.8068, allocations: 4 kB / 1.115 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.8072, allocations: 125.5 kB / 1.115 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.8073, allocations: 77.11 kB / 1.115 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.8073, allocations: 0 / 1.115 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.861e-05/0.8074, allocations: 9.125 kB / 1.115 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.8075, allocations: 7.938 kB / 1.115 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.8075, allocations: 7.938 kB / 1.115 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.8075, allocations: 79.28 kB / 1.115 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/0.8075, allocations: 3.938 kB / 1.115 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002192/0.8077, allocations: 39.92 kB / 1.115 GB, free: 4.746 MB / 0.7136 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 (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.000208/0.8079, allocations: 135.2 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.489e-05/0.808, allocations: 23.98 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.808, allocations: 0 / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.322e-05/0.8081, allocations: 15.94 kB / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.8082, allocations: 8.281 kB / 1.115 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001828/0.8084, allocations: 56 kB / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.8086, allocations: 0.6807 MB / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.12e-05/0.8087, allocations: 10.34 kB / 1.116 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.8087, allocations: 7.438 kB / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.8087, allocations: 0 / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of Templates: time 0.002734/0.8115, allocations: 0.9289 MB / 1.117 GB, free: 2.871 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)