Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 96.42 kB / 20.45 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 208.9 kB / 23.74 MB, free: 4.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9941/0.9941, allocations: 149.9 MB / 463.8 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 65.86 kB / 0.6423 GB, free: 9.664 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1889, allocations: 89.17 MB / 0.7294 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002003/0.1909, allocations: 0.6976 MB / 0.7301 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1928, allocations: 1.268 MB / 0.7313 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.1928, allocations: 7.938 kB / 0.7313 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.119e-05/0.1929, allocations: 7.875 kB / 0.7313 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.738e-05/0.1929, allocations: 15.86 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/0.1937, allocations: 257.4 kB / 0.7316 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.194, allocations: 251.6 kB / 0.7318 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/0.1941, allocations: 8.234 kB / 0.7318 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.1942, allocations: 111.7 kB / 0.7319 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.1944, allocations: 83.69 kB / 0.732 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.1945, allocations: 28 kB / 0.732 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.411e-05/0.1946, allocations: 35.97 kB / 0.7321 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.1946, allocations: 35.91 kB / 0.7321 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1947, allocations: 79.81 kB / 0.7322 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.195, allocations: 227.3 kB / 0.7324 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.195, allocations: 0 / 0.7324 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.195, allocations: 0 / 0.7324 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.195, allocations: 0 / 0.7324 GB, free: 13.46 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008143/0.1958, allocations: 421.3 kB / 0.7328 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1959, allocations: 8.031 kB / 0.7328 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.618e-05/0.196, allocations: 20.89 kB / 0.7328 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.1966, allocations: 202.4 kB / 0.733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.1966, allocations: 12.36 kB / 0.733 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.1967, allocations: 20.38 kB / 0.7331 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.1969, allocations: 131.9 kB / 0.7332 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1969, allocations: 3.938 kB / 0.7332 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1969, allocations: 0 / 0.7332 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.197, allocations: 8 kB / 0.7332 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.1971, allocations: 59.89 kB / 0.7333 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008136/0.1979, allocations: 432.5 kB / 0.7337 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.1982, allocations: 137.1 kB / 0.7338 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.735e-05/0.1983, allocations: 53.69 kB / 0.7338 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.1983, allocations: 0 / 0.7338 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/0.1987, allocations: 226 kB / 0.7341 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.1987, allocations: 0 / 0.7341 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0006053/0.1993, allocations: 309.4 kB / 0.7344 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.1994, allocations: 93.09 kB / 0.7344 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.1995, allocations: 132.2 kB / 0.7346 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.959e-05/0.1996, allocations: 41.7 kB / 0.7346 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.1997, allocations: 92.59 kB / 0.7347 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.1997, allocations: 59.62 kB / 0.7348 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.1998, allocations: 74.05 kB / 0.7348 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.2, allocations: 330.8 kB / 0.7351 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.2003, allocations: 147.6 kB / 0.7353 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.2005, allocations: 215.6 kB / 0.7355 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.2009, allocations: 246.9 kB / 0.7357 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2009, allocations: 0 / 0.7357 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000663/0.2016, allocations: 420.1 kB / 0.7361 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.778e-05/0.2016, allocations: 71.39 kB / 0.7362 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2016, allocations: 0 / 0.7362 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2016, allocations: 4 kB / 0.7362 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.2017, allocations: 15.94 kB / 0.7362 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.2017, allocations: 12.2 kB / 0.7362 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.2021, allocations: 67.77 kB / 0.7363 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.2022, allocations: 19.98 kB / 0.7363 GB, free: 9.113 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001515/0.2023, allocations: 139.8 kB / 0.7364 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.2023, allocations: 19.89 kB / 0.7365 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.2024, allocations: 20.44 kB / 0.7365 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2024, allocations: 4 kB / 0.7365 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2024, allocations: 0 / 0.7365 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.2024, allocations: 7.875 kB / 0.7365 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006585/0.2031, allocations: 0.5489 MB / 0.737 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2031, allocations: 4 kB / 0.737 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.2031, allocations: 4 kB / 0.737 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2031, allocations: 4 kB / 0.737 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.2031, allocations: 4.078 kB / 0.737 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.2031, allocations: 11.88 kB / 0.7371 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2031, allocations: 4 kB / 0.7371 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.2037, allocations: 439.1 kB / 0.7375 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.2037, allocations: 7.953 kB / 0.7375 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.2037, allocations: 11.98 kB / 0.7375 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.2039, allocations: 7.984 kB / 0.7375 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.365e-05/0.204, allocations: 35.89 kB / 0.7375 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.204, allocations: 12 kB / 0.7375 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.509e-05/0.2041, allocations: 94.14 kB / 0.7376 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2041, allocations: 0 / 0.7376 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003729/0.2045, allocations: 59.98 kB / 0.7377 GB, free: 7.633 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002094/0.2047, allocations: 119.1 kB / 0.7378 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006013/0.2053, allocations: 370 kB / 0.7382 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2053, allocations: 0 / 0.7382 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.2055, allocations: 91.88 kB / 0.7383 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.2059, allocations: 30.28 kB / 0.7383 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.2065, allocations: 315.6 kB / 0.7386 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.2067, allocations: 84.86 kB / 0.7387 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.2067, allocations: 23.42 kB / 0.7387 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2067, allocations: 0 / 0.7387 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of Templates: time 0.004587/0.2113, allocations: 2.299 MB / 0.7409 GB, free: 4.227 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.124260231852531] Failed to read output from testmodel.py, exit status != 0: 0.21991694113239646 0.24754661900000002 0.047374979000000005 Calling exit ...