Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.204/2.204, allocations: 248.5 MB / 261.1 MB, free: 5.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002185/0.002185, allocations: 174.4 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.2 MB / 0.571 GB, free: 11.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001191/0.00119, allocations: 92.02 kB / 0.6754 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.421e-05/4.445e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.202, allocations: 106.3 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9086/1.111, allocations: 131.2 MB / 1.019 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/1.111, allocations: 73.45 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002304/1.113, allocations: 0.6528 MB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/1.113, allocations: 0 / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.113, allocations: 0 / 1.02 GB, free: 3.371 MB / 0.6355 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.0004579/1.114, allocations: 341.7 kB / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/1.114, allocations: 12.03 kB / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.91e-05/1.114, allocations: 30.56 kB / 1.02 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/1.114, allocations: 0 / 1.02 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/1.114, allocations: 178.6 kB / 1.02 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/1.114, allocations: 4 kB / 1.02 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/1.114, allocations: 4 kB / 1.02 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/1.114, allocations: 37.5 kB / 1.02 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.114, allocations: 4 kB / 1.02 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/1.114, allocations: 0 / 1.02 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-06/1.114, allocations: 0 / 1.02 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/1.114, allocations: 11.56 kB / 1.02 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/1.115, allocations: 261.9 kB / 1.02 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/1.116, allocations: 96.5 kB / 1.02 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/1.116, allocations: 12.23 kB / 1.02 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/1.116, allocations: 0 / 1.02 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/1.116, allocations: 57.75 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 4.258e-06/1.116, allocations: 3.984 kB / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002027/1.116, allocations: 52.94 kB / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/1.116, allocations: 55.36 kB / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.116, allocations: 107.8 kB / 1.021 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/1.116, allocations: 25.7 kB / 1.021 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/1.116, allocations: 91.42 kB / 1.021 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/1.116, allocations: 3.984 kB / 1.021 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/1.116, allocations: 3.938 kB / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.116, allocations: 316.9 kB / 1.021 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/1.117, allocations: 11.44 kB / 1.021 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.357e-05/1.117, allocations: 17.16 kB / 1.021 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.052e-05/1.117, allocations: 11.98 kB / 1.021 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/1.117, allocations: 4 kB / 1.021 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001292/1.117, allocations: 55.73 kB / 1.021 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.117, allocations: 4 kB / 1.021 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/1.117, allocations: 3.984 kB / 1.021 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/1.117, allocations: 4 kB / 1.021 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/1.117, allocations: 4 kB / 1.021 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/1.117, allocations: 0 / 1.021 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.634e-05/1.117, allocations: 12.67 kB / 1.021 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/1.117, allocations: 3.5 kB / 1.021 GB, free: 1.418 MB / 0.6355 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 () * 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 8.526e-05/1.117, allocations: 108.9 kB / 1.021 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/1.117, allocations: 7.984 kB / 1.021 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/1.117, allocations: 7.906 kB / 1.021 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.117, allocations: 0 / 1.021 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.117, allocations: 0 / 1.021 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.117, allocations: 0 / 1.021 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/1.117, allocations: 173.4 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.118, allocations: 4 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/1.118, allocations: 0 / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.118, allocations: 4 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/1.118, allocations: 3.688 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/1.118, allocations: 0 / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.118, allocations: 4 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/1.118, allocations: 84.27 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/1.118, allocations: 85.03 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/1.118, allocations: 4 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/1.118, allocations: 4 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/1.118, allocations: 7.984 kB / 1.022 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/1.118, allocations: 0 / 1.022 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.405e-05/1.118, allocations: 86.59 kB / 1.022 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.118, allocations: 0 / 1.022 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002578/1.118, allocations: 7.375 kB / 1.022 GB, free: 0.7656 MB / 0.6355 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 () * 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.0005014/1.119, allocations: 0.6191 MB / 1.022 GB, free: 124 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001273/1.119, allocations: 30.98 kB / 1.022 GB, free: 100 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.119, allocations: 0 / 1.022 GB, free: 100 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/1.119, allocations: 15.38 kB / 1.022 GB, free: 88 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/1.119, allocations: 7.984 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/1.12, allocations: 109.9 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/1.12, allocations: 0.6809 MB / 1.023 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.936e-05/1.12, allocations: 3.984 kB / 1.023 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/1.12, allocations: 14.94 kB / 1.023 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of SimCode: time 3.677e-06/1.12, allocations: 0 / 1.023 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/1.14, allocations: 1.219 MB / 1.024 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003244/1.14, allocations: 170.5 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/3.442, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.6511 GB