Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.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.001027/0.001027, allocations: 76.81 kB / 21.55 MB, free: 2.945 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.001111/0.001111, allocations: 162.9 kB / 24.96 MB, free: 8.199 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.892/0.892, allocations: 177.2 MB / 205.4 MB, free: 4.426 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.992/1.992, allocations: 389.6 MB / 0.6362 GB, free: 13.31 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.7761 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.405e-05, allocations: 2.312 kB / 0.7761 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.00158/0.001604, allocations: 0.8431 MB / 0.7769 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.002895, allocations: 1.197 MB / 0.7781 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.002949, allocations: 4 kB / 0.7781 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.002983, allocations: 3.938 kB / 0.7781 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.395e-05/0.003067, allocations: 11.86 kB / 0.7781 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.003495, allocations: 135.5 kB / 0.7782 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.00366, allocations: 127.7 kB / 0.7783 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.719e-05/0.003737, allocations: 12 kB / 0.7783 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.003845, allocations: 79.86 kB / 0.7784 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.003924, allocations: 35.94 kB / 0.7784 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.003947, allocations: 12 kB / 0.7785 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.466e-05/0.004022, allocations: 31.92 kB / 0.7785 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.00404, allocations: 7.984 kB / 0.7785 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.004079, allocations: 35.91 kB / 0.7785 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.004223, allocations: 107.6 kB / 0.7786 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.004226, allocations: 4 kB / 0.7786 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004227, allocations: 0 / 0.7786 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004231, allocations: 0 / 0.7786 GB, free: 11.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004005/0.004632, allocations: 314.4 kB / 0.7789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.004664, allocations: 8.031 kB / 0.7789 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.004699, allocations: 12.92 kB / 0.779 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.8e-05/0.004777, allocations: 109.8 kB / 0.7791 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.00479, allocations: 8.375 kB / 0.7791 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.004802, allocations: 4.375 kB / 0.7791 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.004914, allocations: 74.86 kB / 0.7791 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.004923, allocations: 192 / 0.7791 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.004931, allocations: 4.375 kB / 0.7792 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.004936, allocations: 4.375 kB / 0.7792 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.004961, allocations: 19.91 kB / 0.7792 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.005203, allocations: 172.2 kB / 0.7793 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.859e-05/0.005242, allocations: 26.52 kB / 0.7794 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.005259, allocations: 12.86 kB / 0.7794 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.005277, allocations: 4 kB / 0.7794 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.293e-05/0.00537, allocations: 63.53 kB / 0.7794 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 2.305e-06/0.005372, allocations: 3.984 kB / 0.7794 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001266/0.005499, allocations: 69.55 kB / 0.7795 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.005525, allocations: 51.41 kB / 0.7796 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.005591, allocations: 132.4 kB / 0.7797 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.00561, allocations: 29.7 kB / 0.7797 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.005646, allocations: 92.09 kB / 0.7798 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.005663, allocations: 15.88 kB / 0.7798 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.005704, allocations: 29.7 kB / 0.7798 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/0.005781, allocations: 318.8 kB / 0.7802 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.815e-05/0.005829, allocations: 45.69 kB / 0.7802 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.563e-05/0.005885, allocations: 80.23 kB / 0.7803 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.447e-05/0.005949, allocations: 76.19 kB / 0.7803 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.005952, allocations: 8.188 kB / 0.7804 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000132/0.006084, allocations: 161 kB / 0.7805 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.006116, allocations: 37.28 kB / 0.7805 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.006123, allocations: 12.08 kB / 0.7806 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.006135, allocations: 0 / 0.7806 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.094e-05/0.006206, allocations: 8 kB / 0.7806 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.006211, allocations: 7.984 kB / 0.7806 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.119e-05/0.006292, allocations: 27.91 kB / 0.7806 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.006307, allocations: 16 kB / 0.7806 GB, free: 8.926 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 6.839e-05/0.006376, allocations: 113.8 kB / 0.7807 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.006387, allocations: 4 kB / 0.7807 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.006415, allocations: 12.38 kB / 0.7807 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.006418, allocations: 4 kB / 0.7807 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.00642, allocations: 0 / 0.7807 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.006424, allocations: 3.984 kB / 0.7807 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.02e-05/0.006494, allocations: 85.83 kB / 0.7808 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006495, allocations: 0 / 0.7808 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.00653, allocations: 8 kB / 0.7808 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.006532, allocations: 4 kB / 0.7808 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.006538, allocations: 3.984 kB / 0.7808 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006539, allocations: 0 / 0.7808 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.006542, allocations: 3.938 kB / 0.7808 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.04e-05/0.006622, allocations: 73.06 kB / 0.7809 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.006632, allocations: 11.98 kB / 0.7809 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.006641, allocations: 0 / 0.7809 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.006661, allocations: 4 kB / 0.7809 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.006692, allocations: 11.92 kB / 0.7809 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.006698, allocations: 4 kB / 0.7809 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.96e-05/0.006717, allocations: 28.83 kB / 0.781 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006717, allocations: 0 / 0.781 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001194/0.006837, allocations: 23.95 kB / 0.781 GB, free: 8.48 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001204/0.006957, allocations: 80.41 kB / 0.7811 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.007108, allocations: 145.9 kB / 0.7812 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.007112, allocations: 0 / 0.7812 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.007139, allocations: 16.86 kB / 0.7812 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.007253, allocations: 24.05 kB / 0.7812 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.007512, allocations: 176.1 kB / 0.7814 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.003e-05/0.007542, allocations: 55.36 kB / 0.7815 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.703e-05/0.007569, allocations: 4 kB / 0.7815 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.073e-05/0.00765, allocations: 75.34 kB / 0.7815 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/0.007651, allocations: 0 / 0.7815 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of Templates: time 0.003486/0.01114, allocations: 1.748 MB / 0.7833 GB, free: 6.105 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.914026492275298]