Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 104.6 kB / 16.37 MB, free: 6.367 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.001092/0.001092, allocations: 195.4 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.139/1.139, 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.525/1.525, allocations: 292.3 MB / 0.5496 GB, free: 17.41 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/1.881e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.005455/0.005486, allocations: 5.641 MB / 0.6784 GB, free: 212 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002905/0.008407, allocations: 1.795 MB / 0.6801 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003778/0.008797, allocations: 31.88 kB / 0.6802 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.009265, allocations: 261.2 kB / 0.6804 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004748/0.009748, allocations: 198 kB / 0.6806 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000981/0.01076, allocations: 0.637 MB / 0.6812 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.01206, allocations: 1.854 MB / 0.683 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008816/0.01295, allocations: 0.8494 MB / 0.6839 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003786/0.01334, allocations: 0.5406 MB / 0.6844 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.01375, allocations: 0.6216 MB / 0.685 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.01391, allocations: 164 kB / 0.6852 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.0141, allocations: 184 kB / 0.6853 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.001103/0.01521, allocations: 2.242 MB / 0.6875 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0006206/0.01584, allocations: 1.454 MB / 0.6889 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.01602, allocations: 235.1 kB / 0.6892 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001359/0.01616, allocations: 99 kB / 0.6893 GB, free: 4.953 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 (275) * Number of variables: 275 (275) Notification: Performance of Bindings: time 0.004569/0.02074, allocations: 6.746 MB / 0.6958 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0002194/0.02096, allocations: 304.4 kB / 0.6961 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.00276/0.02373, allocations: 3.62 MB / 0.6997 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0001599/0.0239, allocations: 227.7 kB / 0.6999 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of Alias: time 0.005501/0.02941, allocations: 6.517 MB / 0.7063 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of simplify2: time 0.000107/0.02952, allocations: 143.8 kB / 0.7064 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of Events: time 0.0005103/0.03004, allocations: 0.5595 MB / 0.7069 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0005833/0.03063, allocations: 0.7254 MB / 0.7076 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.000615/0.03125, allocations: 0.7147 MB / 0.7083 GB, free: 156 kB / 0.5762 GB Notification: Performance of Causalize: time 0.003151/0.03441, allocations: 3.87 MB / 0.7121 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.001441/0.03586, allocations: 1.848 MB / 0.7139 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of Inline: time 0.003979/0.03985, allocations: 4.681 MB / 0.7185 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.000292/0.04015, allocations: 272 kB / 0.7188 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0003372/0.0405, allocations: 459.6 kB / 0.7192 GB, free: 4.902 MB / 0.5919 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, "LimPID.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, "LimPID.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_321) 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), [DER-] (1) Real $DER.limPID.addPID.u2 Following equations were created by fixing variables: Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules!