Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.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.001754/0.001754, allocations: 103.7 kB / 20.5 MB, free: 1.168 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.002068/0.002068, allocations: 213.4 kB / 23.8 MB, free: 4.172 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.561/1.561, allocations: 230.6 MB / 257.6 MB, free: 7.746 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.9775/0.9775, allocations: 150 MB / 464 MB, free: 10.17 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") [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.002033/0.002033, allocations: 70.27 kB / 0.6425 GB, free: 9.297 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1958, allocations: 89.17 MB / 0.7296 GB, free: 208 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002283/0.1981, allocations: 0.6684 MB / 0.7303 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.2, allocations: 1.28 MB / 0.7315 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.2, allocations: 4 kB / 0.7315 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.2001, allocations: 3.938 kB / 0.7315 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.199e-05/0.2002, allocations: 19.84 kB / 0.7315 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008231/0.201, allocations: 316.1 kB / 0.7318 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.2014, allocations: 255.6 kB / 0.7321 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2015, allocations: 8.188 kB / 0.7321 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.2017, allocations: 103.8 kB / 0.7322 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.2019, allocations: 83.73 kB / 0.7323 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.773e-05/0.2019, allocations: 24 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.873e-05/0.202, allocations: 35.98 kB / 0.7323 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.2021, allocations: 12 kB / 0.7323 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2022, allocations: 83.8 kB / 0.7324 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.2025, allocations: 223.3 kB / 0.7326 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.2025, allocations: 4 kB / 0.7326 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.285e-06/0.2025, allocations: 0 / 0.7326 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.2025, allocations: 0 / 0.7326 GB, free: 13.1 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007785/0.2033, allocations: 419.1 kB / 0.733 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2033, allocations: 12.03 kB / 0.733 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.2034, allocations: 12.89 kB / 0.7331 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2035, allocations: 118.5 kB / 0.7332 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.2036, allocations: 4.375 kB / 0.7332 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.509e-05/0.2036, allocations: 20.38 kB / 0.7332 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.2037, allocations: 70.14 kB / 0.7333 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2037, allocations: 3.938 kB / 0.7333 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.2038, allocations: 0 / 0.7333 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2038, allocations: 0 / 0.7333 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.2038, allocations: 27.86 kB / 0.7333 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.2044, allocations: 316.3 kB / 0.7336 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.674e-05/0.2045, allocations: 38.5 kB / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.2045, allocations: 20.94 kB / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.2046, allocations: 0 / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.2048, allocations: 103.2 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.2048, allocations: 0 / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003134/0.2051, allocations: 141.5 kB / 0.7339 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.2051, allocations: 59.39 kB / 0.7339 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2052, allocations: 132.2 kB / 0.7341 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.2053, allocations: 29.7 kB / 0.7341 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.2053, allocations: 100.1 kB / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.2054, allocations: 27.91 kB / 0.7342 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.2055, allocations: 65.67 kB / 0.7343 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2057, allocations: 318.8 kB / 0.7346 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.2059, allocations: 181 kB / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.2062, allocations: 231 kB / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.2065, allocations: 231 kB / 0.7352 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.2065, allocations: 7.938 kB / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007915/0.2073, allocations: 472.4 kB / 0.7356 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.266e-05/0.2074, allocations: 105.1 kB / 0.7357 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2074, allocations: 0 / 0.7357 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.2074, allocations: 4 kB / 0.7358 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.384e-05/0.2075, allocations: 4 kB / 0.7358 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2075, allocations: 0 / 0.7358 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.2079, allocations: 83.98 kB / 0.7358 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.208, allocations: 19.98 kB / 0.7359 GB, free: 9.449 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001318/0.2081, allocations: 129.7 kB / 0.736 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.2081, allocations: 16.31 kB / 0.736 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.2082, allocations: 12.36 kB / 0.736 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2082, allocations: 0 / 0.736 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2082, allocations: 0 / 0.736 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.2082, allocations: 15.83 kB / 0.736 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.2082, allocations: 8 kB / 0.736 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.571e-05/0.2082, allocations: 7.984 kB / 0.736 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.2083, allocations: 15.92 kB / 0.7361 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002083/0.2085, allocations: 180.9 kB / 0.7362 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000258/0.2087, allocations: 282.7 kB / 0.7365 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001122/0.2089, allocations: 23.98 kB / 0.7365 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.462e-05/0.2089, allocations: 101.8 kB / 0.7366 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of Backend: time 3.1e-07/0.2089, allocations: 0 / 0.7366 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008335/0.2098, allocations: 475.7 kB / 0.7371 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0007696/0.2105, allocations: 0.636 MB / 0.7377 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of Templates: time 0.007167/0.2177, allocations: 3.078 MB / 0.7407 GB, free: 4.43 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.028794331010431] Failed to read output from testmodel.py, exit status != 0: 0.2261076730210334 0.24082045600000002 0.03525984 Calling exit ...