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.002139/0.002139, allocations: 80.81 kB / 21.55 MB, free: 2.941 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.001851/0.001851, allocations: 167 kB / 24.97 MB, free: 9.184 MB / 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.015/1.015, allocations: 177.1 MB / 205.4 MB, free: 5.469 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 2.063/2.063, allocations: 389.6 MB / 0.6362 GB, free: 12.26 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 1.894e-06/1.894e-06, allocations: 0 / 0.776 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.922e-05, allocations: 3.219 kB / 0.776 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001509/0.001528, allocations: 0.8825 MB / 0.7769 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.002814, allocations: 1.332 MB / 0.7782 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.002868, allocations: 0 / 0.7782 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.0029, allocations: 8.688 kB / 0.7782 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.667e-05/0.002987, allocations: 33 kB / 0.7782 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.003508, allocations: 313.2 kB / 0.7785 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.003756, allocations: 292.4 kB / 0.7788 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.003853, allocations: 42.12 kB / 0.7788 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.004005, allocations: 167.7 kB / 0.779 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.004134, allocations: 87.78 kB / 0.7791 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.004169, allocations: 26.75 kB / 0.7791 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-05/0.00425, allocations: 35.98 kB / 0.7791 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.004276, allocations: 23.92 kB / 0.7791 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.004348, allocations: 91.84 kB / 0.7792 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.004553, allocations: 223.4 kB / 0.7794 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004556, allocations: 3.938 kB / 0.7794 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004556, allocations: 0 / 0.7794 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.00456, allocations: 3.75 kB / 0.7794 GB, free: 1.809 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.0004192/0.00498, allocations: 425.4 kB / 0.7799 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.005016, allocations: 9.344 kB / 0.7799 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.00506, allocations: 28.91 kB / 0.7799 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.005264, allocations: 147 kB / 0.78 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.005291, allocations: 12.38 kB / 0.78 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.005333, allocations: 20.38 kB / 0.7801 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.005467, allocations: 95.2 kB / 0.7802 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.005476, allocations: 0 / 0.7802 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.005484, allocations: 0 / 0.7802 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.00549, allocations: 5.344 kB / 0.7802 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.005525, allocations: 22.05 kB / 0.7802 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.005856, allocations: 259.9 kB / 0.7804 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.005973, allocations: 47.08 kB / 0.7805 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.005994, allocations: 21.97 kB / 0.7805 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.006001, allocations: 3.984 kB / 0.7805 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.006104, allocations: 104.5 kB / 0.7806 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.006105, allocations: 0 / 0.7806 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0001464/0.006251, allocations: 101.6 kB / 0.7807 GB, free: 432 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.006277, allocations: 55.91 kB / 0.7807 GB, free: 364 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.006353, allocations: 161.6 kB / 0.7809 GB, free: 192 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.006377, allocations: 41.64 kB / 0.7809 GB, free: 144 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.006425, allocations: 104.5 kB / 0.781 GB, free: 36 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.006444, allocations: 29.11 kB / 0.7811 GB, free: 8 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.006534, allocations: 73.62 kB / 0.7811 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.006607, allocations: 322.8 kB / 0.7814 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.00672, allocations: 153.7 kB / 0.7816 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.006835, allocations: 192.3 kB / 0.7818 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.006976, allocations: 220.3 kB / 0.782 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006978, allocations: 0 / 0.782 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002632/0.007242, allocations: 385.3 kB / 0.7824 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.007291, allocations: 107.3 kB / 0.7825 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007296, allocations: 0 / 0.7825 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.007307, allocations: 5.375 kB / 0.7825 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.196e-05/0.007349, allocations: 15.94 kB / 0.7825 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.007353, allocations: 7.875 kB / 0.7825 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.007528, allocations: 69.08 kB / 0.7825 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.007552, allocations: 12.52 kB / 0.7826 GB, free: 14.32 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.907e-05/0.007631, allocations: 128.1 kB / 0.7827 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.007644, allocations: 11.98 kB / 0.7827 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.007671, allocations: 16.78 kB / 0.7827 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.007676, allocations: 3.984 kB / 0.7827 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.007677, allocations: 5.438 kB / 0.7827 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.007687, allocations: 11.89 kB / 0.7827 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.007699, allocations: 4 kB / 0.7827 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.371e-05/0.007713, allocations: 0 / 0.7827 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.007741, allocations: 21.03 kB / 0.7828 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.541e-05/0.007826, allocations: 151.1 kB / 0.7829 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001128/0.007939, allocations: 254.7 kB / 0.7831 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.535e-05/0.007975, allocations: 36.8 kB / 0.7832 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.229e-05/0.007997, allocations: 30.53 kB / 0.7832 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of Backend: time 2.51e-07/0.007997, allocations: 0 / 0.7832 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006814/0.008679, allocations: 437.7 kB / 0.7836 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0005462/0.009225, allocations: 0.7566 MB / 0.7844 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of Templates: time 0.004778/0.014, allocations: 3.429 MB / 0.7877 GB, free: 9.094 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.151903070509434]