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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009959/0.0009959, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009849/0.0009849, allocations: 191.3 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.307/1.307, allocations: 251.7 MB / 0.5089 GB, free: 3.219 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 71.89 kB / 0.6217 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3699, allocations: 104.7 MB / 0.724 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00202/0.3719, allocations: 1.341 MB / 0.7253 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.373, allocations: 0.8311 MB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.521e-05/0.373, allocations: 0 / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.373, allocations: 0 / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.77e-05/0.3731, allocations: 7.922 kB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.3735, allocations: 119.6 kB / 0.7262 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.3735, allocations: 27.86 kB / 0.7263 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.3736, allocations: 0 / 0.7263 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.3736, allocations: 11.94 kB / 0.7263 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.3737, allocations: 11.98 kB / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.3737, allocations: 0 / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.3739, allocations: 171.7 kB / 0.7264 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.374, allocations: 15.92 kB / 0.7265 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.374, allocations: 4 kB / 0.7265 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.3742, allocations: 125.7 kB / 0.7266 GB, free: 10.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3742, allocations: 0 / 0.7266 GB, free: 10.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3742, allocations: 4 kB / 0.7266 GB, free: 10.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3742, allocations: 0 / 0.7266 GB, free: 10.39 MB / 0.545 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.0003653/0.3746, allocations: 355.5 kB / 0.7269 GB, free: 9.996 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.3746, allocations: 12.02 kB / 0.7269 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.3747, allocations: 4.938 kB / 0.7269 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3748, allocations: 168.2 kB / 0.7271 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/0.3748, allocations: 34.25 kB / 0.7271 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.3749, allocations: 4.375 kB / 0.7271 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.375, allocations: 46.25 kB / 0.7272 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.375, allocations: 7.922 kB / 0.7272 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.375, allocations: 4 kB / 0.7272 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.375, allocations: 0 / 0.7272 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-05/0.3751, allocations: 11.98 kB / 0.7272 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.3752, allocations: 165.7 kB / 0.7274 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.3754, allocations: 46.44 kB / 0.7274 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.3755, allocations: 20.86 kB / 0.7274 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.3757, allocations: 178.3 kB / 0.7276 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.3758, allocations: 38.56 kB / 0.7276 GB, free: 9.113 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3758, allocations: 0 / 0.7276 GB, free: 9.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.000201/0.376, allocations: 73.61 kB / 0.7277 GB, free: 9.035 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.376, allocations: 55.34 kB / 0.7278 GB, free: 8.969 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.225e-05/0.3761, allocations: 97.84 kB / 0.7279 GB, free: 8.863 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.3761, allocations: 25.7 kB / 0.7279 GB, free: 8.832 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.3761, allocations: 84.14 kB / 0.728 GB, free: 8.746 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.3761, allocations: 15.8 kB / 0.728 GB, free: 8.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.3762, allocations: 13.72 kB / 0.728 GB, free: 8.711 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.985e-05/0.3763, allocations: 318.8 kB / 0.7283 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.255e-05/0.3763, allocations: 12 kB / 0.7283 GB, free: 8.379 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.78e-05/0.3764, allocations: 11.98 kB / 0.7283 GB, free: 8.367 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.803e-05/0.3764, allocations: 24.84 kB / 0.7283 GB, free: 8.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3765, allocations: 0 / 0.7283 GB, free: 8.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001137/0.3766, allocations: 57.69 kB / 0.7284 GB, free: 8.277 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.3766, allocations: 14.22 kB / 0.7284 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.3766, allocations: 0.5156 kB / 0.7284 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.3766, allocations: 0 / 0.7284 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.634e-05/0.3767, allocations: 19.92 kB / 0.7284 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.3767, allocations: 0 / 0.7284 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.3767, allocations: 0 / 0.7284 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.3767, allocations: 4 kB / 0.7284 GB, free: 8.242 MB / 0.545 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 5.805e-05/0.3768, allocations: 105.8 kB / 0.7285 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.3768, allocations: 11.84 kB / 0.7285 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.377, allocations: 69.16 kB / 0.7286 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.377, allocations: 0 / 0.7286 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.377, allocations: 8 kB / 0.7286 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.377, allocations: 3.938 kB / 0.7286 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.753e-05/0.3771, allocations: 157.7 kB / 0.7288 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3771, allocations: 0 / 0.7288 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.3771, allocations: 8 kB / 0.7288 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3771, allocations: 3.938 kB / 0.7288 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.3771, allocations: 0 / 0.7288 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3771, allocations: 0 / 0.7288 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3771, allocations: 0 / 0.7288 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.3773, allocations: 85.11 kB / 0.7289 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.3773, allocations: 85.05 kB / 0.7289 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3774, allocations: 7.922 kB / 0.729 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.384e-05/0.3774, allocations: 4 kB / 0.729 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.3774, allocations: 7.938 kB / 0.729 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.3774, allocations: 0 / 0.729 GB, free: 7.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.004e-05/0.3775, allocations: 83.27 kB / 0.729 GB, free: 7.508 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3775, allocations: 3.938 kB / 0.729 GB, free: 7.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002014/0.3777, allocations: 36 kB / 0.7291 GB, free: 7.469 MB / 0.545 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.0001746/0.3779, allocations: 139.1 kB / 0.7292 GB, free: 7.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.378, allocations: 23.98 kB / 0.7292 GB, free: 7.297 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.378, allocations: 0 / 0.7292 GB, free: 7.297 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.747e-05/0.3781, allocations: 23.92 kB / 0.7293 GB, free: 7.273 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.3782, allocations: 11.94 kB / 0.7293 GB, free: 7.262 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.3785, allocations: 135.1 kB / 0.7294 GB, free: 7.105 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.3787, allocations: 0.6807 MB / 0.7301 GB, free: 6.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.233e-05/0.3787, allocations: 7.859 kB / 0.7301 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.3787, allocations: 11.44 kB / 0.7301 GB, free: 6.379 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.3787, allocations: 0 / 0.7301 GB, free: 6.379 MB / 0.545 GB Notification: Performance of Templates: time 0.002657/0.3814, allocations: 1.036 MB / 0.7311 GB, free: 5.344 MB / 0.545 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)