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.764/1.764, allocations: 288.4 MB / 303.4 MB, free: 8.184 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.001744/0.001743, allocations: 184.5 kB / 372 MB, free: 10.25 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.734/1.734, allocations: 205.4 MB / 0.6307 GB, free: 9.945 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.0007675/0.0007676, allocations: 106.2 kB / 0.7441 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 19.83 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2152, allocations: 115.3 MB / 0.9796 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.0008865/0.2162, allocations: 0.5373 MB / 0.9801 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.2176, allocations: 1.259 MB / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.886e-05/0.2177, allocations: 15.88 kB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.2177, allocations: 7.922 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.752e-05/0.2178, allocations: 11.86 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.2186, allocations: 280 kB / 0.9817 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.2188, allocations: 235.5 kB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2189, allocations: 33.62 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.219, allocations: 95.73 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.2191, allocations: 83.69 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.2192, allocations: 12 kB / 0.9821 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.475e-05/0.2192, allocations: 27.98 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.2193, allocations: 23.92 kB / 0.9821 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.2193, allocations: 49.64 kB / 0.9822 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.2195, allocations: 183.8 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2195, allocations: 0 / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2195, allocations: 0 / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.2195, allocations: 4 kB / 0.9824 GB, free: 24.77 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.0004453/0.22, allocations: 484.1 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.22, allocations: 8.031 kB / 0.9828 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.2201, allocations: 19.81 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.28e-05/0.2201, allocations: 185.1 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.2202, allocations: 19.94 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.2202, allocations: 20 kB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2204, allocations: 81.66 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2204, allocations: 7.938 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2204, allocations: 11.92 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2204, allocations: 4 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.071e-05/0.2205, allocations: 39.98 kB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.221, allocations: 0.4962 MB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.2212, allocations: 70.5 kB / 0.9838 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.2213, allocations: 32.97 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.2213, allocations: 4 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.2215, allocations: 105.8 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.2215, allocations: 4 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0002873/0.2218, allocations: 181.5 kB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.2218, allocations: 51.41 kB / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.2219, allocations: 162.1 kB / 0.9843 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.222, allocations: 37.7 kB / 0.9843 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.222, allocations: 111.9 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.2221, allocations: 35.64 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.2221, allocations: 8 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.2221, allocations: 326.8 kB / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.2223, allocations: 87.95 kB / 0.9849 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.2225, allocations: 149 kB / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.2227, allocations: 174.3 kB / 0.9852 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2227, allocations: 0 / 0.9852 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004889/0.2232, allocations: 402.2 kB / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.2232, allocations: 106.3 kB / 0.9857 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2233, allocations: 4.188 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2233, allocations: 7.953 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.2233, allocations: 8 kB / 0.9857 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2233, allocations: 7.938 kB / 0.9857 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.2239, allocations: 119.7 kB / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.2239, allocations: 19.98 kB / 0.9858 GB, free: 20.93 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 9.741e-05/0.224, allocations: 133.8 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.224, allocations: 15.81 kB / 0.986 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.2241, allocations: 12.83 kB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.2241, allocations: 4 kB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2241, allocations: 3.953 kB / 0.986 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2241, allocations: 0 / 0.986 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.2242, allocations: 221.6 kB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2242, allocations: 0 / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.2243, allocations: 15.94 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2243, allocations: 0 / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2243, allocations: 0 / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2243, allocations: 4 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2243, allocations: 4 kB / 0.9862 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.2245, allocations: 156.9 kB / 0.9864 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.2245, allocations: 89 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.2246, allocations: 8 kB / 0.9865 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.154e-05/0.2246, allocations: 4 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.2246, allocations: 15.92 kB / 0.9865 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.2246, allocations: 4 kB / 0.9865 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.2247, allocations: 119.2 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2247, allocations: 0 / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002353/0.225, allocations: 59.84 kB / 0.9866 GB, free: 19.99 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.0001707/0.2251, allocations: 107.2 kB / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003886/0.2255, allocations: 385.6 kB / 0.9871 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2255, allocations: 7.875 kB / 0.9871 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.702e-05/0.2256, allocations: 51.92 kB / 0.9872 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.2259, allocations: 30.2 kB / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.2262, allocations: 260.6 kB / 0.9875 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.2263, allocations: 0.7126 MB / 0.9881 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.2264, allocations: 16.58 kB / 0.9882 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.2264, allocations: 11.44 kB / 0.9882 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2264, allocations: 0 / 0.9882 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of Templates: time 0.004303/0.2307, allocations: 2.552 MB / 0.9907 GB, free: 15.81 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)