Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.978/2.978, allocations: 287.3 MB / 302.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002672/0.002672, allocations: 181.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.334/2.334, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 93 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005016, allocations: 13.19 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2216, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001087/0.2227, allocations: 0.5371 MB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2244, allocations: 1.216 MB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.2245, allocations: 0 / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.2245, allocations: 7.922 kB / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.2246, allocations: 15.97 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.2257, allocations: 296.6 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.2259, allocations: 147.8 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2261, allocations: 21.62 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.2262, allocations: 99.8 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.2264, allocations: 83.69 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.29e-05/0.2264, allocations: 12 kB / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2265, allocations: 27.98 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.2266, allocations: 19.92 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.2266, allocations: 49.64 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.2269, allocations: 179.8 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2269, allocations: 0 / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2269, allocations: 0 / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2269, allocations: 4 kB / 0.9808 GB, free: 25.66 MB / 0.6198 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.0005655/0.2275, allocations: 492 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2276, allocations: 8.031 kB / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/0.2277, allocations: 27.7 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2278, allocations: 187.4 kB / 0.9815 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.2278, allocations: 12 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.2279, allocations: 16 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.2282, allocations: 93.59 kB / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2282, allocations: 0 / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.2282, allocations: 4 kB / 0.9816 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.2282, allocations: 4 kB / 0.9816 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.2284, allocations: 47.92 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008424/0.2292, allocations: 0.4884 MB / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.2296, allocations: 70.56 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.2296, allocations: 4 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.2299, allocations: 108.4 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 3.306e-06/0.2299, allocations: 0 / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004776/0.2304, allocations: 175.9 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2304, allocations: 59.41 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.2306, allocations: 163.5 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.2306, allocations: 33.7 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.2307, allocations: 115.9 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.2308, allocations: 27.8 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.2308, allocations: 8 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.2309, allocations: 322.8 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.2312, allocations: 95.94 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.2316, allocations: 152.3 kB / 0.9834 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.2319, allocations: 177 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2319, allocations: 0 / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009161/0.2329, allocations: 396.9 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.946e-05/0.2329, allocations: 101.1 kB / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.233, allocations: 4 kB / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.233, allocations: 3.953 kB / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2331, allocations: 19.92 kB / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.2331, allocations: 0 / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000951/0.2341, allocations: 122 kB / 0.9842 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.2342, allocations: 19.98 kB / 0.9842 GB, free: 21.86 MB / 0.6198 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,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.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 initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.2343, allocations: 133.8 kB / 0.9844 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.2344, allocations: 15.81 kB / 0.9844 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.2344, allocations: 16.84 kB / 0.9844 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.852e-06/0.2345, allocations: 7.938 kB / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2345, allocations: 0 / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.2345, allocations: 3.984 kB / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.2347, allocations: 217.6 kB / 0.9846 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2347, allocations: 0 / 0.9846 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.648e-05/0.2348, allocations: 11.94 kB / 0.9846 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2348, allocations: 0 / 0.9846 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2348, allocations: 11.98 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2348, allocations: 0 / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2349, allocations: 3.953 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.2352, allocations: 164.8 kB / 0.9848 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.2352, allocations: 85.02 kB / 0.9849 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.2353, allocations: 12 kB / 0.9849 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.702e-05/0.2353, allocations: 0 / 0.9849 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.2354, allocations: 11.98 kB / 0.9849 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.2354, allocations: 15.94 kB / 0.9849 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.128e-05/0.2355, allocations: 111.2 kB / 0.985 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2355, allocations: 4 kB / 0.985 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003841/0.2359, allocations: 55.84 kB / 0.9851 GB, free: 20.9 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001679/0.2361, allocations: 107.2 kB / 0.9852 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006498/0.2368, allocations: 390 kB / 0.9856 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2368, allocations: 0 / 0.9856 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.2369, allocations: 54.55 kB / 0.9856 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.2373, allocations: 20.5 kB / 0.9856 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.2378, allocations: 260.6 kB / 0.9859 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.238, allocations: 0.7204 MB / 0.9866 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.015e-05/0.2381, allocations: 8.656 kB / 0.9866 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.2381, allocations: 11.44 kB / 0.9866 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.2381, allocations: 0 / 0.9866 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.007239/0.2454, allocations: 2.547 MB / 0.9891 GB, free: 16.74 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)