Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.702/1.702, allocations: 288.4 MB / 304.3 MB, free: 8.047 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.001407/0.001407, allocations: 187.2 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.4 MB / 0.6316 GB, free: 9.934 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.0007788/0.0007789, allocations: 92.52 kB / 0.745 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004181, allocations: 13.31 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2568, allocations: 115.3 MB / 0.9808 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001213/0.258, allocations: 0.5334 MB / 0.9813 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2596, allocations: 1.27 MB / 0.9825 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.2596, allocations: 0 / 0.9825 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.2597, allocations: 11.86 kB / 0.9825 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.111e-05/0.2598, allocations: 15.86 kB / 0.9825 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007755/0.2606, allocations: 285.9 kB / 0.9828 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.2608, allocations: 235.5 kB / 0.983 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.2609, allocations: 33.44 kB / 0.9831 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.261, allocations: 99.72 kB / 0.9832 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.2611, allocations: 71.78 kB / 0.9832 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.2612, allocations: 16 kB / 0.9832 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.666e-05/0.2612, allocations: 31.92 kB / 0.9833 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.2613, allocations: 23.91 kB / 0.9833 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.2614, allocations: 105.4 kB / 0.9834 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.2616, allocations: 183.8 kB / 0.9836 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2616, allocations: 3.938 kB / 0.9836 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2616, allocations: 0 / 0.9836 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2616, allocations: 0 / 0.9836 GB, free: 24.44 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.0006137/0.2622, allocations: 484.2 kB / 0.984 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.2623, allocations: 12.03 kB / 0.9841 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.855e-05/0.2624, allocations: 24.75 kB / 0.9841 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2625, allocations: 182.4 kB / 0.9843 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.2626, allocations: 20.36 kB / 0.9843 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.2626, allocations: 20.38 kB / 0.9843 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.2629, allocations: 89.67 kB / 0.9844 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2629, allocations: 4 kB / 0.9844 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.2629, allocations: 4 kB / 0.9844 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2629, allocations: 0 / 0.9844 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.263, allocations: 51.91 kB / 0.9844 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007195/0.2638, allocations: 496.2 kB / 0.9849 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.264, allocations: 74.55 kB / 0.985 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.2641, allocations: 36.97 kB / 0.985 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.2641, allocations: 0 / 0.985 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.2643, allocations: 115.2 kB / 0.9851 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.2643, allocations: 0 / 0.9851 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003758/0.2647, allocations: 173.5 kB / 0.9853 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2648, allocations: 51.41 kB / 0.9853 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.2649, allocations: 167 kB / 0.9855 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.265, allocations: 37.7 kB / 0.9855 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.2651, allocations: 104 kB / 0.9856 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.2651, allocations: 39.55 kB / 0.9857 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.2651, allocations: 7.938 kB / 0.9857 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2653, allocations: 334.8 kB / 0.986 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.2655, allocations: 87.95 kB / 0.9861 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.2657, allocations: 149 kB / 0.9862 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.266, allocations: 248.7 kB / 0.9865 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.266, allocations: 4 kB / 0.9865 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006323/0.2667, allocations: 402.2 kB / 0.9868 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.2667, allocations: 98.03 kB / 0.9869 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2667, allocations: 0 / 0.9869 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.2668, allocations: 7.938 kB / 0.9869 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.2668, allocations: 12 kB / 0.987 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.2669, allocations: 7.922 kB / 0.987 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.2674, allocations: 123 kB / 0.9871 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.2675, allocations: 19.98 kB / 0.9871 GB, free: 20.5 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.0001333/0.2676, allocations: 133.8 kB / 0.9872 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.2676, allocations: 11.81 kB / 0.9872 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.2677, allocations: 20.84 kB / 0.9873 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2677, allocations: 3.938 kB / 0.9873 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2677, allocations: 4 kB / 0.9873 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.2677, allocations: 89 kB / 0.9874 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.2678, allocations: 0 / 0.9874 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.04e-05/0.2678, allocations: 4 kB / 0.9874 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.2679, allocations: 11.98 kB / 0.9874 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002192/0.2681, allocations: 208.9 kB / 0.9876 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002433/0.2683, allocations: 309.2 kB / 0.9879 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.319e-05/0.2684, allocations: 47.97 kB / 0.9879 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.789e-05/0.2685, allocations: 111.3 kB / 0.988 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of Backend: time 6.01e-07/0.2685, allocations: 0 / 0.988 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007998/0.2693, allocations: 452.7 kB / 0.9884 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007471/0.2701, allocations: 0.6963 MB / 0.9891 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.006192/0.2763, allocations: 2.683 MB / 0.9917 GB, free: 15.64 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)