Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json 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/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007989/0.007989, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 8.719 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3608, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00136/0.3622, allocations: 0.996 MB / 1.075 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.3636, allocations: 0.8335 MB / 1.076 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.763e-05/0.3637, allocations: 0 / 1.076 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.3637, allocations: 0 / 1.076 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.493e-05/0.3638, allocations: 3.984 kB / 1.076 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.3642, allocations: 111.5 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.3643, allocations: 31.84 kB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.3644, allocations: 0 / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.422e-05/0.3644, allocations: 15.94 kB / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.944e-05/0.3645, allocations: 11.92 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3645, allocations: 0 / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.3649, allocations: 175.7 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.3649, allocations: 7.984 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.365, allocations: 33.64 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.3652, allocations: 124 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3652, allocations: 4 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.438e-06/0.3652, allocations: 0 / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.3653, allocations: 3.938 kB / 1.076 GB, free: 5.223 MB / 0.8262 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.000451/0.3657, allocations: 351.5 kB / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.3658, allocations: 12.03 kB / 1.077 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.3658, allocations: 4.844 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.366, allocations: 164.4 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/0.3661, allocations: 30.27 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.3661, allocations: 8.375 kB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3662, allocations: 46.19 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3662, allocations: 3.938 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3663, allocations: 0 / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3663, allocations: 0 / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3664, allocations: 19.98 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.3665, allocations: 153.7 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.3668, allocations: 54.59 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.3668, allocations: 12.86 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.3671, allocations: 178.3 kB / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.3672, allocations: 38.5 kB / 1.077 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.505e-06/0.3672, allocations: 3.984 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002509/0.3674, allocations: 73.61 kB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.3675, allocations: 51.41 kB / 1.078 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.3676, allocations: 101.8 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3676, allocations: 25.7 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.3676, allocations: 80.14 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.3676, allocations: 7.812 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.3677, allocations: 17.72 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3678, allocations: 310.8 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.747e-05/0.3678, allocations: 11.98 kB / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.622e-05/0.3679, allocations: 19.92 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.947e-05/0.368, allocations: 24.8 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.368, allocations: 0 / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001386/0.3681, allocations: 61.67 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3682, allocations: 11.88 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3682, allocations: 0 / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.3682, allocations: 0 / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.339e-05/0.3683, allocations: 12 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3683, allocations: 0 / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.868e-05/0.3683, allocations: 7.922 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3683, allocations: 4 kB / 1.078 GB, free: 3.09 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.202e-05/0.3684, allocations: 113.8 kB / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.3684, allocations: 7.844 kB / 1.078 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.3686, allocations: 65.17 kB / 1.078 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3686, allocations: 4 kB / 1.078 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3686, allocations: 0 / 1.078 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3686, allocations: 0 / 1.078 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.3687, allocations: 157.7 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3688, allocations: 0 / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.3688, allocations: 7.984 kB / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3688, allocations: 7.938 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.3688, allocations: 0 / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3688, allocations: 4 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3688, allocations: 0 / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.369, allocations: 89.61 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.3691, allocations: 77.11 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.3691, allocations: 11.94 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.88e-05/0.3691, allocations: 3.984 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.3692, allocations: 4 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.3692, allocations: 0 / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.3692, allocations: 79.31 kB / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3692, allocations: 8 kB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002373/0.3695, allocations: 35.92 kB / 1.079 GB, free: 2.32 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002711/0.3697, allocations: 143.1 kB / 1.079 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.3699, allocations: 27.92 kB / 1.079 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3699, allocations: 0 / 1.079 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.097e-05/0.37, allocations: 12 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.3702, allocations: 13.23 kB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.3705, allocations: 138.5 kB / 1.079 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.3708, allocations: 0.6809 MB / 1.08 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.176e-05/0.3709, allocations: 15.84 kB / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.3709, allocations: 7.438 kB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of SimCode: time 7.92e-07/0.3709, allocations: 0 / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of Templates: time 0.003461/0.3744, allocations: 1.013 MB / 1.081 GB, free: 216 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)