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.719/1.719, allocations: 288.3 MB / 303.2 MB, free: 8.227 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.001397/0.001397, allocations: 181 kB / 371.9 MB, free: 10.27 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.803/1.803, allocations: 205.4 MB / 0.6306 GB, free: 9.992 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.00102/0.00102, allocations: 82.89 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003708, allocations: 14.77 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2506, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00099/0.2517, allocations: 336.4 kB / 0.9798 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.2533, allocations: 1.069 MB / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.2534, allocations: 0 / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.2534, allocations: 0 / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.097e-05/0.2535, allocations: 11.98 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.2541, allocations: 102.1 kB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.999e-05/0.2542, allocations: 47.94 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.951e-05/0.2543, allocations: 3.984 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.2544, allocations: 31.92 kB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.516e-05/0.2545, allocations: 23.97 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.2546, allocations: 4 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.185e-05/0.2547, allocations: 19.92 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.2547, allocations: 11.97 kB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.2547, allocations: 37.64 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.2549, allocations: 47.88 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2549, allocations: 0 / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2549, allocations: 0 / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.2549, allocations: 3.938 kB / 0.9811 GB, free: 25.94 MB / 0.6198 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.0004009/0.2553, allocations: 369.2 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2554, allocations: 12.03 kB / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.2554, allocations: 4 kB / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.277e-05/0.2555, allocations: 174.9 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.2556, allocations: 4 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.2556, allocations: 7.938 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.2557, allocations: 37.69 kB / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2558, allocations: 0 / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2558, allocations: 4 kB / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2558, allocations: 11.98 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.722e-05/0.2559, allocations: 8 kB / 0.9817 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.2563, allocations: 300.8 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.911e-05/0.2564, allocations: 30.52 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.2564, allocations: 0 / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.2566, allocations: 63.45 kB / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.2566, allocations: 0 / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002223/0.2568, allocations: 65.62 kB / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.2569, allocations: 55.39 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.2569, allocations: 117.8 kB / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.257, allocations: 25.7 kB / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.257, allocations: 88.14 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.2571, allocations: 3.906 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.2571, allocations: 4 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.973e-05/0.2572, allocations: 322.8 kB / 0.9828 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.2573, allocations: 31.97 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.2574, allocations: 46.56 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.2575, allocations: 57.69 kB / 0.9829 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2575, allocations: 4 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003361/0.2579, allocations: 151.3 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.2579, allocations: 37.7 kB / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.258, allocations: 0 / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.258, allocations: 0 / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.2581, allocations: 11.92 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.2581, allocations: 0 / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.2584, allocations: 43.91 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.2585, allocations: 4 kB / 0.9831 GB, free: 23.63 MB / 0.6198 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.186e-05/0.2586, allocations: 117.8 kB / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.2586, allocations: 11.92 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.2586, allocations: 3.906 kB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2587, allocations: 0 / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2587, allocations: 0 / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2587, allocations: 0 / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.2588, allocations: 169.6 kB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2588, allocations: 4 kB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.2589, allocations: 4 kB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2589, allocations: 0 / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.2589, allocations: 0 / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2589, allocations: 0 / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2589, allocations: 0 / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.2591, allocations: 85.02 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.2591, allocations: 89 kB / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.2591, allocations: 12.06 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.512e-05/0.2592, allocations: 0 / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.2592, allocations: 4 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.2593, allocations: 0 / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.859e-05/0.2593, allocations: 87.27 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2593, allocations: 0 / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003676/0.2597, allocations: 20 kB / 0.9837 GB, free: 22.94 MB / 0.6198 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.0001318/0.2598, allocations: 103.2 kB / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.2601, allocations: 135.6 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2601, allocations: 0 / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.954e-05/0.2602, allocations: 12 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.2604, allocations: 18.42 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.2607, allocations: 138.7 kB / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.2608, allocations: 0.6889 MB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.709e-05/0.2608, allocations: 7.984 kB / 0.9848 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.2609, allocations: 7.438 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.2609, allocations: 3.938 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.003934/0.2648, allocations: 0.977 MB / 0.9857 GB, free: 20.8 MB / 0.6198 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)