Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 111.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 191.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.675/1.675, allocations: 251.6 MB / 0.5089 GB, free: 3.316 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001746, allocations: 71.89 kB / 0.6218 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6609/0.6626, allocations: 104.7 MB / 0.724 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002764/0.6654, allocations: 1.377 MB / 0.7253 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004391/0.6659, allocations: 192.2 kB / 0.7255 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.666, allocations: 4 kB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.054e-05/0.666, allocations: 3.984 kB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.211e-05/0.6661, allocations: 3.938 kB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.6663, allocations: 11.98 kB / 0.7255 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.348e-05/0.6664, allocations: 27.92 kB / 0.7256 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.6665, allocations: 8 kB / 0.7256 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.576e-05/0.6666, allocations: 15.92 kB / 0.7256 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.6667, allocations: 15.92 kB / 0.7256 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.6667, allocations: 4 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.6667, allocations: 4 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.6668, allocations: 3.938 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.6668, allocations: 11.94 kB / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.921e-05/0.6669, allocations: 35.88 kB / 0.7257 GB, free: 11.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.6669, allocations: 0 / 0.7257 GB, free: 11.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6669, allocations: 0 / 0.7257 GB, free: 11.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.6669, allocations: 0 / 0.7257 GB, free: 11.4 MB / 0.545 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.0005079/0.6675, allocations: 349.3 kB / 0.726 GB, free: 11.01 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.6675, allocations: 12.03 kB / 0.726 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.6676, allocations: 4.938 kB / 0.726 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.6677, allocations: 168.4 kB / 0.7262 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.6677, allocations: 384 / 0.7262 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.6677, allocations: 4.375 kB / 0.7262 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.6679, allocations: 38.25 kB / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.6679, allocations: 4.188 kB / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.6679, allocations: 7.938 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.6679, allocations: 0 / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.294e-05/0.668, allocations: 15.94 kB / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.6684, allocations: 260.8 kB / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.6687, allocations: 82.38 kB / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.6688, allocations: 12.92 kB / 0.7266 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.6688, allocations: 4 kB / 0.7266 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.6689, allocations: 59.44 kB / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.6689, allocations: 0 / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.000185/0.6691, allocations: 57.69 kB / 0.7267 GB, free: 10.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.6692, allocations: 51.41 kB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.6693, allocations: 105.8 kB / 0.7269 GB, free: 9.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.6693, allocations: 33.7 kB / 0.7269 GB, free: 9.953 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.6693, allocations: 88.12 kB / 0.727 GB, free: 9.863 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.6694, allocations: 7.906 kB / 0.727 GB, free: 9.855 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.6694, allocations: 13.72 kB / 0.727 GB, free: 9.836 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.6695, allocations: 318.8 kB / 0.7273 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.6695, allocations: 15.92 kB / 0.7273 GB, free: 9.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.787e-05/0.6696, allocations: 13.72 kB / 0.7273 GB, free: 9.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.6696, allocations: 33.72 kB / 0.7274 GB, free: 9.441 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6696, allocations: 3.938 kB / 0.7274 GB, free: 9.438 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.961e-05/0.6697, allocations: 65.75 kB / 0.7274 GB, free: 9.367 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6698, allocations: 8 kB / 0.7274 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6698, allocations: 0 / 0.7274 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.6698, allocations: 0 / 0.7274 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.149e-05/0.6698, allocations: 7.984 kB / 0.7274 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6698, allocations: 0 / 0.7274 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.6699, allocations: 4 kB / 0.7274 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.6699, allocations: 0 / 0.7274 GB, free: 9.348 MB / 0.545 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,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,booToInt.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.142e-05/0.67, allocations: 125.8 kB / 0.7276 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.67, allocations: 7.984 kB / 0.7276 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.67, allocations: 3.906 kB / 0.7276 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.67, allocations: 3.938 kB / 0.7276 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.67, allocations: 0 / 0.7276 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.67, allocations: 0 / 0.7276 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.6702, allocations: 177.5 kB / 0.7277 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6702, allocations: 0 / 0.7277 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.6702, allocations: 4.375 kB / 0.7277 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6702, allocations: 4 kB / 0.7278 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.6702, allocations: 0 / 0.7278 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.6702, allocations: 7.938 kB / 0.7278 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6702, allocations: 0 / 0.7278 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.6703, allocations: 85 kB / 0.7278 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.6704, allocations: 81.09 kB / 0.7279 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.6704, allocations: 0 / 0.7279 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.459e-05/0.6705, allocations: 4 kB / 0.7279 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.6705, allocations: 11.98 kB / 0.7279 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.6705, allocations: 4 kB / 0.7279 GB, free: 8.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.672e-05/0.6706, allocations: 87.22 kB / 0.728 GB, free: 8.648 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6706, allocations: 0 / 0.728 GB, free: 8.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001821/0.6708, allocations: 8 kB / 0.728 GB, free: 8.641 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001158/0.6709, allocations: 99.23 kB / 0.7281 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.671, allocations: 28 kB / 0.7281 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.671, allocations: 4.062 kB / 0.7282 GB, free: 8.504 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.764e-05/0.6711, allocations: 15.92 kB / 0.7282 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.6713, allocations: 11.94 kB / 0.7282 GB, free: 8.477 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.6716, allocations: 145.8 kB / 0.7283 GB, free: 8.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.672, allocations: 0.6768 MB / 0.729 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.128e-05/0.672, allocations: 8 kB / 0.729 GB, free: 7.598 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.672, allocations: 7.438 kB / 0.729 GB, free: 7.59 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.6721, allocations: 0 / 0.729 GB, free: 7.59 MB / 0.545 GB Notification: Performance of Templates: time 0.002593/0.6746, allocations: 0.5043 MB / 0.7295 GB, free: 7.098 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)