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.001251/0.001251, 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.001607/0.001607, allocations: 161 kB / 24.16 MB, free: 332 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.9804/0.9804, allocations: 177.1 MB / 204.6 MB, free: 5.453 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.004/2.004, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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 3.357e-06/3.357e-06, allocations: 0 / 0.7752 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.453e-05, allocations: 2.812 kB / 0.7752 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001666/0.001691, allocations: 0.8699 MB / 0.7761 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.00324, allocations: 1.343 MB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.003308, allocations: 4 kB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.003346, allocations: 12.58 kB / 0.7774 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.003447, allocations: 27.12 kB / 0.7774 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007056/0.004153, allocations: 306.4 kB / 0.7777 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.004432, allocations: 295.9 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.00559, allocations: 42.12 kB / 0.778 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000404/0.005994, allocations: 163.7 kB / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.006212, allocations: 91.77 kB / 0.7783 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.812e-05/0.00627, allocations: 28 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.006409, allocations: 36 kB / 0.7783 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.006452, allocations: 20.48 kB / 0.7783 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.006559, allocations: 91.84 kB / 0.7784 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.006909, allocations: 219.9 kB / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.006913, allocations: 3.469 kB / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.527e-06/0.006916, allocations: 3.984 kB / 0.7787 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.006923, allocations: 0 / 0.7787 GB, free: 1.844 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.0006298/0.007553, allocations: 429.4 kB / 0.7791 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.007602, allocations: 13.34 kB / 0.7791 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.801e-05/0.00768, allocations: 28.91 kB / 0.7791 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.007932, allocations: 146.7 kB / 0.7792 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.007966, allocations: 16.36 kB / 0.7793 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.008006, allocations: 24.38 kB / 0.7793 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.008152, allocations: 90.55 kB / 0.7794 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.008162, allocations: 0 / 0.7794 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.008176, allocations: 7.984 kB / 0.7794 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.008183, allocations: 0 / 0.7794 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.758e-05/0.00823, allocations: 26.16 kB / 0.7794 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.008724, allocations: 256 kB / 0.7796 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.008886, allocations: 54.47 kB / 0.7797 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.008912, allocations: 8.859 kB / 0.7797 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.00892, allocations: 4.531 kB / 0.7797 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.009064, allocations: 103.3 kB / 0.7798 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 2.234e-06/0.009067, allocations: 0 / 0.7798 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0002138/0.009281, allocations: 109.6 kB / 0.7799 GB, free: 456 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.00936, allocations: 59.92 kB / 0.78 GB, free: 384 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.009472, allocations: 161 kB / 0.7801 GB, free: 212 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.009508, allocations: 29.7 kB / 0.7802 GB, free: 176 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.009578, allocations: 113.4 kB / 0.7803 GB, free: 60 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.009609, allocations: 31.78 kB / 0.7803 GB, free: 28 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.009748, allocations: 66.14 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.009846, allocations: 324.6 kB / 0.7807 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.01001, allocations: 148.9 kB / 0.7808 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.01026, allocations: 199.8 kB / 0.781 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.01048, allocations: 223.2 kB / 0.7812 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.01049, allocations: 1.75 kB / 0.7812 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004198/0.01091, allocations: 379.6 kB / 0.7816 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.176e-05/0.01098, allocations: 102.7 kB / 0.7817 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01099, allocations: 0 / 0.7817 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.01101, allocations: 7.938 kB / 0.7817 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.01106, allocations: 11.98 kB / 0.7817 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01107, allocations: 4.812 kB / 0.7817 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.01134, allocations: 65.27 kB / 0.7818 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.01138, allocations: 15.98 kB / 0.7818 GB, free: 14.35 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 0.0001054/0.01148, allocations: 127.7 kB / 0.7819 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.01151, allocations: 19.92 kB / 0.7819 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.01154, allocations: 12.78 kB / 0.7819 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.01155, allocations: 5.406 kB / 0.7819 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.01155, allocations: 0 / 0.7819 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.01155, allocations: 0 / 0.7819 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.01168, allocations: 101.8 kB / 0.782 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01168, allocations: 4.969 kB / 0.782 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.01172, allocations: 11.94 kB / 0.782 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.01173, allocations: 0 / 0.782 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.01174, allocations: 9.047 kB / 0.782 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01174, allocations: 0 / 0.782 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.01174, allocations: 4 kB / 0.7821 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.01188, allocations: 113.5 kB / 0.7822 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.0119, allocations: 12.84 kB / 0.7822 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.01192, allocations: 3.984 kB / 0.7822 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.668e-05/0.01195, allocations: 8 kB / 0.7822 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.01198, allocations: 8.922 kB / 0.7822 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.01199, allocations: 7.938 kB / 0.7822 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.546e-05/0.01203, allocations: 31.77 kB / 0.7822 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01203, allocations: 0 / 0.7822 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002698/0.0123, allocations: 48 kB / 0.7823 GB, free: 13.79 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.0001544/0.01245, allocations: 100.5 kB / 0.7824 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005311/0.01298, allocations: 389.6 kB / 0.7827 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.01299, allocations: 4 kB / 0.7827 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.334e-05/0.01305, allocations: 47.39 kB / 0.7828 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.01325, allocations: 29.61 kB / 0.7828 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.01366, allocations: 229.2 kB / 0.783 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.311e-05/0.0137, allocations: 67.34 kB / 0.7831 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.647e-05/0.01375, allocations: 14.47 kB / 0.7831 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.01393, allocations: 91.34 kB / 0.7832 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.01393, allocations: 0 / 0.7832 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.007587/0.02152, allocations: 3.286 MB / 0.7864 GB, free: 9.633 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.167130837216973]