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.64/1.64, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001704/0.001704, allocations: 176.9 kB / 361.4 MB, free: 6.824 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.882/1.882, allocations: 205.2 MB / 0.62 GB, free: 11.69 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009267/0.0009267, allocations: 87.64 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.414e-05/2.427e-05, allocations: 8 kB / 0.8518 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/0.7178, allocations: 115.3 MB / 0.9644 GB, free: 78.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.9155, allocations: 137.7 MB / 1.099 GB, free: 2.117 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.9157, allocations: 70.09 kB / 1.099 GB, free: 2.051 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01369/0.9294, allocations: 4.469 MB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9295, allocations: 0 / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.9295, allocations: 0 / 1.103 GB, free: 13.66 MB / 0.7136 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.0006356/0.9301, allocations: 492.2 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.9302, allocations: 12.03 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.458e-05/0.9303, allocations: 16.94 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.9305, allocations: 180.2 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.9305, allocations: 4 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.9306, allocations: 19.98 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001359/0.9307, allocations: 40 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.9309, allocations: 78.47 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.9309, allocations: 0 / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.9309, allocations: 7.938 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.9309, allocations: 0 / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.9316, allocations: 468.9 kB / 1.105 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.9318, allocations: 62.7 kB / 1.105 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.9319, allocations: 30.56 kB / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.9319, allocations: 0 / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.9321, allocations: 106.2 kB / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.743e-06/0.9321, allocations: 0 / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002886/0.9324, allocations: 126.3 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.9325, allocations: 59.39 kB / 1.105 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.9326, allocations: 137.1 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.9326, allocations: 29.7 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/0.9327, allocations: 120.3 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.9328, allocations: 27.84 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.9328, allocations: 4 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.9329, allocations: 326.8 kB / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.9331, allocations: 75.98 kB / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.9333, allocations: 127.8 kB / 1.106 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.9338, allocations: 125.2 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.9338, allocations: 0 / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007497/0.9346, allocations: 306.2 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.839e-05/0.9347, allocations: 101.1 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.9347, allocations: 0 / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.9347, allocations: 4 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.9348, allocations: 11.98 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.9348, allocations: 7.938 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.9353, allocations: 108 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.9354, allocations: 23.98 kB / 1.106 GB, free: 10.24 MB / 0.7136 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 () * 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.0001432/0.9355, allocations: 115.6 kB / 1.107 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.9356, allocations: 19.8 kB / 1.107 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.9356, allocations: 8.75 kB / 1.107 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.9356, allocations: 4 kB / 1.107 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.9357, allocations: 0 / 1.107 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.9357, allocations: 4 kB / 1.107 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.9359, allocations: 186.2 kB / 1.107 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.9359, allocations: 4 kB / 1.107 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/0.936, allocations: 7.938 kB / 1.107 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.936, allocations: 7.953 kB / 1.107 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.936, allocations: 3.984 kB / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.936, allocations: 0 / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.936, allocations: 0 / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.9363, allocations: 146 kB / 1.107 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.9363, allocations: 92.91 kB / 1.107 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.9364, allocations: 4.641 kB / 1.107 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.937e-05/0.9364, allocations: 0 / 1.107 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.9365, allocations: 11.98 kB / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.9365, allocations: 8 kB / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.86e-05/0.9366, allocations: 102.5 kB / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9366, allocations: 0 / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002771/0.9368, allocations: 55.94 kB / 1.107 GB, free: 9.402 MB / 0.7136 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 () * 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.0002565/0.9371, allocations: 126.9 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006237/0.9377, allocations: 358.1 kB / 1.108 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9378, allocations: 0 / 1.108 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.9378, allocations: 48.44 kB / 1.108 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.9381, allocations: 17.58 kB / 1.108 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.9386, allocations: 152.2 kB / 1.108 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.939, allocations: 0.7119 MB / 1.109 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.316e-05/0.939, allocations: 16.86 kB / 1.109 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.9391, allocations: 11.44 kB / 1.109 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.9391, allocations: 0 / 1.109 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of Templates: time 0.005107/0.9442, allocations: 2.331 MB / 1.111 GB, free: 5.648 MB / 0.7136 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)