Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 105.9 kB / 16.38 MB, free: 6.48 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.001415/0.001415, allocations: 190.5 kB / 17.31 MB, free: 5.801 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.522/1.522, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.806/1.806, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.296e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002361/0.002412, allocations: 0.6347 MB / 0.6735 GB, free: 5.277 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.004328, allocations: 1.11 MB / 0.6746 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.004403, allocations: 4 kB / 0.6746 GB, free: 4.148 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.004451, allocations: 3.938 kB / 0.6746 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.00453, allocations: 3.938 kB / 0.6746 GB, free: 4.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.005137, allocations: 127.4 kB / 0.6747 GB, free: 4.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.005314, allocations: 95.89 kB / 0.6748 GB, free: 3.926 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.005418, allocations: 11.97 kB / 0.6748 GB, free: 3.914 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.005503, allocations: 35.92 kB / 0.6748 GB, free: 3.879 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.826e-05/0.005597, allocations: 31.89 kB / 0.6749 GB, free: 3.848 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.005625, allocations: 8 kB / 0.6749 GB, free: 3.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.019e-05/0.005702, allocations: 31.92 kB / 0.6749 GB, free: 3.809 MB / 0.545 GB Notification: Performance of combineBinaries: time 8.556e-05/0.005794, allocations: 67.44 kB / 0.675 GB, free: 3.742 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 1.978e-05/0.00582, allocations: 35.5 kB / 0.675 GB, free: 3.707 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.005853, allocations: 8 kB / 0.675 GB, free: 3.699 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.366e-05/0.005872, allocations: 0 / 0.675 GB, free: 3.699 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.0004346/0.006313, allocations: 347.7 kB / 0.6753 GB, free: 3.262 MB / 0.545 GB Notification: Performance of FunctionAlias: time 7.059e-05/0.00639, allocations: 35.94 kB / 0.6754 GB, free: 3.227 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0004903/0.006887, allocations: 276.1 kB / 0.6756 GB, free: 2.93 MB / 0.545 GB Notification: Performance of simplify1: time 6.162e-06/0.006903, allocations: 0 / 0.6756 GB, free: 2.93 MB / 0.545 GB Notification: Performance of Alias: time 0.000323/0.00723, allocations: 156.8 kB / 0.6758 GB, free: 2.73 MB / 0.545 GB Notification: Performance of simplify2: time 3.947e-06/0.007244, allocations: 0 / 0.6758 GB, free: 2.73 MB / 0.545 GB Notification: Performance of Events: time 0.0002315/0.007482, allocations: 163.7 kB / 0.6759 GB, free: 2.57 MB / 0.545 GB Notification: Performance of Detect States: time 0.0003843/0.007875, allocations: 150.4 kB / 0.6761 GB, free: 2.41 MB / 0.545 GB Notification: Performance of Partitioning: time 4.889e-05/0.007932, allocations: 24.11 kB / 0.6761 GB, free: 2.379 MB / 0.545 GB Notification: Performance of Causalize: time 0.0001503/0.008091, allocations: 120 kB / 0.6762 GB, free: 2.254 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0001871/0.008287, allocations: 212.3 kB / 0.6764 GB, free: 2.02 MB / 0.545 GB Notification: Performance of Inline: time 0.0003181/0.008612, allocations: 304.3 kB / 0.6767 GB, free: 1.688 MB / 0.545 GB Notification: Performance of Partitioning: time 1.785e-05/0.008639, allocations: 12.12 kB / 0.6767 GB, free: 1.668 MB / 0.545 GB Notification: Performance of Cleanup: time 1.586e-05/0.00866, allocations: 11.92 kB / 0.6767 GB, free: 1.656 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, "BooleanToReal.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, "BooleanToReal.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.0008194/0.009486, allocations: 0.6778 MB / 0.6774 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of Tearing: time 6.101e-06/0.009502, allocations: 0 / 0.6774 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of Initialization: time 5.71e-07/0.009508, allocations: 0 / 0.6774 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of Tearing: time 1.243e-06/0.009513, allocations: 0 / 0.6774 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of Categorize: time 7.344e-06/0.009525, allocations: 0 / 0.6774 GB, free: 0.9492 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) booToRea.y = if booPul.y then booToRea.realTrue else booToRea.realFalse ($RES_SIM_2)