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.0009638/0.0009638, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.00233, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.001044/0.001044, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002418, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.893/0.893, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07661/0.9696, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6183/0.6183, allocations: 120.1 MB / 364.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05687/0.6752, allocations: 38.16 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.458e-05, allocations: 10.19 kB / 403.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001196/0.001211, allocations: 0.8561 MB / 404.6 MB, free: 10.08 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.002239, allocations: 1.333 MB / 405.9 MB, free: 8.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.002281, allocations: 4 kB / 405.9 MB, free: 8.727 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.002308, allocations: 15.81 kB / 405.9 MB, free: 8.711 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.002353, allocations: 27.78 kB / 406 MB, free: 8.684 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.002775, allocations: 299.3 kB / 406.3 MB, free: 8.391 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.003, allocations: 295.5 kB / 406.5 MB, free: 8.102 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.637e-05/0.003076, allocations: 38.19 kB / 406.6 MB, free: 8.062 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.003217, allocations: 175.7 kB / 406.8 MB, free: 7.891 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.003572, allocations: 95.7 kB / 406.8 MB, free: 7.797 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.003604, allocations: 27.94 kB / 406.9 MB, free: 7.77 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.003681, allocations: 32 kB / 406.9 MB, free: 7.738 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.003705, allocations: 19.92 kB / 406.9 MB, free: 7.719 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.783e-05/0.003763, allocations: 59.94 kB / 407 MB, free: 7.66 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.003939, allocations: 175.5 kB / 407.2 MB, free: 7.488 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.003949, allocations: 0 / 407.2 MB, free: 7.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003949, allocations: 0 / 407.2 MB, free: 7.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.003959, allocations: 0 / 407.2 MB, free: 7.488 MB / 394.7 MB 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.0004217/0.00438, allocations: 465.1 kB / 407.6 MB, free: 6.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.004407, allocations: 12.03 kB / 407.6 MB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.004452, allocations: 28.91 kB / 407.6 MB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.004596, allocations: 150.1 kB / 407.8 MB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.004614, allocations: 12.38 kB / 407.8 MB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.004643, allocations: 20.36 kB / 407.8 MB, free: 6.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.05e-05/0.004733, allocations: 90.23 kB / 407.9 MB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.00474, allocations: 3.984 kB / 407.9 MB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.004749, allocations: 8 kB / 407.9 MB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.004754, allocations: 0 / 407.9 MB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.764e-05/0.004781, allocations: 27.92 kB / 408 MB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.005062, allocations: 255.9 kB / 408.2 MB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.00517, allocations: 42.55 kB / 408.2 MB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.005187, allocations: 12.86 kB / 408.3 MB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.005193, allocations: 4 kB / 408.3 MB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.809e-05/0.005291, allocations: 95.48 kB / 408.4 MB, free: 6.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 8.42e-07/0.005292, allocations: 0 / 408.4 MB, free: 6.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001361/0.005428, allocations: 113.6 kB / 408.5 MB, free: 6.055 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.005454, allocations: 59.39 kB / 408.5 MB, free: 5.984 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.753e-05/0.005521, allocations: 162.4 kB / 408.7 MB, free: 5.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.005545, allocations: 37.69 kB / 408.7 MB, free: 5.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.005589, allocations: 108.5 kB / 408.8 MB, free: 5.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.005608, allocations: 27.78 kB / 408.9 MB, free: 5.633 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/0.005677, allocations: 69.64 kB / 408.9 MB, free: 5.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.005739, allocations: 326.8 kB / 409.2 MB, free: 5.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.943e-05/0.005839, allocations: 149.1 kB / 409.4 MB, free: 5.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.005946, allocations: 207 kB / 409.6 MB, free: 4.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.006072, allocations: 223 kB / 409.8 MB, free: 4.566 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.006074, allocations: 0 / 409.8 MB, free: 4.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000247/0.006321, allocations: 391.6 kB / 410.2 MB, free: 4.141 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.006367, allocations: 101.1 kB / 410.3 MB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.006371, allocations: 0 / 410.3 MB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.006383, allocations: 8.125 kB / 410.3 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.715e-05/0.00642, allocations: 20 kB / 410.3 MB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.006423, allocations: 0 / 410.3 MB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.006581, allocations: 63.83 kB / 410.4 MB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.006603, allocations: 19.98 kB / 410.4 MB, free: 3.914 MB / 394.7 MB 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 6.65e-05/0.006669, allocations: 129.8 kB / 410.5 MB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.00668, allocations: 12 kB / 410.5 MB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.006702, allocations: 20.77 kB / 410.6 MB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.006704, allocations: 3.938 kB / 410.6 MB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.006706, allocations: 4 kB / 410.6 MB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006709, allocations: 0 / 410.6 MB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.462e-05/0.006783, allocations: 97.84 kB / 410.7 MB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006784, allocations: 0 / 410.7 MB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.006806, allocations: 15.94 kB / 410.7 MB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.006816, allocations: 15.84 kB / 410.7 MB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006818, allocations: 7.938 kB / 410.7 MB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.006824, allocations: 3.984 kB / 410.7 MB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.006824, allocations: 4 kB / 410.7 MB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006826, allocations: 3.938 kB / 410.7 MB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.959e-05/0.006905, allocations: 113.1 kB / 410.8 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.006915, allocations: 0 / 410.8 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.523e-05/0.00693, allocations: 7.984 kB / 410.8 MB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.141e-05/0.006952, allocations: 7.984 kB / 410.8 MB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.006957, allocations: 7.938 kB / 410.8 MB, free: 3.418 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.039e-05/0.006977, allocations: 29.58 kB / 410.9 MB, free: 3.387 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006977, allocations: 0 / 410.9 MB, free: 3.387 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.007118, allocations: 51.98 kB / 410.9 MB, free: 3.336 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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 8.559e-05/0.007203, allocations: 96.3 kB / 411 MB, free: 3.234 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.007432, allocations: 392 kB / 411.4 MB, free: 2.793 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.007437, allocations: 4 kB / 411.4 MB, free: 2.789 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.535e-05/0.007472, allocations: 45.39 kB / 411.4 MB, free: 2.742 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.007627, allocations: 194.8 kB / 411.6 MB, free: 2.516 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.008041, allocations: 237.1 kB / 411.9 MB, free: 2.258 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.024e-05/0.008072, allocations: 67.34 kB / 411.9 MB, free: 2.172 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.725e-05/0.008099, allocations: 16.95 kB / 411.9 MB, free: 2.156 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.008216, allocations: 95.33 kB / 412 MB, free: 2.062 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.008217, allocations: 0 / 412 MB, free: 2.062 MB / 394.7 MB Notification: Performance of Templates: time 0.004074/0.01229, allocations: 3.316 MB / 415.4 MB, free: 14.73 MB / 410.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0634554736316204]