Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.456/2.456, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001557, allocations: 182.4 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.5/2.5, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 92.03 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006244/0.0006245, allocations: 13.03 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2158, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001592/0.2175, allocations: 1.025 MB / 0.8999 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004249/0.218, allocations: 181.5 kB / 0.9001 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.218, allocations: 4 kB / 0.9001 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.218, allocations: 0 / 0.9001 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.2181, allocations: 11.92 kB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.2183, allocations: 7.984 kB / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.391e-05/0.2183, allocations: 15.98 kB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.2185, allocations: 11.98 kB / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.2185, allocations: 7.938 kB / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.227e-05/0.2186, allocations: 19.91 kB / 0.9001 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.2186, allocations: 0 / 0.9001 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.2186, allocations: 0 / 0.9001 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.2186, allocations: 11.94 kB / 0.9002 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.2187, allocations: 25.7 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.779e-05/0.2188, allocations: 23.95 kB / 0.9002 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2188, allocations: 7.938 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2188, allocations: 0 / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.2188, allocations: 0 / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004599/0.2193, allocations: 339.5 kB / 0.9005 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.2193, allocations: 12.03 kB / 0.9005 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.2194, allocations: 7.906 kB / 0.9006 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2195, allocations: 163 kB / 0.9007 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.2195, allocations: 7.984 kB / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.2195, allocations: 0 / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.2197, allocations: 41.64 kB / 0.9008 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2197, allocations: 0 / 0.9008 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2197, allocations: 3.984 kB / 0.9008 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2197, allocations: 0 / 0.9008 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.2198, allocations: 12 kB / 0.9008 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.2202, allocations: 264.9 kB / 0.901 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.2207, allocations: 94.45 kB / 0.9011 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.2207, allocations: 96 / 0.9011 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.2209, allocations: 55.45 kB / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.2209, allocations: 0 / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.000205/0.2211, allocations: 61.59 kB / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.2212, allocations: 63.34 kB / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.641e-05/0.2212, allocations: 109.8 kB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.2213, allocations: 29.7 kB / 0.9014 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.2213, allocations: 80.14 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.2213, allocations: 15.89 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.2213, allocations: 0 / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.2214, allocations: 314.8 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.285e-05/0.2215, allocations: 8 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.124e-05/0.2215, allocations: 25.72 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.2216, allocations: 11.98 kB / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2216, allocations: 3.938 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001094/0.2217, allocations: 49.83 kB / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2217, allocations: 7.984 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2217, allocations: 4.047 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2218, allocations: 3.984 kB / 0.9019 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.265e-05/0.2218, allocations: 4 kB / 0.9019 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2218, allocations: 0 / 0.9019 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.873e-05/0.2219, allocations: 15.98 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.2219, allocations: 4 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booToInt.y,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.367e-05/0.222, allocations: 113.8 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.2221, allocations: 7.906 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.2221, allocations: 7.906 kB / 0.9021 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.2221, allocations: 0 / 0.9021 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.2221, allocations: 4 kB / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2221, allocations: 3.938 kB / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.2223, allocations: 169.5 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2223, allocations: 0 / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.2223, allocations: 4 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2223, allocations: 0 / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2223, allocations: 4 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.2224, allocations: 0 / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2224, allocations: 0 / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.2225, allocations: 85.08 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.2225, allocations: 89 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.2226, allocations: 384 / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.2227, allocations: 8 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.2227, allocations: 3.984 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.2227, allocations: 8 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.2228, allocations: 87.27 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.223e-06/0.2228, allocations: 0 / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002498/0.223, allocations: 7.938 kB / 0.9025 GB, free: 61.39 MB / 0.6042 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,booToInt.y,booPul.y,booPul.pulseStart) * 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.0001092/0.2232, allocations: 103.2 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.2233, allocations: 23.98 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2233, allocations: 0 / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.342e-05/0.2234, allocations: 19.94 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.2236, allocations: 7.953 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.224, allocations: 146.5 kB / 0.9028 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.2241, allocations: 0.6848 MB / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.2241, allocations: 0 / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.2242, allocations: 11.44 kB / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of SimCode: time 7.71e-07/0.2242, allocations: 0 / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.003049/0.2272, allocations: 474.7 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB