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 2.905/2.905, allocations: 287.5 MB / 302.4 MB, free: 8.344 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.001449/0.001449, allocations: 190.2 kB / 371 MB, free: 10.86 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.325/2.325, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009108/0.0009109, allocations: 92.83 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006646/0.000665, allocations: 16.2 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2739, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001124/0.2752, allocations: 349.8 kB / 0.9787 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.2773, allocations: 1.079 MB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.2774, allocations: 0 / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.2775, allocations: 4 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.2776, allocations: 7.922 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007083/0.2783, allocations: 106.8 kB / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.2785, allocations: 71.83 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.2786, allocations: 8 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.574e-05/0.2787, allocations: 27.92 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.2788, allocations: 31.88 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.2788, allocations: 4 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.94e-05/0.279, allocations: 19.98 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.279, allocations: 4 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.2791, allocations: 33.7 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.2792, allocations: 55.86 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2793, allocations: 3.938 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2793, allocations: 0 / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2793, allocations: 4 kB / 0.9801 GB, free: 26.55 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.0004904/0.2798, allocations: 365.2 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.2799, allocations: 8.031 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.33e-05/0.2799, allocations: 8 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.2801, allocations: 178.9 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.2801, allocations: 4 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.2802, allocations: 7.984 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.2803, allocations: 37.69 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2804, allocations: 0 / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2804, allocations: 4 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-06/0.2804, allocations: 0 / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.316e-05/0.2805, allocations: 12 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.281, allocations: 300.7 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.145e-05/0.2811, allocations: 22.58 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/0.2812, allocations: 8.922 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.2812, allocations: 4 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.2814, allocations: 59.39 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.655e-06/0.2814, allocations: 0 / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003178/0.2818, allocations: 77.61 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.2818, allocations: 51.41 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.282, allocations: 113.7 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.282, allocations: 29.7 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.2821, allocations: 92.08 kB / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.2821, allocations: 7.906 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.2822, allocations: 4 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.2823, allocations: 322.8 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.2824, allocations: 31.98 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.2826, allocations: 46.86 kB / 0.9818 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.2828, allocations: 61.69 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2828, allocations: 3.938 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005144/0.2834, allocations: 151.3 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.388e-05/0.2834, allocations: 33.69 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2835, allocations: 4 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.2835, allocations: 0 / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.2836, allocations: 4 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2836, allocations: 80 / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.2842, allocations: 39.94 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.2842, allocations: 23.92 kB / 0.9821 GB, free: 24.22 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 0.0001304/0.2844, allocations: 113.8 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.2844, allocations: 0 / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.2845, allocations: 11.91 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2845, allocations: 0 / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.2845, allocations: 4 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2845, allocations: 0 / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.2847, allocations: 165.6 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2847, allocations: 0 / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.473e-05/0.2848, allocations: 0 / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2848, allocations: 0 / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.2848, allocations: 4.062 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2848, allocations: 7.938 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2849, allocations: 0 / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.2851, allocations: 97.28 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.2851, allocations: 81.02 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.2852, allocations: 4 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.653e-05/0.2852, allocations: 0 / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.2853, allocations: 3.984 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.2853, allocations: 4 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.104e-05/0.2854, allocations: 87.22 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.31e-07/0.2854, allocations: 0 / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004802/0.2859, allocations: 16 kB / 0.9827 GB, free: 23.54 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.0001991/0.2861, allocations: 111.2 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.2865, allocations: 127.3 kB / 0.9829 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.2865, allocations: 0 / 0.9829 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/0.2866, allocations: 12 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.287, allocations: 11.94 kB / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.2875, allocations: 146.7 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.2877, allocations: 0.677 MB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.763e-05/0.2878, allocations: 4 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.2878, allocations: 7.438 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of SimCode: time 1.343e-06/0.2878, allocations: 4 kB / 0.9838 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of Templates: time 0.005706/0.2935, allocations: 0.9868 MB / 0.9847 GB, free: 21.39 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)