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.468/1.468, allocations: 252 MB / 268 MB, free: 10.84 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.001044/0.001044, allocations: 163.9 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.000757/0.000757, allocations: 84.88 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003697, allocations: 12.44 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2249, allocations: 106.3 MB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001598/0.2265, allocations: 1.272 MB / 0.9027 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004397/0.227, allocations: 244.1 kB / 0.9029 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.227, allocations: 0 / 0.9029 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.2271, allocations: 11.92 kB / 0.903 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.644e-05/0.2272, allocations: 15.88 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.2274, allocations: 31.95 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.2275, allocations: 115.6 kB / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.2276, allocations: 45.28 kB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.953e-05/0.2277, allocations: 35.78 kB / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.893e-05/0.2278, allocations: 39.78 kB / 0.9032 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.2278, allocations: 4 kB / 0.9032 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.2278, allocations: 4 kB / 0.9032 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.2278, allocations: 27.84 kB / 0.9033 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.83e-05/0.2279, allocations: 65.44 kB / 0.9033 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.696e-05/0.228, allocations: 79.8 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.228, allocations: 0 / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.333e-06/0.228, allocations: 0 / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.228, allocations: 4 kB / 0.9034 GB, free: 61.45 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.0005854/0.2286, allocations: 439.4 kB / 0.9038 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2287, allocations: 8.031 kB / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.2287, allocations: 12.84 kB / 0.9038 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2288, allocations: 190.6 kB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.2289, allocations: 12.56 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.2289, allocations: 16.36 kB / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.2291, allocations: 93.53 kB / 0.9041 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2291, allocations: 0 / 0.9041 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.2291, allocations: 4 kB / 0.9041 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2291, allocations: 0 / 0.9041 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.2292, allocations: 59.97 kB / 0.9042 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.2297, allocations: 400.5 kB / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.2299, allocations: 82.47 kB / 0.9047 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.2299, allocations: 37.08 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.2299, allocations: 0 / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.2301, allocations: 95.36 kB / 0.9048 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.2301, allocations: 3.938 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.000273/0.2304, allocations: 152.4 kB / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.2305, allocations: 59.39 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.2306, allocations: 158.4 kB / 0.9051 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.2306, allocations: 33.7 kB / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.2306, allocations: 103.8 kB / 0.9053 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.2307, allocations: 31.62 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.2307, allocations: 4 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.2307, allocations: 322.8 kB / 0.9056 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.926e-05/0.2308, allocations: 31.89 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.189e-05/0.2309, allocations: 55.42 kB / 0.9057 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.185e-05/0.231, allocations: 83.38 kB / 0.9058 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.231, allocations: 0 / 0.9058 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001513/0.2311, allocations: 133.4 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2311, allocations: 4 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2311, allocations: 0 / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2312, allocations: 8.094 kB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.2313, allocations: 15.98 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2313, allocations: 3.938 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.2314, allocations: 31.83 kB / 0.906 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.2314, allocations: 4 kB / 0.906 GB, free: 58.57 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,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,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): 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.863e-05/0.2315, allocations: 129.8 kB / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.2315, allocations: 15.91 kB / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.2316, allocations: 16.83 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2316, allocations: 4 kB / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2316, allocations: 3.938 kB / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2316, allocations: 0 / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.2317, allocations: 217.5 kB / 0.9063 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2317, allocations: 0 / 0.9063 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.2318, allocations: 15.98 kB / 0.9064 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2318, allocations: 0 / 0.9064 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2318, allocations: 0 / 0.9064 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2318, allocations: 0 / 0.9064 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2318, allocations: 11.88 kB / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.232, allocations: 142.6 kB / 0.9065 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.232, allocations: 96.86 kB / 0.9066 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.2321, allocations: 7.984 kB / 0.9066 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.2322, allocations: 15.98 kB / 0.9066 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.2322, allocations: 31.91 kB / 0.9067 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2323, allocations: 4 kB / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.2323, allocations: 118.6 kB / 0.9068 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2323, allocations: 0 / 0.9068 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001866/0.2325, allocations: 27.94 kB / 0.9068 GB, free: 57.64 MB / 0.6042 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 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,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.0001116/0.2326, allocations: 107.2 kB / 0.9069 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.2328, allocations: 87.91 kB / 0.907 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2328, allocations: 0 / 0.907 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.2329, allocations: 40.61 kB / 0.907 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.2332, allocations: 26.39 kB / 0.907 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.2336, allocations: 319.6 kB / 0.9073 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2337, allocations: 0.7048 MB / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.2338, allocations: 19.44 kB / 0.9081 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2338, allocations: 0 / 0.9081 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.002571/0.2364, allocations: 1.572 MB / 0.9096 GB, free: 54.72 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)