Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 106.4 kB / 16.38 MB, free: 6.434 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.00099/0.00099, allocations: 187.3 kB / 17.31 MB, free: 5.777 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.552/1.552, 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.892/1.892, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.159e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.004674/0.004723, allocations: 3.593 MB / 0.6764 GB, free: 2.258 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003428/0.008168, allocations: 2.104 MB / 0.6784 GB, free: 140 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003932/0.008575, allocations: 19.94 kB / 0.6785 GB, free: 120 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.008987, allocations: 166.2 kB / 0.6786 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004705/0.009498, allocations: 158.5 kB / 0.6788 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009386/0.01044, allocations: 492.6 kB / 0.6792 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.01166, allocations: 1.377 MB / 0.6806 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000769/0.01244, allocations: 0.5843 MB / 0.6812 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004525/0.0129, allocations: 442.2 kB / 0.6816 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.01333, allocations: 485.4 kB / 0.682 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.01351, allocations: 128 kB / 0.6822 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.01371, allocations: 144 kB / 0.6823 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.001146/0.01486, allocations: 1.656 MB / 0.6839 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0006327/0.0155, allocations: 1.058 MB / 0.6849 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.01573, allocations: 175.3 kB / 0.6851 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001627/0.0159, allocations: 79.3 kB / 0.6852 GB, free: 9.152 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: 203 (203) * Number of variables: 203 (203) Notification: Performance of Bindings: time 0.004261/0.02016, allocations: 4.869 MB / 0.6899 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0002429/0.02041, allocations: 231.7 kB / 0.6902 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.002643/0.02307, allocations: 2.889 MB / 0.693 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of simplify1: time 0.000157/0.02324, allocations: 179.7 kB / 0.6932 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of Alias: time 0.005714/0.02896, allocations: 4.709 MB / 0.6978 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0001256/0.02911, allocations: 107.8 kB / 0.6979 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of Events: time 0.0006395/0.02976, allocations: 479.8 kB / 0.6983 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of Detect States: time 0.000633/0.0304, allocations: 0.5798 MB / 0.6989 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.000548/0.03096, allocations: 0.5506 MB / 0.6994 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002874/0.03384, allocations: 2.876 MB / 0.7022 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.001481/0.03533, allocations: 1.452 MB / 0.7036 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of Inline: time 0.003487/0.03883, allocations: 3.503 MB / 0.7071 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.000227/0.03907, allocations: 191.6 kB / 0.7073 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0003703/0.03945, allocations: 371.4 kB / 0.7076 GB, free: 1.195 MB / 0.5762 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, "PID.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, "PID.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_241) 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!