Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.892/1.892, allocations: 287.5 MB / 302.6 MB, free: 8.234 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.001205/0.001205, allocations: 190.1 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.4 MB / 0.6298 GB, free: 10.61 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.0008901/0.0008898, allocations: 98.23 kB / 0.7432 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004299, allocations: 15.19 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2822, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0009519/0.2832, allocations: 341.9 kB / 0.979 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.2847, allocations: 1.086 MB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.2848, allocations: 0 / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.2849, allocations: 3.938 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.495e-05/0.2849, allocations: 0 / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005701/0.2855, allocations: 114.2 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.2856, allocations: 79.81 kB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2857, allocations: 7.938 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.2858, allocations: 23.98 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.2859, allocations: 27.89 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.2859, allocations: 4 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.022e-05/0.286, allocations: 19.98 kB / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.2861, allocations: 7.922 kB / 0.9804 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.2861, allocations: 37.7 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.2862, allocations: 51.88 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2862, allocations: 4 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2862, allocations: 0 / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2863, allocations: 0 / 0.9804 GB, free: 26.38 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.0004104/0.2867, allocations: 357.4 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2867, allocations: 12.03 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.2868, allocations: 4.938 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2869, allocations: 176.3 kB / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.2869, allocations: 4.375 kB / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.287, allocations: 4.375 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.2871, allocations: 50.19 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2871, allocations: 192 / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2871, allocations: 3.938 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2871, allocations: 0 / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.076e-05/0.2872, allocations: 4 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.2876, allocations: 296.8 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.285e-05/0.2877, allocations: 38.45 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/0.2877, allocations: 8.922 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.2878, allocations: 0 / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.2879, allocations: 59.39 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.2879, allocations: 0 / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002134/0.2882, allocations: 73.58 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.2882, allocations: 55.34 kB / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.2883, allocations: 113.8 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.2883, allocations: 25.7 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.2884, allocations: 88.14 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.2884, allocations: 11.78 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.2884, allocations: 4 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.546e-05/0.2885, allocations: 318.8 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.823e-05/0.2886, allocations: 27.98 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.549e-05/0.2887, allocations: 46.56 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.2888, allocations: 96.27 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2888, allocations: 3.938 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000235/0.289, allocations: 143.3 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.2891, allocations: 41.69 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2891, allocations: 240 / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.2891, allocations: 4 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.2892, allocations: 4.062 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.2892, allocations: 4 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.2895, allocations: 35.88 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.2895, allocations: 11.97 kB / 0.9825 GB, free: 24.03 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 7.229e-05/0.2896, allocations: 121.8 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.2896, allocations: 4 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.2896, allocations: 7.906 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2896, allocations: 0 / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.2897, allocations: 4 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2897, allocations: 0 / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.318e-05/0.2898, allocations: 165.6 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2898, allocations: 0 / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.735e-05/0.2898, allocations: 7.938 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2898, allocations: 0 / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.2898, allocations: 0 / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2898, allocations: 4 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2898, allocations: 4 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.2899, allocations: 92.95 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.29, allocations: 77.11 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.29, allocations: 0 / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.445e-05/0.29, allocations: 0 / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.2901, allocations: 7.984 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.2901, allocations: 0 / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.568e-05/0.2901, allocations: 91.28 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.283e-06/0.2901, allocations: 0 / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002067/0.2903, allocations: 19.94 kB / 0.9831 GB, free: 23.34 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.0001477/0.2905, allocations: 107.2 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.2907, allocations: 127.3 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2907, allocations: 0 / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.2907, allocations: 15.94 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.291, allocations: 20.05 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.2913, allocations: 130.7 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.2915, allocations: 0.6848 MB / 0.9841 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.077e-05/0.2915, allocations: 4 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.2915, allocations: 7.438 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.2915, allocations: 4 kB / 0.9841 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.00373/0.2953, allocations: 1.013 MB / 0.9851 GB, free: 21.17 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)