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.001558/0.001558, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00156/0.00156, allocations: 214.3 kB / 22.99 MB, free: 4.977 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.011/1.011, allocations: 149.9 MB / 463 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.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.002133/0.002133, allocations: 68.47 kB / 0.6416 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2218, allocations: 89.16 MB / 0.7286 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002151/0.224, allocations: 0.6762 MB / 0.7293 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.2259, allocations: 1.28 MB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.2259, allocations: 0 / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.226, allocations: 7.875 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.611e-05/0.2261, allocations: 23.84 kB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000932/0.227, allocations: 307.9 kB / 0.7309 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.2274, allocations: 247.7 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2275, allocations: 16.17 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.2276, allocations: 107.7 kB / 0.7312 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.2278, allocations: 75.81 kB / 0.7313 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.694e-05/0.2278, allocations: 24 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-05/0.2279, allocations: 35.98 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.228, allocations: 15.92 kB / 0.7314 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.2281, allocations: 79.81 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.2284, allocations: 223.3 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.2284, allocations: 8 kB / 0.7317 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2284, allocations: 0 / 0.7317 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.2284, allocations: 0 / 0.7317 GB, free: 13.4 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.0006526/0.229, allocations: 415.1 kB / 0.7321 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.2291, allocations: 12.03 kB / 0.7321 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.2291, allocations: 12.89 kB / 0.7321 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.2293, allocations: 126.4 kB / 0.7322 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.2293, allocations: 4.375 kB / 0.7322 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.2293, allocations: 20.38 kB / 0.7322 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.2295, allocations: 54.23 kB / 0.7323 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2295, allocations: 11.88 kB / 0.7323 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.2295, allocations: 0 / 0.7323 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.2295, allocations: 0 / 0.7323 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.322e-05/0.2295, allocations: 19.98 kB / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.2301, allocations: 328.2 kB / 0.7326 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.426e-05/0.2302, allocations: 34.52 kB / 0.7327 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.2302, allocations: 24.92 kB / 0.7327 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.2302, allocations: 0 / 0.7327 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.2305, allocations: 107.2 kB / 0.7328 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.2305, allocations: 0 / 0.7328 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003415/0.2308, allocations: 145.5 kB / 0.7329 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.2309, allocations: 55.41 kB / 0.733 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.231, allocations: 132.8 kB / 0.7331 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-05/0.2311, allocations: 29.7 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.2311, allocations: 104.1 kB / 0.7332 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.2312, allocations: 23.92 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.2313, allocations: 65.67 kB / 0.7333 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002362/0.2315, allocations: 322.8 kB / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.2318, allocations: 177 kB / 0.7338 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.2321, allocations: 228.5 kB / 0.734 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.2324, allocations: 238.9 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2324, allocations: 4 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006622/0.2331, allocations: 469.5 kB / 0.7347 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.772e-05/0.2332, allocations: 107.8 kB / 0.7348 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2332, allocations: 0 / 0.7348 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2332, allocations: 4 kB / 0.7348 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.563e-05/0.2332, allocations: 7.938 kB / 0.7348 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2332, allocations: 0 / 0.7348 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.2337, allocations: 84.16 kB / 0.7349 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.2337, allocations: 23.98 kB / 0.7349 GB, free: 9.742 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.0001269/0.2338, allocations: 133 kB / 0.735 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.2339, allocations: 7.953 kB / 0.735 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.2339, allocations: 12.31 kB / 0.735 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2339, allocations: 0 / 0.735 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2339, allocations: 3.938 kB / 0.735 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2339, allocations: 7.984 kB / 0.7351 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.234, allocations: 129.2 kB / 0.7352 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.234, allocations: 0 / 0.7352 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.234, allocations: 11.98 kB / 0.7352 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.234, allocations: 0 / 0.7352 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.234, allocations: 3.938 kB / 0.7352 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.234, allocations: 0 / 0.7352 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.234, allocations: 4 kB / 0.7352 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.2342, allocations: 144.9 kB / 0.7353 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.2343, allocations: 11.89 kB / 0.7353 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.2343, allocations: 0 / 0.7353 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.384e-05/0.2343, allocations: 4 kB / 0.7354 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.2343, allocations: 7.984 kB / 0.7354 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.2343, allocations: 4 kB / 0.7354 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.341e-05/0.2344, allocations: 107.2 kB / 0.7355 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2344, allocations: 0 / 0.7355 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002588/0.2347, allocations: 44 kB / 0.7355 GB, free: 9.062 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001569/0.2348, allocations: 97.66 kB / 0.7356 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005348/0.2354, allocations: 415.1 kB / 0.736 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2354, allocations: 0 / 0.736 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.008e-05/0.2354, allocations: 35.92 kB / 0.736 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.2357, allocations: 42.47 kB / 0.7361 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.2362, allocations: 183 kB / 0.7362 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.611e-05/0.2363, allocations: 83.88 kB / 0.7363 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.476e-05/0.2363, allocations: 4.438 kB / 0.7363 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.2363, allocations: 15.44 kB / 0.7363 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2363, allocations: 4 kB / 0.7363 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of Templates: time 0.00729/0.2436, allocations: 2.969 MB / 0.7392 GB, free: 5.184 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.086333772167563] Failed to read output from testmodel.py, exit status != 0: 0.2528787162154913 0.268221728 0.036698463 Calling exit ...