Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 292.6 MB / 307.5 MB, free: 5.07 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.001269/0.001269, allocations: 177.1 kB / 377.1 MB, free: 1.41 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.832/1.832, allocations: 205.4 MB / 0.6367 GB, free: 8.512 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.0008754/0.000875, allocations: 90.98 kB / 0.751 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003597, allocations: 11.98 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2944, allocations: 116.3 MB / 0.9884 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8052/1.1, allocations: 139.1 MB / 1.124 GB, free: 35.51 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/1.1, allocations: 77.78 kB / 1.124 GB, free: 35.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005015/1.105, allocations: 1.796 MB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.034e-06/1.105, allocations: 4 kB / 1.126 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.623e-06/1.105, allocations: 4 kB / 1.126 GB, free: 34.12 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003572/1.105, allocations: 373.4 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/1.105, allocations: 8.031 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/1.106, allocations: 6.062 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/1.106, allocations: 163.8 kB / 1.127 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/1.106, allocations: 7.938 kB / 1.127 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/1.106, allocations: 8.656 kB / 1.127 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.885e-05/1.106, allocations: 44.12 kB / 1.127 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.106, allocations: 1.188 kB / 1.127 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/1.106, allocations: 4 kB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.106, allocations: 0 / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.456e-05/1.106, allocations: 9.125 kB / 1.127 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/1.106, allocations: 288.5 kB / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.102e-05/1.106, allocations: 29.73 kB / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/1.106, allocations: 9.828 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/1.107, allocations: 67.56 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 2.445e-06/1.107, allocations: 0 / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001983/1.107, allocations: 70.23 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/1.107, allocations: 51.41 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.713e-05/1.107, allocations: 100.2 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/1.107, allocations: 26.27 kB / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/1.107, allocations: 95.66 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/1.107, allocations: 7.891 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/1.107, allocations: 7.938 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.08e-05/1.107, allocations: 318.8 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.728e-05/1.107, allocations: 30.8 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/1.107, allocations: 50.56 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.622e-05/1.107, allocations: 61.17 kB / 1.128 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.107, allocations: 0 / 1.128 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002183/1.108, allocations: 152.9 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/1.108, allocations: 33.7 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.108, allocations: 0.8125 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.108, allocations: 0 / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-05/1.108, allocations: 12.02 kB / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/1.108, allocations: 0 / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/1.108, allocations: 39 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/1.108, allocations: 4 kB / 1.128 GB, free: 31.96 MB / 0.7292 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 7.052e-05/1.108, allocations: 121.8 kB / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/1.108, allocations: 7.906 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/1.108, allocations: 8.594 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/1.108, allocations: 0 / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.108, allocations: 4 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.108, allocations: 0 / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.857e-05/1.108, allocations: 165.6 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.108, allocations: 1.125 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/1.108, allocations: 4 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.108, allocations: 0 / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/1.108, allocations: 3.516 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.108, allocations: 0.6875 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.108, allocations: 0 / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.81e-05/1.108, allocations: 94.52 kB / 1.128 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/1.108, allocations: 81.11 kB / 1.128 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/1.108, allocations: 3.703 kB / 1.128 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.431e-05/1.108, allocations: 0.5 kB / 1.128 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/1.108, allocations: 4 kB / 1.128 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/1.108, allocations: 0 / 1.128 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.91e-05/1.108, allocations: 90.83 kB / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.01e-07/1.108, allocations: 0.8438 kB / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002022/1.109, allocations: 27.94 kB / 1.129 GB, free: 31.29 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: 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.0001345/1.109, allocations: 114.8 kB / 1.129 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001798/1.109, allocations: 126.1 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.109, allocations: 0 / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.027e-05/1.109, allocations: 11.38 kB / 1.129 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/1.109, allocations: 8 kB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/1.109, allocations: 144.4 kB / 1.129 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/1.11, allocations: 0.6802 MB / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.298e-05/1.11, allocations: 7.188 kB / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/1.11, allocations: 11.38 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.11, allocations: 0 / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of Templates: time 0.003147/1.113, allocations: 0.9714 MB / 1.131 GB, free: 29.63 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)