Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.001571/0.001571, allocations: 103.7 kB / 20.5 MB, free: 1.34 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.002279/0.002279, allocations: 215.7 kB / 23.8 MB, free: 4.484 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.622/1.622, allocations: 230.6 MB / 257.6 MB, free: 7.734 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 1.002/1.002, allocations: 150 MB / 464 MB, free: 10.23 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.002159/0.002159, allocations: 68.41 kB / 0.6426 GB, free: 9.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2038, allocations: 89.17 MB / 0.7296 GB, free: 244 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002161/0.2059, allocations: 0.763 MB / 0.7304 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.2084, allocations: 1.163 MB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.677e-05/0.2085, allocations: 4 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.862e-05/0.2086, allocations: 3.938 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.2087, allocations: 15.86 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006758/0.2093, allocations: 143.7 kB / 0.7317 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.2096, allocations: 127.8 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2097, allocations: 7.984 kB / 0.7318 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2098, allocations: 55.89 kB / 0.7319 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.2099, allocations: 51.81 kB / 0.7319 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.21, allocations: 12 kB / 0.7319 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.531e-05/0.21, allocations: 16 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.2101, allocations: 19.92 kB / 0.732 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.482e-05/0.2102, allocations: 39.89 kB / 0.732 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.2104, allocations: 123.5 kB / 0.7321 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2104, allocations: 0 / 0.7321 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2104, allocations: 0 / 0.7321 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.2104, allocations: 0 / 0.7321 GB, free: 13.7 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.0007677/0.2112, allocations: 351.7 kB / 0.7324 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.2112, allocations: 8.031 kB / 0.7325 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.2113, allocations: 8.922 kB / 0.7325 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.2114, allocations: 122.4 kB / 0.7326 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.2114, allocations: 4.359 kB / 0.7326 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.2115, allocations: 8.375 kB / 0.7326 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.2118, allocations: 82.12 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2119, allocations: 192 / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.2119, allocations: 7.938 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2119, allocations: 7.938 kB / 0.7327 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.2122, allocations: 67.92 kB / 0.7327 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.2127, allocations: 252.5 kB / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.2129, allocations: 58.47 kB / 0.733 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.213, allocations: 44.86 kB / 0.7331 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.2131, allocations: 3.938 kB / 0.7331 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.2134, allocations: 95.34 kB / 0.7332 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.2134, allocations: 0 / 0.7332 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.000646/0.214, allocations: 165.7 kB / 0.7333 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.2141, allocations: 51.41 kB / 0.7334 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.2142, allocations: 129.9 kB / 0.7335 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.2142, allocations: 33.7 kB / 0.7335 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.2143, allocations: 92.09 kB / 0.7336 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.2143, allocations: 15.89 kB / 0.7336 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.2144, allocations: 33.7 kB / 0.7337 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.2146, allocations: 318.8 kB / 0.734 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.2149, allocations: 93.66 kB / 0.7341 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.2152, allocations: 112.3 kB / 0.7342 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.2156, allocations: 152.2 kB / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2156, allocations: 0 / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000602/0.2162, allocations: 244.8 kB / 0.7346 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.2162, allocations: 43.88 kB / 0.7346 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2162, allocations: 0 / 0.7346 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.2162, allocations: 4 kB / 0.7346 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.2164, allocations: 15.98 kB / 0.7346 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2164, allocations: 0 / 0.7346 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.2166, allocations: 40.02 kB / 0.7347 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.2166, allocations: 7.984 kB / 0.7347 GB, free: 10.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.000138/0.2168, allocations: 121.7 kB / 0.7348 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.2168, allocations: 11.95 kB / 0.7348 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.2168, allocations: 8.375 kB / 0.7348 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2168, allocations: 0 / 0.7348 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2168, allocations: 0 / 0.7348 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.2169, allocations: 11.88 kB / 0.7348 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.2169, allocations: 15.94 kB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.217, allocations: 7.984 kB / 0.7348 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.217, allocations: 11.92 kB / 0.7348 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004956/0.2175, allocations: 208.9 kB / 0.735 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000532/0.2181, allocations: 294.7 kB / 0.7353 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001934/0.2183, allocations: 43.89 kB / 0.7354 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.18e-05/0.2183, allocations: 99.02 kB / 0.7355 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of Backend: time 4.31e-07/0.2183, allocations: 0 / 0.7355 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009054/0.2193, allocations: 243.5 kB / 0.7357 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0008304/0.2201, allocations: 0.6125 MB / 0.7363 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of Templates: time 0.005809/0.2259, allocations: 2.004 MB / 0.7382 GB, free: 7.098 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.054551018867642] Failed to read output from testmodel.py, exit status != 0: 0.2343738190829754 0.250534042 0.036871072000000005 Calling exit ...