Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.787/1.787, allocations: 288.3 MB / 303.2 MB, free: 8.215 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.001198/0.001199, allocations: 189 kB / 371.9 MB, free: 10.29 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.989/1.989, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.001084/0.001084, allocations: 93.42 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000682/0.0006821, allocations: 19.62 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2725, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8159/1.088, allocations: 138.1 MB / 1.114 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/1.089, allocations: 68.45 kB / 1.114 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005955/1.095, allocations: 1.802 MB / 1.116 GB, free: 32.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.236e-06/1.095, allocations: 0 / 1.116 GB, free: 32.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.694e-06/1.095, allocations: 0 / 1.116 GB, free: 32.05 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004678/1.095, allocations: 374.2 kB / 1.116 GB, free: 31.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.095, allocations: 11.66 kB / 1.116 GB, free: 31.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/1.095, allocations: 4.812 kB / 1.117 GB, free: 31.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/1.096, allocations: 169.4 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/1.096, allocations: 3.812 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/1.096, allocations: 3.906 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/1.096, allocations: 37.95 kB / 1.117 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/1.096, allocations: 0 / 1.117 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/1.096, allocations: 3.75 kB / 1.117 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.096, allocations: 0 / 1.117 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.317e-05/1.096, allocations: 14.22 kB / 1.117 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/1.096, allocations: 297.1 kB / 1.117 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.807e-05/1.096, allocations: 24.97 kB / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/1.096, allocations: 3.875 kB / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/1.097, allocations: 70.72 kB / 1.117 GB, free: 31.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/1.097, allocations: 0 / 1.117 GB, free: 31.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001914/1.097, allocations: 70.11 kB / 1.117 GB, free: 31.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/1.097, allocations: 55.31 kB / 1.117 GB, free: 30.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/1.097, allocations: 103.9 kB / 1.117 GB, free: 30.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/1.097, allocations: 29.64 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/1.097, allocations: 87.03 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/1.097, allocations: 15.45 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/1.097, allocations: 3.875 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.097, allocations: 314.8 kB / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/1.097, allocations: 36.89 kB / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/1.097, allocations: 55.66 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.671e-05/1.097, allocations: 52.52 kB / 1.118 GB, free: 30.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.097, allocations: 0 / 1.118 GB, free: 30.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002216/1.098, allocations: 154.7 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/1.098, allocations: 35.08 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/1.098, allocations: 4.062 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.098, allocations: 3.875 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.898e-05/1.098, allocations: 2.953 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/1.098, allocations: 0 / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/1.098, allocations: 33.11 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/1.098, allocations: 10.33 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booToInt.y,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.231e-05/1.098, allocations: 125.6 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-06/1.098, allocations: 3.906 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/1.098, allocations: 10.73 kB / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/1.098, allocations: 3.812 kB / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.098, allocations: 3.938 kB / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.098, allocations: 0 / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/1.098, allocations: 162.9 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.098, allocations: 0 / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/1.098, allocations: 3.094 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/1.098, allocations: 4 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/1.098, allocations: 11.31 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.098, allocations: 0 / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.098, allocations: 0 / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.779e-05/1.098, allocations: 81.72 kB / 1.119 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/1.099, allocations: 80.98 kB / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/1.099, allocations: 0 / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.513e-05/1.099, allocations: 0 / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/1.099, allocations: 9.484 kB / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/1.099, allocations: 7.688 kB / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.124e-05/1.099, allocations: 82.25 kB / 1.119 GB, free: 29.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.099, allocations: 3.938 kB / 1.119 GB, free: 29.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002069/1.099, allocations: 31.25 kB / 1.119 GB, free: 29.68 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001485/1.099, allocations: 105.5 kB / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002013/1.099, allocations: 121 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.099, allocations: 4.125 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/1.099, allocations: 20.38 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/1.099, allocations: 11.36 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/1.1, allocations: 132.7 kB / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/1.1, allocations: 0.6827 MB / 1.12 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.31e-05/1.1, allocations: 8.844 kB / 1.12 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/1.1, allocations: 7.438 kB / 1.12 GB, free: 28.69 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/1.1, allocations: 0 / 1.12 GB, free: 28.69 MB / 0.698 GB Notification: Performance of Templates: time 0.003068/1.103, allocations: 0.9765 MB / 1.121 GB, free: 28.6 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)