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.000939/0.000939, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001006/0.001006, allocations: 169 kB / 24.14 MB, free: 360 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 0.9726/0.9726, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.6107/0.6107, allocations: 115 MB / 376 MB, free: 7.508 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.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.623e-06/1.623e-06, allocations: 0 / 428.7 MB, free: 2.805 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.206e-05, allocations: 2.312 kB / 428.7 MB, free: 2.801 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001385/0.001407, allocations: 0.8052 MB / 429.5 MB, free: 1.996 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.002752, allocations: 1.341 MB / 430.9 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.0028, allocations: 8 kB / 430.9 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.002832, allocations: 7.875 kB / 430.9 MB, free: 0.625 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.364e-05/0.002916, allocations: 27.72 kB / 430.9 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.003435, allocations: 311.2 kB / 431.2 MB, free: 300 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.003659, allocations: 291.5 kB / 431.5 MB, free: 8 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.77e-05/0.003757, allocations: 42.19 kB / 431.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.003911, allocations: 163.8 kB / 431.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.004028, allocations: 79.8 kB / 431.8 MB, free: 15.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.004063, allocations: 28 kB / 431.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.5e-05/0.004128, allocations: 43.91 kB / 431.9 MB, free: 15.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.004152, allocations: 19.92 kB / 431.9 MB, free: 15.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.004222, allocations: 91.84 kB / 432 MB, free: 15.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.004423, allocations: 223.3 kB / 432.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004425, allocations: 0 / 432.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.004426, allocations: 0 / 432.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.217e-06/0.004429, allocations: 4 kB / 432.2 MB, free: 15.32 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003858/0.004815, allocations: 421.5 kB / 432.6 MB, free: 14.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.004849, allocations: 12.03 kB / 432.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.004895, allocations: 24.91 kB / 432.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.00505, allocations: 154.1 kB / 432.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.005069, allocations: 12.38 kB / 432.8 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.005099, allocations: 20.38 kB / 432.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.054e-05/0.005189, allocations: 89.89 kB / 432.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.005195, allocations: 0 / 432.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.005204, allocations: 7.922 kB / 432.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.005208, allocations: 0 / 432.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.154e-05/0.005239, allocations: 27.94 kB / 432.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.005542, allocations: 263.9 kB / 433.2 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.005658, allocations: 46.56 kB / 433.2 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.005678, allocations: 16.83 kB / 433.3 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.982e-06/0.005684, allocations: 4 kB / 433.3 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.586e-05/0.00578, allocations: 99.27 kB / 433.4 MB, free: 14.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.005781, allocations: 0 / 433.4 MB, free: 14.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004244/0.006205, allocations: 109.6 kB / 433.5 MB, free: 13.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.006236, allocations: 67.34 kB / 433.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.006312, allocations: 158.6 kB / 433.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.006336, allocations: 33.7 kB / 433.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.006384, allocations: 112.5 kB / 433.8 MB, free: 13.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.006402, allocations: 27.78 kB / 433.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.509e-05/0.006477, allocations: 73.62 kB / 433.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.827e-05/0.006545, allocations: 322.8 kB / 434.2 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.006649, allocations: 149 kB / 434.4 MB, free: 12.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.006764, allocations: 202.7 kB / 434.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.006905, allocations: 218.9 kB / 434.8 MB, free: 12.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.006908, allocations: 0 / 434.8 MB, free: 12.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002736/0.007181, allocations: 382.9 kB / 435.2 MB, free: 12.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.007229, allocations: 97.09 kB / 435.3 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.007235, allocations: 3.984 kB / 435.3 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.007247, allocations: 12.12 kB / 435.3 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.819e-05/0.007285, allocations: 11.94 kB / 435.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.007289, allocations: 4 kB / 435.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.007466, allocations: 63.83 kB / 435.4 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.007489, allocations: 19.98 kB / 435.4 MB, free: 11.79 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: 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 7.591e-05/0.007565, allocations: 129.8 kB / 435.5 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.007579, allocations: 15.98 kB / 435.5 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.007602, allocations: 12.78 kB / 435.5 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.007607, allocations: 7.938 kB / 435.5 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.007609, allocations: 0 / 435.5 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.007613, allocations: 3.984 kB / 435.5 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.986e-05/0.007693, allocations: 93.8 kB / 435.6 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.007694, allocations: 0 / 435.6 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.007722, allocations: 15.98 kB / 435.7 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.007724, allocations: 0 / 435.7 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.00773, allocations: 4 kB / 435.7 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.007731, allocations: 0 / 435.7 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007732, allocations: 4 kB / 435.7 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.571e-05/0.007827, allocations: 113 kB / 435.8 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.007839, allocations: 15.89 kB / 435.8 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.00785, allocations: 4 kB / 435.8 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.51e-05/0.007865, allocations: 0 / 435.8 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.00789, allocations: 11.98 kB / 435.8 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.007897, allocations: 11.92 kB / 435.8 MB, free: 11.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.257e-05/0.00792, allocations: 32.77 kB / 435.8 MB, free: 11.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00792, allocations: 0 / 435.8 MB, free: 11.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.008065, allocations: 48 kB / 435.9 MB, free: 11.23 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: 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 0.0001084/0.008174, allocations: 92.34 kB / 436 MB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002552/0.008429, allocations: 396 kB / 436.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.008433, allocations: 4 kB / 436.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.349e-05/0.008467, allocations: 36.78 kB / 436.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.008594, allocations: 36.34 kB / 436.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.008877, allocations: 233.2 kB / 436.7 MB, free: 10.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.148e-05/0.008909, allocations: 67.34 kB / 436.7 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.744e-05/0.008936, allocations: 12.97 kB / 436.8 MB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.009056, allocations: 91.33 kB / 436.8 MB, free: 10.16 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009056, allocations: 0 / 436.8 MB, free: 10.16 MB / 410.7 MB Notification: Performance of Templates: time 0.004773/0.01383, allocations: 3.266 MB / 440.1 MB, free: 6.914 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.5943959038704634]