Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001572, allocations: 171.2 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205 MB / 0.5766 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008833/0.0008831, allocations: 90.95 kB / 0.6804 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 11.88 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2157, allocations: 105.4 MB / 0.8968 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001691/0.2175, allocations: 1.286 MB / 0.898 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005159/0.218, allocations: 249 kB / 0.8983 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.839e-05/0.2181, allocations: 0 / 0.8983 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.788e-05/0.2182, allocations: 7.922 kB / 0.8983 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.2183, allocations: 23.78 kB / 0.8983 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.2185, allocations: 23.98 kB / 0.8983 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.2186, allocations: 115.6 kB / 0.8984 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.2188, allocations: 45.52 kB / 0.8985 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.197e-05/0.2188, allocations: 39.73 kB / 0.8985 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.2189, allocations: 43.77 kB / 0.8985 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.2189, allocations: 4 kB / 0.8985 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.501e-05/0.219, allocations: 4 kB / 0.8986 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.219, allocations: 19.92 kB / 0.8986 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.2191, allocations: 51.66 kB / 0.8986 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.2192, allocations: 103.6 kB / 0.8987 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2192, allocations: 0 / 0.8987 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2192, allocations: 0 / 0.8987 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2192, allocations: 0 / 0.8987 GB, free: 65.64 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005766/0.2198, allocations: 435.1 kB / 0.8991 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2198, allocations: 12.02 kB / 0.8991 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.2199, allocations: 12.84 kB / 0.8992 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.22, allocations: 184.1 kB / 0.8993 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.22, allocations: 8.562 kB / 0.8993 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.2201, allocations: 12.38 kB / 0.8994 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.2202, allocations: 101.1 kB / 0.8994 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2203, allocations: 4 kB / 0.8995 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2203, allocations: 4 kB / 0.8995 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2203, allocations: 7.938 kB / 0.8995 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.2204, allocations: 55.97 kB / 0.8995 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.2209, allocations: 396.5 kB / 0.8999 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.221, allocations: 82.53 kB / 0.9 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.2211, allocations: 37.08 kB / 0.9 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.2211, allocations: 4 kB / 0.9 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.2213, allocations: 91.36 kB / 0.9001 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/0.2213, allocations: 4 kB / 0.9001 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0002704/0.2216, allocations: 151.2 kB / 0.9002 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.2216, allocations: 55.41 kB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.2217, allocations: 158.4 kB / 0.9005 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.2217, allocations: 25.7 kB / 0.9005 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.2218, allocations: 107.8 kB / 0.9006 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.2218, allocations: 35.62 kB / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.2218, allocations: 21.72 kB / 0.9006 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.298e-05/0.2219, allocations: 330.8 kB / 0.901 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.2219, allocations: 35.83 kB / 0.901 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.222, allocations: 59.41 kB / 0.901 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.265e-05/0.2221, allocations: 82.31 kB / 0.9011 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2221, allocations: 4 kB / 0.9011 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000159/0.2223, allocations: 129.5 kB / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2223, allocations: 4 kB / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2223, allocations: 7.984 kB / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2223, allocations: 0 / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.216e-05/0.2224, allocations: 16 kB / 0.9013 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2224, allocations: 3.984 kB / 0.9013 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.2226, allocations: 35.86 kB / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.2226, allocations: 8 kB / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,booToInt1.y,booToInt.y,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,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): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.381e-05/0.2227, allocations: 125.8 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.2227, allocations: 11.91 kB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.2227, allocations: 20.83 kB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2227, allocations: 0 / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2227, allocations: 0 / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.2228, allocations: 92.86 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2228, allocations: 7.984 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.2229, allocations: 19.98 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.223, allocations: 23.95 kB / 0.9016 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002413/0.2232, allocations: 216.9 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001821/0.2234, allocations: 294.6 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.449e-05/0.2235, allocations: 37.11 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.264e-05/0.2235, allocations: 119 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of Backend: time 2.7e-07/0.2235, allocations: 0 / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004006/0.2239, allocations: 144.7 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005475/0.2245, allocations: 0.7056 MB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.003482/0.228, allocations: 1.403 MB / 0.9044 GB, free: 59.44 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)