Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.RealToInteger,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",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.237/2.237, allocations: 251 MB / 265.9 MB, free: 11.66 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.001536/0.001535, allocations: 178.3 kB / 325.5 MB, free: 2.887 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.493/2.493, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.001094, allocations: 95.44 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004975, allocations: 11.75 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2149, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/0.4423, allocations: 131.3 MB / 1.027 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.4427, allocations: 71.95 kB / 1.027 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002881/0.4456, allocations: 0.731 MB / 1.028 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4456, allocations: 0 / 1.028 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.4456, allocations: 0 / 1.028 GB, free: 13.2 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005238/0.4462, allocations: 351.2 kB / 1.028 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.4462, allocations: 8.031 kB / 1.028 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.4463, allocations: 34.56 kB / 1.028 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.4463, allocations: 0 / 1.028 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.4465, allocations: 175 kB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.4465, allocations: 0 / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.4465, allocations: 0 / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.4468, allocations: 57.67 kB / 1.028 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.4468, allocations: 0 / 1.028 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4468, allocations: 0 / 1.028 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4469, allocations: 4 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.4472, allocations: 51.89 kB / 1.028 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.4476, allocations: 256.8 kB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.4479, allocations: 46.56 kB / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.4479, allocations: 0 / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.4479, allocations: 30.62 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.4479, allocations: 4 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000662/0.4486, allocations: 105.6 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.4487, allocations: 55.41 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/0.4488, allocations: 96.95 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4488, allocations: 33.77 kB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.4489, allocations: 80.14 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.4489, allocations: 11.89 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.4489, allocations: 0 / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4491, allocations: 314.8 kB / 1.029 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.4492, allocations: 19.98 kB / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.4494, allocations: 23.98 kB / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.4496, allocations: 27.97 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4496, allocations: 0 / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003751/0.45, allocations: 81.66 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.45, allocations: 5.719 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.45, allocations: 3.938 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4501, allocations: 4 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.4502, allocations: 11.98 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.4502, allocations: 0 / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.4504, allocations: 8.031 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.4504, allocations: 15.92 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001023/0.4505, allocations: 109.8 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.4505, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.4506, allocations: 7.125 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4506, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4506, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4506, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.4508, allocations: 165.6 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4508, allocations: 4 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.451, allocations: 15.98 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.451, allocations: 4 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.451, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.451, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.451, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.4515, allocations: 183.3 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.4515, allocations: 85.23 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.4516, allocations: 0 / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.4517, allocations: 15.97 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.4518, allocations: 8.016 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.4518, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.293e-05/0.4519, allocations: 83.28 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4519, allocations: 0 / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003087/0.4522, allocations: 11.94 kB / 1.03 GB, free: 10.33 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0007942/0.453, allocations: 0.7132 MB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.4534, allocations: 51.98 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4534, allocations: 0 / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.4536, allocations: 27.98 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.4539, allocations: 1.719 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.4544, allocations: 158.4 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.4548, allocations: 0.677 MB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.273e-05/0.4548, allocations: 4 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.4549, allocations: 11.38 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/0.4549, allocations: 3.938 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.4746, allocations: 1.149 MB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/0.4749, allocations: 199.7 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/2.73, allocations: 0 / 1.033 GB, free: 7.371 MB / 0.6823 GB