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.541/1.541, allocations: 252 MB / 267.6 MB, free: 10.95 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.001231/0.001231, allocations: 174 kB / 327.3 MB, free: 2.211 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.818/1.818, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.0008159/0.0008159, allocations: 90.23 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 8.281 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.224, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001582/0.2257, allocations: 1.252 MB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004588/0.2261, allocations: 240.2 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.2262, allocations: 4 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.2262, allocations: 7.875 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.2264, allocations: 11.86 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.2265, allocations: 31.92 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.2267, allocations: 115.6 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.2268, allocations: 29.48 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.2269, allocations: 39.84 kB / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.682e-05/0.227, allocations: 39.78 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.227, allocations: 8 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.227, allocations: 4 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.2271, allocations: 15.92 kB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.2271, allocations: 45.62 kB / 0.9026 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.52e-05/0.2272, allocations: 79.8 kB / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2272, allocations: 0 / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2272, allocations: 0 / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.2273, allocations: 0 / 0.9027 GB, free: 61.94 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.00068/0.2279, allocations: 439.2 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.228, allocations: 12.03 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.228, allocations: 11.86 kB / 0.9032 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.2282, allocations: 182.8 kB / 0.9033 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.2282, allocations: 12.19 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.2282, allocations: 8 kB / 0.9033 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2285, allocations: 103.1 kB / 0.9034 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2285, allocations: 0 / 0.9034 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2285, allocations: 0 / 0.9034 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2285, allocations: 4 kB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.2286, allocations: 60.47 kB / 0.9035 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.2292, allocations: 397.3 kB / 0.9039 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.2294, allocations: 78.55 kB / 0.904 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.2294, allocations: 33.08 kB / 0.904 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.2294, allocations: 3.938 kB / 0.904 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.2297, allocations: 107.3 kB / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.2297, allocations: 0 / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0002745/0.2299, allocations: 143.9 kB / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.23, allocations: 59.41 kB / 0.9043 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.2301, allocations: 158.8 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.2301, allocations: 29.7 kB / 0.9045 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.2302, allocations: 103.9 kB / 0.9046 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.2302, allocations: 35.55 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/0.2302, allocations: 8 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.2303, allocations: 322.8 kB / 0.9049 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.543e-05/0.2303, allocations: 20 kB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/0.2304, allocations: 65.38 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/0.2305, allocations: 28 kB / 0.905 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2305, allocations: 0 / 0.905 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001492/0.2306, allocations: 133.4 kB / 0.9052 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2306, allocations: 8 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2307, allocations: 0 / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2307, allocations: 4 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/0.2308, allocations: 19.94 kB / 0.9052 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2308, allocations: 0 / 0.9052 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.2309, allocations: 36 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.2309, allocations: 4 kB / 0.9052 GB, free: 59.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.559e-05/0.231, allocations: 121.8 kB / 0.9053 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.231, allocations: 19.7 kB / 0.9054 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.2311, allocations: 20.83 kB / 0.9054 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2311, allocations: 7.938 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2311, allocations: 0 / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2311, allocations: 0 / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.2312, allocations: 225.6 kB / 0.9056 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2312, allocations: 0 / 0.9056 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.2313, allocations: 8 kB / 0.9056 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2313, allocations: 7.953 kB / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.2313, allocations: 0 / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2313, allocations: 0 / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2313, allocations: 0 / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.2315, allocations: 150.3 kB / 0.9058 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.2315, allocations: 96.89 kB / 0.9059 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2315, allocations: 7.953 kB / 0.9059 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.2317, allocations: 23.97 kB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.2317, allocations: 11.98 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.2317, allocations: 7.984 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.2318, allocations: 115.2 kB / 0.906 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2318, allocations: 0 / 0.906 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001799/0.232, allocations: 24 kB / 0.906 GB, free: 58.21 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 (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.0001098/0.2321, allocations: 111.2 kB / 0.9061 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.2323, allocations: 83.92 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2323, allocations: 0 / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.2324, allocations: 44.8 kB / 0.9063 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.2326, allocations: 32.16 kB / 0.9063 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.233, allocations: 289.7 kB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.2332, allocations: 0.7086 MB / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.2332, allocations: 19.42 kB / 0.9073 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2332, allocations: 0 / 0.9073 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.002604/0.2359, allocations: 1.584 MB / 0.9088 GB, free: 55.29 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)