Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.585/2.585, allocations: 285 MB / 292.5 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001423/0.001422, allocations: 180.9 kB / 360.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.3 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.00108, allocations: 81.91 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.118e-05/4.123e-05, allocations: 11.98 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8111/0.8112, allocations: 115.2 MB / 0.9635 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/1.048, allocations: 137.6 MB / 1.098 GB, free: 2.898 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.048, allocations: 73.69 kB / 1.098 GB, free: 2.828 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02186/1.07, allocations: 4.471 MB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.963e-06/1.07, allocations: 192 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.381e-05/1.07, allocations: 0 / 1.102 GB, free: 14.41 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.0006492/1.071, allocations: 496.5 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.071, allocations: 12.03 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.823e-05/1.071, allocations: 21.09 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/1.071, allocations: 179.5 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/1.071, allocations: 4 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/1.071, allocations: 12 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001756/1.071, allocations: 47.92 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/1.072, allocations: 75.22 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/1.072, allocations: 7.203 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/1.072, allocations: 0 / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/1.072, allocations: 8 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009298/1.073, allocations: 457 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/1.073, allocations: 70.62 kB / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.563e-05/1.073, allocations: 20.92 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/1.073, allocations: 0 / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/1.073, allocations: 115.4 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/1.073, allocations: 0 / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0003943/1.074, allocations: 119.6 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/1.074, allocations: 63.41 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/1.074, allocations: 136.8 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.428e-05/1.074, allocations: 37.7 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/1.074, allocations: 112.3 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/1.074, allocations: 19.72 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/1.074, allocations: 4 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.074, allocations: 326.8 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/1.075, allocations: 84.83 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/1.075, allocations: 137.9 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/1.076, allocations: 104.9 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/1.076, allocations: 4 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001245/1.077, allocations: 305.2 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.645e-05/1.077, allocations: 103 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.077, allocations: 0 / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.077, allocations: 4 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/1.077, allocations: 12 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.077, allocations: 14.94 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/1.078, allocations: 107.8 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.575e-05/1.078, allocations: 15.98 kB / 1.105 GB, free: 11 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.000153/1.078, allocations: 124.7 kB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/1.078, allocations: 19.81 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/1.079, allocations: 8.75 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/1.079, allocations: 4 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.079, allocations: 0 / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/1.079, allocations: 3.984 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/1.079, allocations: 182.2 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.079, allocations: 3.953 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/1.079, allocations: 19.92 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.079, allocations: 0 / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.079, allocations: 0 / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/1.079, allocations: 6.938 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.079, allocations: 4 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/1.079, allocations: 137 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/1.079, allocations: 92.88 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/1.079, allocations: 0 / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.673e-05/1.079, allocations: 8 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/1.08, allocations: 7.984 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/1.08, allocations: 7.984 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.683e-05/1.08, allocations: 102.1 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-07/1.08, allocations: 0 / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004085/1.08, allocations: 63.92 kB / 1.106 GB, free: 10.14 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.0002036/1.08, allocations: 111.8 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006974/1.081, allocations: 362.1 kB / 1.107 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.081, allocations: 0 / 1.107 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/1.081, allocations: 50.69 kB / 1.107 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/1.082, allocations: 24.78 kB / 1.107 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/1.082, allocations: 147.3 kB / 1.107 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/1.082, allocations: 0.7119 MB / 1.107 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.66e-05/1.082, allocations: 16.88 kB / 1.107 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/1.082, allocations: 11.44 kB / 1.107 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/1.083, allocations: 0 / 1.107 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of Templates: time 0.007536/1.09, allocations: 2.314 MB / 1.11 GB, free: 6.402 MB / 0.7136 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)