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.234/2.234, allocations: 248.7 MB / 256.2 MB, free: 7.117 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.001449/0.001448, allocations: 186.5 kB / 315.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 93.72 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.257e-05/2.263e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2179, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8314/1.049, allocations: 131.5 MB / 1.012 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/1.05, allocations: 70.77 kB / 1.013 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002347/1.052, allocations: 0.6573 MB / 1.013 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.664e-06/1.052, allocations: 0 / 1.013 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.875e-06/1.052, allocations: 0 / 1.013 GB, free: 6.734 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.0004532/1.053, allocations: 345.9 kB / 1.014 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.053, allocations: 8.031 kB / 1.014 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/1.053, allocations: 4 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/1.053, allocations: 170.9 kB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/1.053, allocations: 0 / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/1.053, allocations: 0 / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.484e-05/1.053, allocations: 14.5 kB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.403e-05/1.053, allocations: 41.62 kB / 1.014 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/1.053, allocations: 0 / 1.014 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/1.053, allocations: 0 / 1.014 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.053, allocations: 0 / 1.014 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/1.054, allocations: 239.9 kB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/1.054, allocations: 90.67 kB / 1.014 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/1.054, allocations: 12.8 kB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/1.054, allocations: 0 / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/1.054, allocations: 54.25 kB / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/1.055, allocations: 0 / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001944/1.055, allocations: 49.5 kB / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/1.055, allocations: 55.41 kB / 1.014 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/1.055, allocations: 103.5 kB / 1.014 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/1.055, allocations: 29.64 kB / 1.014 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/1.055, allocations: 84.05 kB / 1.014 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/1.055, allocations: 3.438 kB / 1.014 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/1.055, allocations: 3.938 kB / 1.014 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.055, allocations: 322.8 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/1.055, allocations: 11.38 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.227e-05/1.055, allocations: 20.41 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/1.055, allocations: 7.188 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.055, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001209/1.055, allocations: 52.97 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.055, allocations: 8 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.055, allocations: 0 / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.056, allocations: 0 / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.304e-05/1.056, allocations: 8.844 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.056, allocations: 3.938 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.11e-05/1.056, allocations: 7.984 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/1.056, allocations: 4 kB / 1.015 GB, free: 4.871 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.939e-05/1.056, allocations: 108.4 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001084/1.056, allocations: 53.58 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/1.056, allocations: 7.906 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/1.056, allocations: 4.344 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/1.056, allocations: 4 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.056, allocations: 1.562 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.056, allocations: 3.953 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/1.056, allocations: 148.8 kB / 1.015 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.056, allocations: 0 / 1.015 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-05/1.056, allocations: 0 / 1.015 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/1.056, allocations: 0 / 1.015 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/1.056, allocations: 4 kB / 1.015 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.056, allocations: 3.938 kB / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.056, allocations: 0 / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/1.057, allocations: 83.69 kB / 1.015 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/1.057, allocations: 84.95 kB / 1.015 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/1.057, allocations: 5.375 kB / 1.015 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.238e-05/1.057, allocations: 4 kB / 1.015 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/1.057, allocations: 3.984 kB / 1.015 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/1.057, allocations: 4 kB / 1.015 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.038e-05/1.057, allocations: 82.84 kB / 1.015 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.057, allocations: 4 kB / 1.015 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000241/1.057, allocations: 4 kB / 1.015 GB, free: 4.199 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.0004824/1.058, allocations: 0.6208 MB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001132/1.058, allocations: 15.19 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.058, allocations: 3.938 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.905e-05/1.058, allocations: 15.25 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/1.058, allocations: 14.42 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/1.058, allocations: 104.8 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/1.059, allocations: 0.6807 MB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.203e-05/1.059, allocations: 7.984 kB / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/1.059, allocations: 11 kB / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/1.059, allocations: 0 / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/1.094, allocations: 0.8908 MB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003198/1.095, allocations: 174.3 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/3.278, allocations: 0 / 1.018 GB, free: 1.582 MB / 0.6355 GB