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.13/2.13, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 167.1 kB / 325.5 MB, free: 2.902 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.449/2.449, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001095/0.001095, allocations: 95.53 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004855, allocations: 13.11 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2073, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2328/0.4402, allocations: 131.3 MB / 1.027 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/0.4406, allocations: 67.95 kB / 1.027 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002873/0.4435, allocations: 0.6568 MB / 1.028 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4436, allocations: 0 / 1.028 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.4436, allocations: 0 / 1.028 GB, free: 13.28 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.0005994/0.4442, allocations: 351.5 kB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.4443, allocations: 12.03 kB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.75e-05/0.4444, allocations: 30.56 kB / 1.028 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.4444, allocations: 7.906 kB / 1.028 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.4446, allocations: 171 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.4446, allocations: 4 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.4447, allocations: 0 / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.4449, allocations: 41.69 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4449, allocations: 4 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.4449, allocations: 3.938 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4449, allocations: 0 / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.015e-05/0.445, allocations: 19.94 kB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.4456, allocations: 256.9 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007538/0.4464, allocations: 94.48 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.4464, allocations: 0 / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.4466, allocations: 55.5 kB / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 2.956e-06/0.4467, allocations: 0 / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0003108/0.447, allocations: 65.59 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.4471, allocations: 63.3 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.4472, allocations: 101 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.4473, allocations: 25.7 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.4473, allocations: 88.14 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.4474, allocations: 7.891 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.4474, allocations: 0 / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4476, allocations: 318.8 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.4476, allocations: 4 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.4477, allocations: 29.64 kB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/0.4478, allocations: 8 kB / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4478, allocations: 0 / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001883/0.448, allocations: 57.69 kB / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.448, allocations: 4 kB / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4481, allocations: 0 / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.4481, allocations: 0 / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.4482, allocations: 7.938 kB / 1.029 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.4482, allocations: 8.031 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.4484, allocations: 11.94 kB / 1.029 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.4484, allocations: 0 / 1.029 GB, free: 11.24 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 0.0001227/0.4485, allocations: 115.7 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.4486, allocations: 7.906 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.4486, allocations: 3.906 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4486, allocations: 0 / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4486, allocations: 0 / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4487, allocations: 4 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.4489, allocations: 173.6 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.449, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.449, allocations: 4 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.449, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.449, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4491, allocations: 3.938 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4491, allocations: 384 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.4493, allocations: 88.94 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.4494, allocations: 89.02 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.4494, allocations: 4 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.4496, allocations: 7.984 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.4496, allocations: 8.281 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.966e-06/0.4497, allocations: 0 / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.674e-05/0.4497, allocations: 87.27 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/0.4498, allocations: 0 / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004312/0.4502, allocations: 8 kB / 1.03 GB, free: 10.55 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.0006169/0.4508, allocations: 0.6249 MB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.451, allocations: 23.98 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.451, allocations: 0 / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.382e-05/0.4511, allocations: 12 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.4514, allocations: 19.05 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.4526, allocations: 0.5581 MB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.4531, allocations: 0.6848 MB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.109e-05/0.4531, allocations: 4 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.4532, allocations: 17.3 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/0.4532, allocations: 4 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.4764, allocations: 1.194 MB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003602/0.4768, allocations: 195.8 kB / 1.033 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/2.802, allocations: 3.938 kB / 1.033 GB, free: 7.223 MB / 0.6823 GB