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.0007411/0.0007411, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.00131/0.00131, allocations: 162.9 kB / 24.96 MB, free: 8.715 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 0.9112/0.9112, allocations: 177.1 MB / 205.4 MB, free: 4.484 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.961/1.961, allocations: 389.6 MB / 0.6362 GB, free: 13.36 MB / 0.6042 GB " [Timeout remaining time 178] 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.834e-06/1.834e-06, allocations: 0 / 0.776 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.997e-05, allocations: 9.766 kB / 0.776 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001397/0.001417, allocations: 0.8795 MB / 0.7769 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.00263, allocations: 1.333 MB / 0.7782 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.002688, allocations: 0 / 0.7782 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.924e-05/0.002728, allocations: 15.86 kB / 0.7782 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.652e-05/0.002814, allocations: 27.73 kB / 0.7782 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.003333, allocations: 307.3 kB / 0.7785 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.003563, allocations: 295.4 kB / 0.7788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.003652, allocations: 42.19 kB / 0.7788 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.003785, allocations: 163.7 kB / 0.779 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.003901, allocations: 83.8 kB / 0.7791 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.003933, allocations: 24 kB / 0.7791 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-05/0.004009, allocations: 39.98 kB / 0.7791 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.004035, allocations: 27.91 kB / 0.7791 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.0041, allocations: 83.86 kB / 0.7792 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.004322, allocations: 223.3 kB / 0.7794 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004324, allocations: 0 / 0.7794 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004325, allocations: 0 / 0.7794 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004329, allocations: 0 / 0.7794 GB, free: 10.37 MB / 0.7448 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.0004669/0.004796, allocations: 433.5 kB / 0.7799 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.004834, allocations: 8.031 kB / 0.7799 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.004889, allocations: 20.92 kB / 0.7799 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.005073, allocations: 162.1 kB / 0.78 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.005096, allocations: 12.38 kB / 0.78 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.005126, allocations: 16.38 kB / 0.7801 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.00524, allocations: 90.23 kB / 0.7801 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.00525, allocations: 0 / 0.7801 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.00526, allocations: 7.984 kB / 0.7802 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.005269, allocations: 7.984 kB / 0.7802 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.291e-05/0.005302, allocations: 19.78 kB / 0.7802 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.005625, allocations: 263.9 kB / 0.7804 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.00574, allocations: 42.56 kB / 0.7805 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.00576, allocations: 20.78 kB / 0.7805 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.00577, allocations: 0 / 0.7805 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.993e-05/0.00587, allocations: 103.4 kB / 0.7806 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.005871, allocations: 0 / 0.7806 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0001559/0.006027, allocations: 109.6 kB / 0.7807 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.006059, allocations: 55.41 kB / 0.7807 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.006148, allocations: 162.4 kB / 0.7809 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.006173, allocations: 41.7 kB / 0.7809 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.006225, allocations: 108.5 kB / 0.781 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.006245, allocations: 35.78 kB / 0.7811 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.006318, allocations: 65.64 kB / 0.7811 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.006395, allocations: 326.8 kB / 0.7815 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.006498, allocations: 145.1 kB / 0.7816 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.006613, allocations: 191 kB / 0.7818 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.006748, allocations: 222.5 kB / 0.782 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.006752, allocations: 4 kB / 0.782 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002962/0.007048, allocations: 379.5 kB / 0.7824 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/0.007096, allocations: 97.08 kB / 0.7824 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.007101, allocations: 4 kB / 0.7825 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.007113, allocations: 3.938 kB / 0.7825 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.08e-05/0.007154, allocations: 24.12 kB / 0.7825 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.007158, allocations: 4 kB / 0.7825 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.007325, allocations: 63.83 kB / 0.7825 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.007348, allocations: 19.98 kB / 0.7826 GB, free: 6.848 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.24e-05/0.00742, allocations: 129.8 kB / 0.7827 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.007432, allocations: 12 kB / 0.7827 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.007458, allocations: 16.77 kB / 0.7827 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.007461, allocations: 7.938 kB / 0.7827 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.007463, allocations: 0 / 0.7827 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.007466, allocations: 0 / 0.7827 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.756e-05/0.007544, allocations: 101.8 kB / 0.7828 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007545, allocations: 0 / 0.7828 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.007569, allocations: 8 kB / 0.7828 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.007571, allocations: 0 / 0.7828 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.007575, allocations: 4 kB / 0.7828 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.007576, allocations: 3.938 kB / 0.7828 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.007577, allocations: 0 / 0.7828 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.962e-05/0.007667, allocations: 124.9 kB / 0.783 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.007676, allocations: 11.91 kB / 0.783 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-06/0.007686, allocations: 4 kB / 0.783 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.572e-05/0.007702, allocations: 7.984 kB / 0.783 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.007728, allocations: 7.984 kB / 0.783 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.007735, allocations: 11.94 kB / 0.783 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.133e-05/0.007757, allocations: 24.83 kB / 0.783 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007757, allocations: 0 / 0.783 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001401/0.007897, allocations: 51.98 kB / 0.7831 GB, free: 6.281 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 9.858e-05/0.007995, allocations: 92.36 kB / 0.7832 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.008247, allocations: 392 kB / 0.7835 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.008249, allocations: 0 / 0.7835 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.754e-05/0.008287, allocations: 40.03 kB / 0.7836 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.008405, allocations: 27.97 kB / 0.7836 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.008666, allocations: 233.6 kB / 0.7838 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.273e-05/0.008699, allocations: 71.33 kB / 0.7839 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.008723, allocations: 4.984 kB / 0.7839 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.008847, allocations: 99.33 kB / 0.784 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/0.008848, allocations: 0 / 0.784 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.004133/0.01298, allocations: 3.268 MB / 0.7872 GB, free: 1.992 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: 4.817249204032123]