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.0006644/0.0006644, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000883/0.001547, 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.0006809/0.0006809, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008569/0.001538, 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.8834/0.8834, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08532/0.9687, 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.5839/0.5839, allocations: 120.1 MB / 364.2 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06152/0.6454, allocations: 38.16 MB / 402.4 MB, free: 12.24 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.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 1.793e-06/1.793e-06, allocations: 0 / 403.7 MB, free: 10.92 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.204e-05, allocations: 2.312 kB / 403.7 MB, free: 10.92 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001974/0.001996, allocations: 0.7271 MB / 404.5 MB, free: 10.19 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.00343, allocations: 1.318 MB / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.003468, allocations: 0 / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.00349, allocations: 11.86 kB / 405.8 MB, free: 8.844 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.003533, allocations: 15.86 kB / 405.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.004005, allocations: 295.3 kB / 406.1 MB, free: 8.539 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.004227, allocations: 259.6 kB / 406.3 MB, free: 8.285 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.788e-05/0.004294, allocations: 16.16 kB / 406.4 MB, free: 8.266 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.004429, allocations: 147.8 kB / 406.5 MB, free: 8.121 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.004537, allocations: 75.81 kB / 406.6 MB, free: 8.047 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.00457, allocations: 23.94 kB / 406.6 MB, free: 8.023 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.00465, allocations: 39.92 kB / 406.6 MB, free: 7.984 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.004672, allocations: 8 kB / 406.6 MB, free: 7.977 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.816e-05/0.004731, allocations: 59.91 kB / 406.7 MB, free: 7.918 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.004898, allocations: 147.7 kB / 406.9 MB, free: 7.773 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.004907, allocations: 0 / 406.9 MB, free: 7.773 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004908, allocations: 0 / 406.9 MB, free: 7.773 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.004917, allocations: 0 / 406.9 MB, free: 7.773 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004223/0.005339, allocations: 413.4 kB / 407.3 MB, free: 7.328 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.005371, allocations: 8.031 kB / 407.3 MB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.005414, allocations: 20.91 kB / 407.3 MB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.985e-05/0.005504, allocations: 121.7 kB / 407.4 MB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.005523, allocations: 4.375 kB / 407.4 MB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.005553, allocations: 20.38 kB / 407.4 MB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.342e-05/0.005636, allocations: 62.86 kB / 407.5 MB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.005643, allocations: 4.188 kB / 407.5 MB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.00565, allocations: 4.375 kB / 407.5 MB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.005659, allocations: 12.11 kB / 407.5 MB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.746e-05/0.005676, allocations: 7.984 kB / 407.5 MB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.005984, allocations: 200.2 kB / 407.7 MB, free: 6.824 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.022e-05/0.006024, allocations: 26.52 kB / 407.7 MB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.00604, allocations: 16.8 kB / 407.8 MB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.006046, allocations: 4.078 kB / 407.8 MB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.006152, allocations: 87.41 kB / 407.8 MB, free: 6.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.006153, allocations: 4 kB / 407.8 MB, free: 6.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.00014/0.006294, allocations: 93.53 kB / 407.9 MB, free: 6.566 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.006323, allocations: 63.33 kB / 408 MB, free: 6.492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.006392, allocations: 134.6 kB / 408.1 MB, free: 6.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.006418, allocations: 33.7 kB / 408.2 MB, free: 6.309 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.006465, allocations: 100.1 kB / 408.3 MB, free: 6.207 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.006483, allocations: 23.83 kB / 408.3 MB, free: 6.184 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.006553, allocations: 65.62 kB / 408.3 MB, free: 6.113 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.255e-05/0.006626, allocations: 318.8 kB / 408.7 MB, free: 5.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.78e-05/0.006724, allocations: 145.1 kB / 408.8 MB, free: 5.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.006834, allocations: 195 kB / 409 MB, free: 5.402 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.006966, allocations: 218.9 kB / 409.2 MB, free: 5.148 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.006968, allocations: 0 / 409.2 MB, free: 5.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002584/0.007227, allocations: 379.8 kB / 409.6 MB, free: 4.734 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.00728, allocations: 109 kB / 409.7 MB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.007284, allocations: 0 / 409.7 MB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.007294, allocations: 4 kB / 409.7 MB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.099e-05/0.007315, allocations: 7.938 kB / 409.7 MB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.007318, allocations: 0 / 409.7 MB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.007507, allocations: 63.89 kB / 409.8 MB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.007528, allocations: 11.98 kB / 409.8 MB, free: 4.523 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: 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 7.442e-05/0.007603, allocations: 129.8 kB / 409.9 MB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.007616, allocations: 15.98 kB / 409.9 MB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.007638, allocations: 8.375 kB / 409.9 MB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.007639, allocations: 0 / 409.9 MB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.007643, allocations: 4 kB / 409.9 MB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.007647, allocations: 0 / 409.9 MB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.94e-05/0.007716, allocations: 85.81 kB / 410 MB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007717, allocations: 0 / 410 MB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-06/0.007725, allocations: 7.984 kB / 410 MB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.007736, allocations: 15.94 kB / 410 MB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.007739, allocations: 8 kB / 410 MB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.007744, allocations: 7.875 kB / 410 MB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.007745, allocations: 0 / 410 MB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007746, allocations: 0 / 410 MB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.112e-05/0.007827, allocations: 97.03 kB / 410.1 MB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.007838, allocations: 4 kB / 410.1 MB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.007853, allocations: 3.984 kB / 410.1 MB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.007878, allocations: 15.92 kB / 410.2 MB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.007882, allocations: 0 / 410.2 MB, free: 4.082 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.561e-05/0.007908, allocations: 29.33 kB / 410.2 MB, free: 4.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007908, allocations: 0 / 410.2 MB, free: 4.051 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001549/0.008062, allocations: 47.95 kB / 410.2 MB, free: 4.004 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: 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.0001011/0.008164, allocations: 88.41 kB / 410.3 MB, free: 3.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002566/0.00842, allocations: 380 kB / 410.7 MB, free: 3.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.008424, allocations: 0 / 410.7 MB, free: 3.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.514e-05/0.008459, allocations: 36.77 kB / 410.7 MB, free: 3.441 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.008641, allocations: 199.4 kB / 410.9 MB, free: 3.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.009049, allocations: 173.1 kB / 411.1 MB, free: 3.012 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.906e-05/0.009079, allocations: 63.34 kB / 411.2 MB, free: 2.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.265e-05/0.009101, allocations: 4.5 kB / 411.2 MB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.009222, allocations: 99.31 kB / 411.3 MB, free: 2.828 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009222, allocations: 0 / 411.3 MB, free: 2.828 MB / 394.7 MB Notification: Performance of Templates: time 0.003874/0.0131, allocations: 3.218 MB / 414.5 MB, free: 15.59 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9295397894456983]