Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 104.7 kB / 16.38 MB, free: 6.492 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.001053/0.001053, allocations: 190.5 kB / 17.31 MB, free: 5.812 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.118/1.118, 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.535/1.535, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.813e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001651/0.001682, allocations: 0.8139 MB / 0.6737 GB, free: 5.094 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.002846, allocations: 1.152 MB / 0.6748 GB, free: 3.926 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.791e-05/0.002895, allocations: 4 kB / 0.6748 GB, free: 3.922 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.002927, allocations: 7.922 kB / 0.6748 GB, free: 3.914 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.517e-05/0.002996, allocations: 23.8 kB / 0.6748 GB, free: 3.891 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.003391, allocations: 141.2 kB / 0.675 GB, free: 3.754 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.003547, allocations: 151.8 kB / 0.6751 GB, free: 3.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.003655, allocations: 39.97 kB / 0.6751 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.528e-05/0.003737, allocations: 63.83 kB / 0.6752 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.017e-05/0.003823, allocations: 63.73 kB / 0.6753 GB, free: 3.441 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.003852, allocations: 16 kB / 0.6753 GB, free: 3.426 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.542e-05/0.003912, allocations: 23.98 kB / 0.6753 GB, free: 3.402 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001056/0.004023, allocations: 142.6 kB / 0.6754 GB, free: 3.262 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.864e-05/0.004058, allocations: 74.88 kB / 0.6755 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.004094, allocations: 15.94 kB / 0.6755 GB, free: 3.172 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.929e-06/0.004108, allocations: 0 / 0.6755 GB, free: 3.172 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: 13 (13) * Number of variables: 13 (13) Notification: Performance of Bindings: time 0.0004842/0.004598, allocations: 0.5184 MB / 0.676 GB, free: 2.555 MB / 0.545 GB Notification: Performance of FunctionAlias: time 7.198e-05/0.004675, allocations: 55.78 kB / 0.6761 GB, free: 2.5 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0003918/0.005074, allocations: 428.1 kB / 0.6765 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simplify1: time 1.523e-05/0.005097, allocations: 11.97 kB / 0.6765 GB, free: 2.043 MB / 0.545 GB Notification: Performance of Alias: time 0.0004215/0.005524, allocations: 394.2 kB / 0.6769 GB, free: 1.59 MB / 0.545 GB Notification: Performance of simplify2: time 1.275e-05/0.005546, allocations: 11.97 kB / 0.6769 GB, free: 1.578 MB / 0.545 GB Notification: Performance of Events: time 0.0002621/0.005814, allocations: 219.4 kB / 0.6771 GB, free: 1.363 MB / 0.545 GB Notification: Performance of Detect States: time 0.000206/0.006027, allocations: 194.4 kB / 0.6773 GB, free: 1.16 MB / 0.545 GB Notification: Performance of Partitioning: time 8.231e-05/0.006117, allocations: 76.22 kB / 0.6773 GB, free: 1.07 MB / 0.545 GB Notification: Performance of Causalize: time 0.0003052/0.006428, allocations: 332.5 kB / 0.6777 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0002827/0.006719, allocations: 360.5 kB / 0.678 GB, free: 360 kB / 0.545 GB Notification: Performance of Inline: time 0.0004061/0.007131, allocations: 488 kB / 0.6785 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of Partitioning: time 2.026e-05/0.00716, allocations: 20.06 kB / 0.6785 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of Cleanup: time 1.608e-05/0.007182, allocations: 23.97 kB / 0.6785 GB, free: 15.79 MB / 0.5606 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) [----] onSys.t0 := if $FUN_1 + onSys.period * integer(time / onSys.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_1 + onSys.period * integer(time / onSys.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_1 + onSys.period * integer(time / onSys.period))); [----] onSys.t1 := onSys.t0 + onSys.width * onSys.period; [----] if time + onSys.period < onSys.t1 then [----] onSys.t0 := onSys.t0 - onSys.period; [----] onSys.t1 := onSys.t1 - onSys.period; [----] end if; [----] if time >= onSys.t1 then [----] onSys.t0 := onSys.t0 + onSys.period; [----] elseif time < onSys.t0 then [----] onSys.t1 := onSys.t1 - onSys.period; [----] end if; [----] if onSys.t0 < onSys.t1 then [----] assert(onSys.t0 <= time and time < onSys.t1, "EquipmentOnOff.onSys: Implementation error in initial time calculation: t0 = " + String(onSys.t0, 6, 0, true) + ", t1 = " + String(onSys.t1, 6, 0, true) + ", period = " + String(onSys.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] onSys.y := time >= onSys.t0 and time < onSys.t1; [----] elseif true then [----] assert(onSys.t1 <= time and time < onSys.t0, "EquipmentOnOff.onSys: Implementation error in initial time calculation: t0 = " + String(onSys.t0, 6, 0, true) + ", t1 = " + String(onSys.t1, 6, 0, true) + ", period = " + String(onSys.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] onSys.y := not (time >= onSys.t1 and time < onSys.t0); [----] end if; slice: {1, 2}; Notification: Performance of Causalize: time 0.001066/0.008253, allocations: 1.175 MB / 0.6797 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of Tearing: time 4.658e-06/0.008267, allocations: 0 / 0.6797 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of Initialization: time 3e-07/0.008272, allocations: 0 / 0.6797 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of Tearing: time 2.235e-06/0.008278, allocations: 0 / 0.6797 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of Categorize: time 1.45e-05/0.008296, allocations: 7.938 kB / 0.6797 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of Solve: time 8.522e-05/0.008385, allocations: 59.91 kB / 0.6797 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of Jacobian: time 2.335e-06/0.008394, allocations: 0 / 0.6797 GB, free: 14.53 MB / 0.5606 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 1 (1) {onSys.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 10 (10) {conEquSta.and1.y, conEquSta.hys.y, $SEV_5, $SEV_4, $SEV_3, $TEV_16, $TEV_15, $TEV_14, $TEV_13, $TEV_12} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.709e-05/0.008427, allocations: 33.64 kB / 0.6798 GB, free: 14.51 MB / 0.5606 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBEvents.mo:685:7-685:120:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist.