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.289/2.289, 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.001549/0.001549, allocations: 174.8 kB / 325.6 MB, free: 2.836 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.557/2.557, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.001144/0.001143, allocations: 98.67 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004793, allocations: 13 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2362, allocations: 106.2 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/0.4768, allocations: 131.3 MB / 1.027 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.4771, allocations: 71.95 kB / 1.027 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002261/0.4794, allocations: 0.6531 MB / 1.028 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4794, allocations: 3.938 kB / 1.028 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.4794, allocations: 0 / 1.028 GB, free: 13.75 MB / 0.6823 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.0004647/0.4799, allocations: 343.2 kB / 1.028 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.48, allocations: 12.03 kB / 1.028 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.48, allocations: 3.906 kB / 1.028 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.4802, allocations: 175 kB / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.4802, allocations: 4 kB / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.4802, allocations: 7.938 kB / 1.028 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.4803, allocations: 37.69 kB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.4804, allocations: 0 / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4804, allocations: 0 / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.4804, allocations: 0 / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.4805, allocations: 12 kB / 1.028 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.4809, allocations: 264.9 kB / 1.029 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005519/0.4815, allocations: 94.44 kB / 1.029 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.4815, allocations: 0 / 1.029 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.4817, allocations: 55.56 kB / 1.029 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.4817, allocations: 0 / 1.029 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002387/0.4819, allocations: 69.8 kB / 1.029 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.482, allocations: 51.41 kB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.918e-05/0.4821, allocations: 108.8 kB / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.4821, allocations: 29.7 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.4822, allocations: 84.14 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.4822, allocations: 11.84 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-06/0.4822, allocations: 0 / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.4824, allocations: 318.8 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.287e-05/0.4824, allocations: 4 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.754e-05/0.4825, allocations: 21.72 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.104e-05/0.4825, allocations: 15.98 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4825, allocations: 0 / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001307/0.4827, allocations: 53.64 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.4827, allocations: 11.98 kB / 1.03 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4827, allocations: 0 / 1.03 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4828, allocations: 0 / 1.03 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.435e-05/0.4828, allocations: 4 kB / 1.03 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4828, allocations: 0 / 1.03 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.4829, allocations: 4 kB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.4829, allocations: 15.97 kB / 1.03 GB, free: 11.76 MB / 0.6823 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 9.842e-05/0.483, allocations: 119.2 kB / 1.03 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.4831, allocations: 11.78 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.4831, allocations: 3.906 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.4831, allocations: 4 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.4831, allocations: 384 / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4832, allocations: 0 / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.4833, allocations: 173.6 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4834, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.4834, allocations: 4 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4834, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.4834, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.4834, allocations: 4 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4834, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.4836, allocations: 77.08 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.4837, allocations: 85 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.4837, allocations: 4 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.4838, allocations: 11.94 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.4838, allocations: 7.984 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.4839, allocations: 7.938 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.695e-05/0.4839, allocations: 83.27 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4839, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002368/0.4842, allocations: 12 kB / 1.03 GB, free: 11.06 MB / 0.6823 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.0001211/0.4843, allocations: 95.25 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.4844, allocations: 23.98 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4845, allocations: 4 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.804e-05/0.4845, allocations: 15.94 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.4847, allocations: 7.953 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.4851, allocations: 134.5 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.4854, allocations: 0.6908 MB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.4854, allocations: 0 / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.4855, allocations: 11.44 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/0.4855, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of Templates: time 0.003082/0.4886, allocations: 470 kB / 1.032 GB, free: 9.562 MB / 0.6823 GB