Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001113/0.001113, allocations: 198 kB / 377.1 MB, free: 1.52 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.801/1.801, allocations: 205.4 MB / 0.6367 GB, free: 8.617 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.000916/0.000916, allocations: 94.78 kB / 0.751 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003864, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3169, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8563/1.173, allocations: 139.4 MB / 1.125 GB, free: 35.27 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/1.174, allocations: 71.91 kB / 1.125 GB, free: 35.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01155/1.185, allocations: 4.507 MB / 1.129 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.274e-06/1.185, allocations: 0 / 1.129 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.624e-06/1.185, allocations: 0 / 1.129 GB, free: 32.05 MB / 0.7292 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.000452/1.186, allocations: 495.6 kB / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.186, allocations: 12.03 kB / 1.13 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.328e-05/1.186, allocations: 26.31 kB / 1.13 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/1.186, allocations: 172.2 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/1.186, allocations: 16 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/1.186, allocations: 23.44 kB / 1.13 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/1.186, allocations: 87.39 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.186, allocations: 0 / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/1.186, allocations: 4 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/1.186, allocations: 4.438 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.443e-05/1.186, allocations: 55.72 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/1.187, allocations: 498.8 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/1.187, allocations: 68.05 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/1.187, allocations: 0 / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/1.187, allocations: 117.6 kB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/1.187, allocations: 4 kB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0003097/1.188, allocations: 165.9 kB / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/1.188, allocations: 54.83 kB / 1.131 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/1.188, allocations: 151.6 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/1.188, allocations: 33.7 kB / 1.131 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/1.188, allocations: 115.7 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/1.188, allocations: 19.72 kB / 1.131 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/1.188, allocations: 12 kB / 1.131 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/1.188, allocations: 330.6 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/1.188, allocations: 98.3 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/1.189, allocations: 142.5 kB / 1.132 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/1.189, allocations: 178.2 kB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.189, allocations: 0 / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005296/1.189, allocations: 393.8 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/1.189, allocations: 104 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.189, allocations: 0.75 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.189, allocations: 4 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.459e-05/1.189, allocations: 12.66 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.189, allocations: 9.047 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/1.19, allocations: 112.7 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/1.19, allocations: 23.42 kB / 1.132 GB, free: 28.6 MB / 0.7292 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.0001245/1.19, allocations: 141.4 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/1.19, allocations: 12.41 kB / 1.133 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/1.19, allocations: 16.84 kB / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.19, allocations: 0.8438 kB / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.19, allocations: 0 / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.19, allocations: 3.516 kB / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/1.19, allocations: 223.3 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.19, allocations: 0 / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/1.19, allocations: 8 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.19, allocations: 0 / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/1.19, allocations: 11.56 kB / 1.133 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.19, allocations: 0.875 kB / 1.133 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.19, allocations: 8.5 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/1.191, allocations: 162.8 kB / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/1.191, allocations: 88.92 kB / 1.133 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/1.191, allocations: 3.562 kB / 1.133 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/1.191, allocations: 4 kB / 1.133 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/1.191, allocations: 11.52 kB / 1.133 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/1.191, allocations: 5.062 kB / 1.133 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.153e-05/1.191, allocations: 126.1 kB / 1.133 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.191, allocations: 0 / 1.133 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002622/1.191, allocations: 55.47 kB / 1.133 GB, free: 27.71 MB / 0.7292 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.0001729/1.191, allocations: 116 kB / 1.133 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004072/1.192, allocations: 381.7 kB / 1.134 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.192, allocations: 1.406 kB / 1.134 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/1.192, allocations: 55.08 kB / 1.134 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/1.192, allocations: 26.38 kB / 1.134 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/1.193, allocations: 266.7 kB / 1.134 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/1.193, allocations: 0.7141 MB / 1.135 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.044e-05/1.193, allocations: 12.97 kB / 1.135 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/1.193, allocations: 23.38 kB / 1.135 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/1.193, allocations: 0.9375 kB / 1.135 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.005562/1.198, allocations: 2.529 MB / 1.137 GB, free: 24.73 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)