Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001129/0.00113, allocations: 100.2 kB / 16.37 MB, free: 6.371 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.000983/0.000983, allocations: 195.5 kB / 17.31 MB, free: 5.91 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.517/1.517, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/2.876e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00189/0.001935, allocations: 0.6385 MB / 0.6735 GB, free: 5.301 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.003622, allocations: 1.113 MB / 0.6746 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.00368, allocations: 0 / 0.6746 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.003724, allocations: 0 / 0.6746 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.003799, allocations: 3.938 kB / 0.6746 GB, free: 4.168 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.004323, allocations: 126.8 kB / 0.6747 GB, free: 4.047 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.004493, allocations: 99.81 kB / 0.6748 GB, free: 3.949 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.004611, allocations: 15.98 kB / 0.6748 GB, free: 3.934 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.097e-05/0.004697, allocations: 31.92 kB / 0.6748 GB, free: 3.902 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.254e-05/0.004796, allocations: 31.89 kB / 0.6749 GB, free: 3.871 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.004822, allocations: 8 kB / 0.6749 GB, free: 3.863 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.99e-05/0.004898, allocations: 27.97 kB / 0.6749 GB, free: 3.836 MB / 0.545 GB Notification: Performance of combineBinaries: time 8.717e-05/0.004991, allocations: 67.45 kB / 0.675 GB, free: 3.77 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.058e-05/0.005018, allocations: 31.56 kB / 0.675 GB, free: 3.738 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.005059, allocations: 7.938 kB / 0.675 GB, free: 3.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.638e-06/0.005073, allocations: 0 / 0.675 GB, free: 3.73 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0004548/0.005532, allocations: 344.7 kB / 0.6753 GB, free: 3.293 MB / 0.545 GB Notification: Performance of FunctionAlias: time 8.337e-05/0.005621, allocations: 39.88 kB / 0.6754 GB, free: 3.254 MB / 0.545 GB Notification: Performance of Early Inline: time 0.000366/0.005994, allocations: 268.1 kB / 0.6756 GB, free: 2.965 MB / 0.545 GB Notification: Performance of simplify1: time 7.194e-06/0.006011, allocations: 0 / 0.6756 GB, free: 2.965 MB / 0.545 GB Notification: Performance of Alias: time 0.0003085/0.006324, allocations: 160.9 kB / 0.6758 GB, free: 2.762 MB / 0.545 GB Notification: Performance of simplify2: time 5.43e-06/0.006338, allocations: 4 kB / 0.6758 GB, free: 2.758 MB / 0.545 GB Notification: Performance of Events: time 0.000275/0.006618, allocations: 163.6 kB / 0.6759 GB, free: 2.598 MB / 0.545 GB Notification: Performance of Detect States: time 0.000231/0.006859, allocations: 151 kB / 0.6761 GB, free: 2.438 MB / 0.545 GB Notification: Performance of Partitioning: time 6.353e-05/0.006933, allocations: 28.11 kB / 0.6761 GB, free: 2.402 MB / 0.545 GB Notification: Performance of Causalize: time 0.0001801/0.00712, allocations: 108.1 kB / 0.6762 GB, free: 2.289 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0002155/0.007347, allocations: 216.3 kB / 0.6764 GB, free: 2.051 MB / 0.545 GB Notification: Performance of Inline: time 0.0003387/0.007695, allocations: 308.3 kB / 0.6767 GB, free: 1.715 MB / 0.545 GB Notification: Performance of Partitioning: time 1.701e-05/0.00772, allocations: 20.06 kB / 0.6767 GB, free: 1.688 MB / 0.545 GB Notification: Performance of Cleanup: time 1.633e-05/0.007741, allocations: 8.438 kB / 0.6767 GB, free: 1.68 MB / 0.545 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [ALGO] (3) ($RES_SIM_0) [----] booPul.t0 := if $FUN_1 + booPul.period * integer(time / booPul.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_1 + booPul.period * integer(time / booPul.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_1 + booPul.period * integer(time / booPul.period))); [----] booPul.t1 := booPul.t0 + booPul.width * booPul.period; [----] if time + booPul.period < booPul.t1 then [----] booPul.t0 := booPul.t0 - booPul.period; [----] booPul.t1 := booPul.t1 - booPul.period; [----] end if; [----] if time >= booPul.t1 then [----] booPul.t0 := booPul.t0 + booPul.period; [----] elseif time < booPul.t0 then [----] booPul.t1 := booPul.t1 - booPul.period; [----] end if; [----] if booPul.t0 < booPul.t1 then [----] assert(booPul.t0 <= time and time < booPul.t1, "BooleanToInteger.booPul: Implementation error in initial time calculation: t0 = " + String(booPul.t0, 6, 0, true) + ", t1 = " + String(booPul.t1, 6, 0, true) + ", period = " + String(booPul.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] booPul.y := time >= booPul.t0 and time < booPul.t1; [----] elseif true then [----] assert(booPul.t1 <= time and time < booPul.t0, "BooleanToInteger.booPul: Implementation error in initial time calculation: t0 = " + String(booPul.t0, 6, 0, true) + ", t1 = " + String(booPul.t1, 6, 0, true) + ", period = " + String(booPul.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] booPul.y := not (time >= booPul.t1 and time < booPul.t0); [----] end if; slice: {1, 2}; Notification: Performance of Causalize: time 0.0008384/0.008585, allocations: 0.667 MB / 0.6774 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of Tearing: time 6.523e-06/0.008601, allocations: 96 / 0.6774 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of Initialization: time 3.41e-07/0.008609, allocations: 4 kB / 0.6774 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of Tearing: time 2.244e-06/0.008617, allocations: 8.031 kB / 0.6774 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of Categorize: time 7.865e-06/0.00863, allocations: 0.5 kB / 0.6774 GB, free: 0.9727 MB / 0.545 GB Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Single Strong Component (status = Solve.UNPROCESSED) ------------------------------------------------------------- ### Variable: Boolean booPul.y ### Equation: [SCAL] (1) booToInt.y = if booPul.y then booToInt.integerTrue else booToInt.integerFalse ($RES_SIM_2)