Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009147/0.0009147, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009482/0.0009482, allocations: 161 kB / 24.17 MB, free: 328 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.9965/0.9965, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.996/1.996, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.517e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.00184/0.001865, allocations: 0.8286 MB / 0.776 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003081, allocations: 1.337 MB / 0.7773 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.003133, allocations: 0.9062 kB / 0.7773 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.003166, allocations: 15.8 kB / 0.7773 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.001e-05/0.003256, allocations: 19.89 kB / 0.7773 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005699/0.003826, allocations: 310.5 kB / 0.7776 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.004071, allocations: 310.3 kB / 0.7779 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/0.004162, allocations: 38.12 kB / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.00431, allocations: 163.8 kB / 0.7781 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.004437, allocations: 91.77 kB / 0.7782 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.004471, allocations: 24 kB / 0.7782 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.267e-05/0.004534, allocations: 36 kB / 0.7782 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.155e-05/0.004565, allocations: 19.91 kB / 0.7783 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.887e-05/0.004634, allocations: 87.86 kB / 0.7783 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.004832, allocations: 220.1 kB / 0.7786 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.004836, allocations: 4 kB / 0.7786 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.322e-06/0.004837, allocations: 0.7188 kB / 0.7786 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.004841, allocations: 0 / 0.7786 GB, free: 1.953 MB / 0.7292 GB 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.0004361/0.005277, allocations: 440.6 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.005308, allocations: 9.344 kB / 0.779 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.005357, allocations: 28.89 kB / 0.779 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.005533, allocations: 143 kB / 0.7792 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.005555, allocations: 16.38 kB / 0.7792 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.005586, allocations: 20.36 kB / 0.7792 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.372e-05/0.00568, allocations: 91.27 kB / 0.7793 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.005686, allocations: 3.938 kB / 0.7793 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.005695, allocations: 7.469 kB / 0.7793 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.005701, allocations: 4 kB / 0.7793 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.865e-05/0.00573, allocations: 22.22 kB / 0.7793 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.006027, allocations: 255.9 kB / 0.7796 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.006141, allocations: 50.53 kB / 0.7796 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.00616, allocations: 12.86 kB / 0.7796 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-06/0.006166, allocations: 0 / 0.7796 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.623e-05/0.006262, allocations: 107.4 kB / 0.7797 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 8.31e-07/0.006263, allocations: 1.062 kB / 0.7797 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0001382/0.006401, allocations: 97.64 kB / 0.7798 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.006431, allocations: 60.31 kB / 0.7799 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.169e-05/0.006513, allocations: 160.5 kB / 0.78 GB, free: 332 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.006539, allocations: 37.7 kB / 0.7801 GB, free: 288 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.006588, allocations: 109.1 kB / 0.7802 GB, free: 176 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.006606, allocations: 28.28 kB / 0.7802 GB, free: 148 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.258e-05/0.006679, allocations: 73.64 kB / 0.7803 GB, free: 68 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.272e-05/0.006761, allocations: 327.8 kB / 0.7806 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.66e-05/0.006858, allocations: 144.9 kB / 0.7807 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.00697, allocations: 202.3 kB / 0.7809 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.007101, allocations: 217.2 kB / 0.7811 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.007103, allocations: 0 / 0.7811 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002514/0.007355, allocations: 385.2 kB / 0.7815 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.007396, allocations: 97.09 kB / 0.7816 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007401, allocations: 0 / 0.7816 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.007413, allocations: 7.938 kB / 0.7816 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.736e-05/0.00745, allocations: 8 kB / 0.7816 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.007456, allocations: 13.52 kB / 0.7816 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.007625, allocations: 68.66 kB / 0.7817 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.007647, allocations: 15.98 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB 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.152e-05/0.007718, allocations: 126.7 kB / 0.7818 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.00773, allocations: 12.55 kB / 0.7818 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.192e-05/0.007752, allocations: 17.59 kB / 0.7818 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.007755, allocations: 3.938 kB / 0.7818 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007756, allocations: 1.062 kB / 0.7818 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.007759, allocations: 3.938 kB / 0.7818 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.633e-05/0.007836, allocations: 101.8 kB / 0.7819 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.007838, allocations: 5.469 kB / 0.7819 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.007857, allocations: 11.94 kB / 0.782 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.00786, allocations: 4 kB / 0.782 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.007864, allocations: 0 / 0.782 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.007866, allocations: 5.109 kB / 0.782 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.007866, allocations: 0 / 0.782 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.174e-05/0.007948, allocations: 115.3 kB / 0.7821 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-06/0.007957, allocations: 12.97 kB / 0.7821 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.007968, allocations: 0 / 0.7821 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.583e-05/0.007984, allocations: 3.984 kB / 0.7821 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.008008, allocations: 12.48 kB / 0.7821 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.008015, allocations: 12.7 kB / 0.7821 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.317e-05/0.008038, allocations: 34.83 kB / 0.7821 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008038, allocations: 1 kB / 0.7821 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000149/0.008187, allocations: 51.98 kB / 0.7822 GB, free: 13.89 MB / 0.7448 GB 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.0001052/0.008292, allocations: 90.45 kB / 0.7823 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.008548, allocations: 393.3 kB / 0.7827 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.008551, allocations: 0 / 0.7827 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.556e-05/0.008586, allocations: 45.52 kB / 0.7827 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.008705, allocations: 33.08 kB / 0.7827 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.008967, allocations: 234.6 kB / 0.783 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.291e-05/0.009, allocations: 71.33 kB / 0.783 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.422e-05/0.009024, allocations: 10.52 kB / 0.783 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.009145, allocations: 99.27 kB / 0.7831 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.009146, allocations: 0 / 0.7831 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of Templates: time 0.004312/0.01346, allocations: 3.269 MB / 0.7863 GB, free: 9.75 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.298029386904091]