Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 104 kB / 16.37 MB, free: 5.895 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.001227/0.001227, allocations: 191.3 kB / 17.3 MB, free: 5.535 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.347/1.347, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.757e-05/4.8e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.003194/0.003268, allocations: 0.7401 MB / 0.6736 GB, free: 5.121 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002277/0.005566, allocations: 1.125 MB / 0.6747 GB, free: 3.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.948e-05/0.005684, allocations: 0 / 0.6747 GB, free: 3.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.158e-05/0.005745, allocations: 3.938 kB / 0.6747 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.005881, allocations: 19.84 kB / 0.6747 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006811/0.00661, allocations: 135.4 kB / 0.6748 GB, free: 3.828 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.006855, allocations: 139.8 kB / 0.675 GB, free: 3.691 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.006977, allocations: 15.98 kB / 0.675 GB, free: 3.676 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.007096, allocations: 39.91 kB / 0.675 GB, free: 3.637 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.007214, allocations: 39.89 kB / 0.6751 GB, free: 3.598 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.007254, allocations: 12 kB / 0.6751 GB, free: 3.586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.007359, allocations: 31.92 kB / 0.6751 GB, free: 3.555 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001148/0.007481, allocations: 111 kB / 0.6752 GB, free: 3.445 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.087e-05/0.007519, allocations: 47.28 kB / 0.6753 GB, free: 3.398 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.007572, allocations: 11.94 kB / 0.6753 GB, free: 3.387 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.522e-05/0.007603, allocations: 0 / 0.6753 GB, free: 3.387 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 (4) * Number of variables: 4 (4) Notification: Performance of Bindings: time 0.0006249/0.008233, allocations: 443.9 kB / 0.6757 GB, free: 2.852 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0001308/0.008373, allocations: 55.86 kB / 0.6758 GB, free: 2.797 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0004775/0.008858, allocations: 312.2 kB / 0.6761 GB, free: 2.465 MB / 0.545 GB Notification: Performance of simplify1: time 1.421e-05/0.008884, allocations: 4 kB / 0.6761 GB, free: 2.461 MB / 0.545 GB Notification: Performance of Alias: time 0.0004582/0.009348, allocations: 225.1 kB / 0.6763 GB, free: 2.188 MB / 0.545 GB Notification: Performance of simplify2: time 1.078e-05/0.009373, allocations: 4 kB / 0.6763 GB, free: 2.184 MB / 0.545 GB Notification: Performance of Events: time 0.0003734/0.009753, allocations: 171.5 kB / 0.6764 GB, free: 2.016 MB / 0.545 GB Notification: Performance of Detect States: time 0.0003177/0.01008, allocations: 182.4 kB / 0.6766 GB, free: 1.824 MB / 0.545 GB Notification: Performance of Partitioning: time 6.494e-05/0.01015, allocations: 28.12 kB / 0.6766 GB, free: 1.789 MB / 0.545 GB Notification: Performance of Causalize: time 0.0001778/0.01034, allocations: 120.1 kB / 0.6768 GB, free: 1.664 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0002726/0.01062, allocations: 252.7 kB / 0.677 GB, free: 1.391 MB / 0.545 GB Notification: Performance of Inline: time 0.0005158/0.01115, allocations: 405.1 kB / 0.6774 GB, free: 0.957 MB / 0.545 GB Notification: Performance of Partitioning: time 3.331e-05/0.01119, allocations: 28.11 kB / 0.6774 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of Cleanup: time 1.847e-05/0.01121, allocations: 3.938 kB / 0.6774 GB, free: 0.918 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) [----] pulse.booPul.t0 := if $FUN_1 + pulse.booPul.period * integer(time / pulse.booPul.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_1 + pulse.booPul.period * integer(time / pulse.booPul.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_1 + pulse.booPul.period * integer(time / pulse.booPul.period))); [----] pulse.booPul.t1 := pulse.booPul.t0 + pulse.booPul.width * pulse.booPul.period; [----] if time + pulse.booPul.period < pulse.booPul.t1 then [----] pulse.booPul.t0 := pulse.booPul.t0 - pulse.booPul.period; [----] pulse.booPul.t1 := pulse.booPul.t1 - pulse.booPul.period; [----] end if; [----] if time >= pulse.booPul.t1 then [----] pulse.booPul.t0 := pulse.booPul.t0 + pulse.booPul.period; [----] elseif time < pulse.booPul.t0 then [----] pulse.booPul.t1 := pulse.booPul.t1 - pulse.booPul.period; [----] end if; [----] if pulse.booPul.t0 < pulse.booPul.t1 then [----] assert(pulse.booPul.t0 <= time and time < pulse.booPul.t1, "Pulse.pulse.booPul: Implementation error in initial time calculation: t0 = " + String(pulse.booPul.t0, 6, 0, true) + ", t1 = " + String(pulse.booPul.t1, 6, 0, true) + ", period = " + String(pulse.booPul.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] pulse.booPul.y := time >= pulse.booPul.t0 and time < pulse.booPul.t1; [----] elseif true then [----] assert(pulse.booPul.t1 <= time and time < pulse.booPul.t0, "Pulse.pulse.booPul: Implementation error in initial time calculation: t0 = " + String(pulse.booPul.t0, 6, 0, true) + ", t1 = " + String(pulse.booPul.t1, 6, 0, true) + ", period = " + String(pulse.booPul.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] pulse.booPul.y := not (time >= pulse.booPul.t1 and time < pulse.booPul.t0); [----] end if; slice: {2}; [SCAL] (1) pulse.booPul.width = pulse.width ($RES_BND_8) slice: {}; Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [PRMT] (1) protected final parameter Real pulse.booPul.width = pulse.width (fixed = true, min = 1e-60, max = 1.0) Following equations were created by fixing variables: [SCAL] (1) pulse.y = $START.pulse.y ($RES_SRT_18) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules!