Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.001307/0.001307, 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.001604/0.001604, allocations: 214.1 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.485/1.485, allocations: 230.6 MB / 257.6 MB, free: 7.766 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.006/1.006, allocations: 150 MB / 464 MB, free: 10.18 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.002127/0.002127, allocations: 72.86 kB / 0.6425 GB, free: 9.316 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2098, allocations: 89.18 MB / 0.7296 GB, free: 212 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002279/0.2121, allocations: 0.7779 MB / 0.7304 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.2141, allocations: 1.303 MB / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.2142, allocations: 3.938 kB / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.515e-05/0.2142, allocations: 7.875 kB / 0.7317 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.846e-05/0.2143, allocations: 27.72 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009224/0.2153, allocations: 322.5 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.2156, allocations: 291.5 kB / 0.7323 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.2158, allocations: 29.61 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.2159, allocations: 127.7 kB / 0.7324 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.2161, allocations: 91.67 kB / 0.7325 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.2161, allocations: 28 kB / 0.7325 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.362e-05/0.2162, allocations: 35.98 kB / 0.7326 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.2163, allocations: 23.92 kB / 0.7326 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.2164, allocations: 99.67 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.2167, allocations: 263.2 kB / 0.7329 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2167, allocations: 3.938 kB / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2167, allocations: 0 / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2167, allocations: 0 / 0.7329 GB, free: 12.79 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007003/0.2174, allocations: 462.8 kB / 0.7334 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2175, allocations: 8.031 kB / 0.7334 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.2175, allocations: 24.84 kB / 0.7334 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.2177, allocations: 124.1 kB / 0.7335 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.2177, allocations: 20.11 kB / 0.7335 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.2178, allocations: 16 kB / 0.7336 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.2179, allocations: 103.2 kB / 0.7337 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2179, allocations: 0 / 0.7337 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.218, allocations: 4 kB / 0.7337 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.218, allocations: 4 kB / 0.7337 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.2181, allocations: 43.97 kB / 0.7337 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/0.2187, allocations: 380.1 kB / 0.7341 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.219, allocations: 70.61 kB / 0.7341 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.219, allocations: 28.89 kB / 0.7342 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.219, allocations: 4 kB / 0.7342 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.2193, allocations: 115.4 kB / 0.7343 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.2193, allocations: 0 / 0.7343 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.000372/0.2196, allocations: 173.5 kB / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.2197, allocations: 55.41 kB / 0.7345 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.2198, allocations: 159.9 kB / 0.7347 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.2199, allocations: 37.64 kB / 0.7347 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.22, allocations: 116.4 kB / 0.7348 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.22, allocations: 27.84 kB / 0.7348 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.2201, allocations: 73.67 kB / 0.7349 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2203, allocations: 330.8 kB / 0.7352 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.2206, allocations: 189 kB / 0.7354 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.2209, allocations: 231 kB / 0.7356 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.2212, allocations: 247 kB / 0.7358 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2212, allocations: 0 / 0.7358 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007375/0.2219, allocations: 0.4974 MB / 0.7363 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.018e-05/0.222, allocations: 101.1 kB / 0.7364 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.222, allocations: 0 / 0.7364 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.2221, allocations: 7.984 kB / 0.7364 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.682e-05/0.2221, allocations: 8 kB / 0.7364 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2221, allocations: 3.938 kB / 0.7364 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.2226, allocations: 87.98 kB / 0.7365 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.2226, allocations: 19.98 kB / 0.7366 GB, free: 8.75 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.0001694/0.2228, allocations: 141.8 kB / 0.7367 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.2228, allocations: 15.84 kB / 0.7367 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.2229, allocations: 8.781 kB / 0.7367 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2229, allocations: 4 kB / 0.7367 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.2229, allocations: 7.938 kB / 0.7367 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.2229, allocations: 11.95 kB / 0.7367 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.2229, allocations: 3.984 kB / 0.7367 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.147e-05/0.2229, allocations: 4 kB / 0.7367 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.223, allocations: 11.92 kB / 0.7368 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002484/0.2232, allocations: 211.5 kB / 0.737 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000302/0.2235, allocations: 306.7 kB / 0.7372 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.532e-05/0.2236, allocations: 31.98 kB / 0.7373 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001497/0.2238, allocations: 112.7 kB / 0.7374 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of Backend: time 2.6e-07/0.2238, allocations: 0 / 0.7374 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00083/0.2246, allocations: 490.4 kB / 0.7379 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0007634/0.2254, allocations: 0.6872 MB / 0.7385 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of Templates: time 0.007032/0.2324, allocations: 3.299 MB / 0.7417 GB, free: 3.359 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.85423311800696] Failed to read output from testmodel.py, exit status != 0: 0.2415310121141374 0.25687362 0.036889818000000005 Calling exit ...