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.705/2.705, allocations: 287.5 MB / 302.4 MB, free: 8.273 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.001748/0.001747, allocations: 183.6 kB / 371 MB, free: 10.88 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.145/2.145, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0008776/0.0008773, allocations: 92.78 kB / 0.743 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005006, allocations: 13.31 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2309, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.00114/0.2321, allocations: 0.5371 MB / 0.9789 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.234, allocations: 1.263 MB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.2341, allocations: 0 / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.2341, allocations: 7.875 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.749e-05/0.2342, allocations: 23.84 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.2354, allocations: 284.3 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.2356, allocations: 231.5 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.2358, allocations: 33.61 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.2359, allocations: 99.73 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.2361, allocations: 79.75 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/0.2361, allocations: 19.94 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.2363, allocations: 23.98 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.2363, allocations: 15.92 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.2364, allocations: 53.64 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.2366, allocations: 183.8 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2367, allocations: 4 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2367, allocations: 0 / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2367, allocations: 0 / 0.9811 GB, free: 25.52 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.000636/0.2373, allocations: 485.5 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2374, allocations: 8.031 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.249e-05/0.2375, allocations: 27.77 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.2376, allocations: 175.5 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.2377, allocations: 15.98 kB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.2377, allocations: 20 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.238, allocations: 93.55 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.238, allocations: 0 / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.238, allocations: 8 kB / 0.9819 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.238, allocations: 0 / 0.9819 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.2382, allocations: 51.91 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.239, allocations: 0.4923 MB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.2393, allocations: 70.69 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/0.2394, allocations: 32.84 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.2394, allocations: 7.922 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.2397, allocations: 109 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.404e-06/0.2397, allocations: 4 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004814/0.2402, allocations: 173.5 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.2403, allocations: 59.34 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.2404, allocations: 159.5 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.2405, allocations: 33.7 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.2406, allocations: 115.9 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.2406, allocations: 27.66 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.2407, allocations: 7.984 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.2408, allocations: 330.8 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.2411, allocations: 87.95 kB / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.2415, allocations: 144.6 kB / 0.9838 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.2418, allocations: 183.3 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2418, allocations: 0 / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009193/0.2428, allocations: 390.3 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.57e-05/0.2428, allocations: 105 kB / 0.9844 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2429, allocations: 11.94 kB / 0.9844 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2429, allocations: 0 / 0.9844 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.243, allocations: 12 kB / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.243, allocations: 8.125 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009438/0.244, allocations: 122.1 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.2441, allocations: 23.98 kB / 0.9846 GB, free: 21.69 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.0001552/0.2442, allocations: 125.8 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.2443, allocations: 19.81 kB / 0.9847 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.2443, allocations: 16.83 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2443, allocations: 3.953 kB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2443, allocations: 0 / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2444, allocations: 0 / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.2446, allocations: 217.6 kB / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2446, allocations: 0 / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.671e-05/0.2447, allocations: 19.86 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2447, allocations: 0 / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.2447, allocations: 8 kB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2447, allocations: 0 / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2447, allocations: 7.953 kB / 0.985 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.2451, allocations: 160.5 kB / 0.9851 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.2451, allocations: 85.02 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.2451, allocations: 7.984 kB / 0.9852 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.598e-05/0.2452, allocations: 0 / 0.9852 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.2453, allocations: 19.94 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.2453, allocations: 4 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.589e-05/0.2454, allocations: 115.2 kB / 0.9854 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.242e-06/0.2454, allocations: 4 kB / 0.9854 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003623/0.2458, allocations: 63.78 kB / 0.9854 GB, free: 20.74 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.0001717/0.246, allocations: 103.2 kB / 0.9855 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006777/0.2466, allocations: 378.1 kB / 0.9859 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2467, allocations: 0 / 0.9859 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.2468, allocations: 56.28 kB / 0.9859 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.2472, allocations: 36.94 kB / 0.986 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.2478, allocations: 260.2 kB / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.2479, allocations: 0.7087 MB / 0.9869 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.512e-05/0.248, allocations: 12.64 kB / 0.9869 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.2481, allocations: 15.44 kB / 0.9869 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.2481, allocations: 0 / 0.9869 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.007364/0.2554, allocations: 2.55 MB / 0.9894 GB, free: 16.57 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)