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.001298/0.001298, allocations: 72.95 kB / 20.72 MB, free: 3.762 MB / 18.57 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.001554/0.001554, allocations: 173 kB / 24.15 MB, free: 348 kB / 18.57 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.033/1.033, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.6411/0.6411, allocations: 115 MB / 376 MB, free: 7.496 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 428.8 MB, free: 2.746 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.912e-05, allocations: 2.312 kB / 428.8 MB, free: 2.742 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002342/0.002371, allocations: 0.731 MB / 429.5 MB, free: 2.012 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.004206, allocations: 1.318 MB / 430.8 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.004273, allocations: 4 kB / 430.8 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.004306, allocations: 3.938 kB / 430.8 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.004411, allocations: 19.78 kB / 430.8 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.005289, allocations: 307.3 kB / 431.1 MB, free: 360 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.005671, allocations: 255.5 kB / 431.4 MB, free: 104 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.75e-05/0.005758, allocations: 12.12 kB / 431.4 MB, free: 88 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.005988, allocations: 143.8 kB / 431.6 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.006152, allocations: 71.86 kB / 431.6 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.006198, allocations: 27.94 kB / 431.6 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.006302, allocations: 35.98 kB / 431.7 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.006327, allocations: 11.98 kB / 431.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.006428, allocations: 71.88 kB / 431.8 MB, free: 15.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.006755, allocations: 203.5 kB / 432 MB, free: 15.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.006758, allocations: 0 / 432 MB, free: 15.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006759, allocations: 0 / 432 MB, free: 15.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.006765, allocations: 0 / 432 MB, free: 15.53 MB / 410.7 MB 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.0004909/0.007256, allocations: 385.7 kB / 432.3 MB, free: 15.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.007294, allocations: 8.031 kB / 432.3 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.00736, allocations: 24.91 kB / 432.4 MB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.007518, allocations: 117.6 kB / 432.5 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.007544, allocations: 8.375 kB / 432.5 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.007579, allocations: 12.38 kB / 432.5 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.007685, allocations: 70.91 kB / 432.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.007693, allocations: 4.188 kB / 432.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.0077, allocations: 384 / 432.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.007707, allocations: 4.125 kB / 432.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.46e-05/0.007732, allocations: 8 kB / 432.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.008103, allocations: 212.2 kB / 432.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.854e-05/0.008152, allocations: 26.62 kB / 432.8 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.008172, allocations: 12.86 kB / 432.8 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.008178, allocations: 0 / 432.8 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.008307, allocations: 91.38 kB / 432.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 3.537e-06/0.008311, allocations: 4 kB / 432.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001886/0.008499, allocations: 97.52 kB / 433 MB, free: 14.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.00854, allocations: 55.41 kB / 433.1 MB, free: 14.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.008648, allocations: 138.6 kB / 433.2 MB, free: 14.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.008687, allocations: 33.7 kB / 433.3 MB, free: 14.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.008752, allocations: 108 kB / 433.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.008776, allocations: 23.78 kB / 433.4 MB, free: 13.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.00889, allocations: 61.66 kB / 433.4 MB, free: 13.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.008988, allocations: 322.8 kB / 433.8 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.009145, allocations: 141.1 kB / 433.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.009329, allocations: 199 kB / 434.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.009545, allocations: 206.9 kB / 434.3 MB, free: 12.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.009548, allocations: 0 / 434.3 MB, free: 12.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004917/0.01004, allocations: 367.7 kB / 434.6 MB, free: 12.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.376e-05/0.01011, allocations: 113.2 kB / 434.8 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.01012, allocations: 0 / 434.8 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.01014, allocations: 4 kB / 434.8 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.508e-05/0.01016, allocations: 4 kB / 434.8 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.01017, allocations: 4 kB / 434.8 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.01044, allocations: 55.89 kB / 434.8 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.01048, allocations: 19.98 kB / 434.8 MB, free: 12.32 MB / 410.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: 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 9.611e-05/0.01058, allocations: 129.7 kB / 435 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.0106, allocations: 11.98 kB / 435 MB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.01063, allocations: 12.38 kB / 435 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01063, allocations: 4 kB / 435 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01064, allocations: 0 / 435 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.01064, allocations: 0 / 435 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.01075, allocations: 85.86 kB / 435.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01075, allocations: 0 / 435.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/0.01076, allocations: 7.984 kB / 435.1 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01077, allocations: 0 / 435.1 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.01077, allocations: 7.984 kB / 435.1 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01077, allocations: 0 / 435.1 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.01078, allocations: 7.938 kB / 435.1 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.0109, allocations: 93.03 kB / 435.2 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.01091, allocations: 3.953 kB / 435.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.01092, allocations: 8 kB / 435.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.623e-05/0.01095, allocations: 7.984 kB / 435.2 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.01098, allocations: 15.92 kB / 435.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.01099, allocations: 0 / 435.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.832e-05/0.01102, allocations: 28.77 kB / 435.3 MB, free: 11.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01102, allocations: 0 / 435.3 MB, free: 11.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.01126, allocations: 48 kB / 435.3 MB, free: 11.8 MB / 410.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: 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.000143/0.0114, allocations: 95.89 kB / 435.4 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.01175, allocations: 376 kB / 435.8 MB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.01176, allocations: 4 kB / 435.8 MB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.0118, allocations: 29.25 kB / 435.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.01198, allocations: 32.47 kB / 435.8 MB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.01232, allocations: 177.1 kB / 436 MB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.953e-05/0.01236, allocations: 63.34 kB / 436.1 MB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.454e-05/0.01239, allocations: 12.48 kB / 436.1 MB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.01256, allocations: 83.34 kB / 436.2 MB, free: 10.83 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01257, allocations: 3.938 kB / 436.2 MB, free: 10.83 MB / 410.7 MB Notification: Performance of Templates: time 0.006577/0.01914, allocations: 3.152 MB / 439.3 MB, free: 7.691 MB / 410.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5416543898172677]