Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 110.6 kB / 16.42 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.00182/0.00182, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.141/1.141, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.245/1.245, allocations: 251.7 MB / 0.51 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.848e-05, allocations: 5.938 kB / 0.7263 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003594/0.003622, allocations: 2.949 MB / 0.7292 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.005516, allocations: 1.158 MB / 0.7304 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/0.005835, allocations: 19.88 kB / 0.7304 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.006084, allocations: 71.2 kB / 0.7304 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.006306, allocations: 87.19 kB / 0.7305 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007482/0.007079, allocations: 342.5 kB / 0.7309 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007355/0.007824, allocations: 0.738 MB / 0.7316 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006236/0.008456, allocations: 0.5161 MB / 0.7321 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.008753, allocations: 275 kB / 0.7323 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.009045, allocations: 270.8 kB / 0.7326 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.592e-05/0.009148, allocations: 72 kB / 0.7327 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.009272, allocations: 84 kB / 0.7327 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0005108/0.009789, allocations: 0.8379 MB / 0.7336 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002733/0.01007, allocations: 0.5193 MB / 0.7341 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.01019, allocations: 99.69 kB / 0.7342 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001029/0.0103, allocations: 43.67 kB / 0.7342 GB, free: 12.61 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 (117) * Number of variables: 113 (113) Notification: Performance of Bindings: time 0.002192/0.0125, allocations: 2.55 MB / 0.7367 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0002014/0.01271, allocations: 147.8 kB / 0.7368 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.001364/0.01408, allocations: 1.505 MB / 0.7383 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0001253/0.01421, allocations: 107.8 kB / 0.7384 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of Alias: time 0.002639/0.01685, allocations: 2.658 MB / 0.741 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of simplify2: time 9.678e-05/0.01696, allocations: 71.91 kB / 0.7411 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of Events: time 0.0003746/0.01734, allocations: 294.6 kB / 0.7414 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0004657/0.01782, allocations: 470.8 kB / 0.7418 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.000461/0.01829, allocations: 469.8 kB / 0.7423 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002243/0.02054, allocations: 2.459 MB / 0.7447 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0009275/0.02147, allocations: 1.096 MB / 0.7457 GB, free: 348 kB / 0.5762 GB Notification: Performance of Inline: time 0.001778/0.02326, allocations: 1.843 MB / 0.7475 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0001185/0.02339, allocations: 115.6 kB / 0.7476 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0001053/0.0235, allocations: 87.84 kB / 0.7477 GB, free: 14.25 MB / 0.5919 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) preHeatCoil.toOff.outPort.set = preHeatCoil.pumOn.outPort[1].reset ($RES_SIM_84) slice: {}; [SCAL] (1) preHeatCoil.pumOff.outPort[1].reset = preHeatCoil.toOn.outPort.set ($RES_SIM_90) slice: {}; [SCAL] (1) $SEV_3 = (preHeatCoil.toOn.localCondition and preHeatCoil.toOn.inPort.available) and not preHeatCoil.toOn.outPort.occupied ($RES_EVT_147) slice: {}; [SCAL] (1) $SEV_1 = preHeatCoil.toOff.enableFire and time >= ((time - preHeatCoil.toOff.t_dummy) + preHeatCoil.toOff.waitTime) ($RES_EVT_145) slice: {}; Notification: Performance of Causalize: time 0.004667/0.02817, allocations: 5.435 MB / 0.753 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of Tearing: time 6.352e-06/0.02819, allocations: 0 / 0.753 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of Initialization: time 4.61e-07/0.0282, allocations: 0 / 0.753 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of Tearing: time 2.866e-06/0.0282, allocations: 0 / 0.753 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of Categorize: time 9.478e-06/0.02822, allocations: 11.94 kB / 0.753 GB, free: 8.965 MB / 0.5919 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:2011:9-2012:55:writable] Error: Internal error NFCeval.evalBuiltinCall: unimplemented case for pre Notification: Performance of Solve: time 0.0004536/0.02868, allocations: 319.1 kB / 0.7533 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of Jacobian: time 0.0006234/0.02931, allocations: 0.6817 MB / 0.754 GB, free: 7.934 MB / 0.5919 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 1 * 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: ............................. 1 (1) {preHeatCoil.preHeaCoiCon.I.y} * Number of discrete states: .................... 4 (4) {preHeatCoil.pumOn.oldActive, preHeatCoil.pumOff.oldActive, TMix.T_start, TMix.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 48 (48) {preHeatCoil.pumOff.inPort.set, preHeatCoil.pumOff.inPort.occupied, preHeatCoil.pumOff.outPort.reset, preHeatCoil.pumOff.outPort.available, preHeatCoil.pumOff.outerStatePort.localActive, preHeatCoil.pumOff.newActive, preHeatCoil.toOn.localCondition, preHeatCoil.toOn.inPort.available, preHeatCoil.toOn.outPort.occupied, preHeatCoil.toOn.outPort.set, preHeatCoil.stateGraphRoot.activeSteps, preHeatCoil.pumOn.inPort.set, preHeatCoil.pumOn.inPort.occupied, preHeatCoil.pumOn.outPort.reset, preHeatCoil.pumOn.outPort.available, preHeatCoil.pumOn.outerStatePort.localActive, preHeatCoil.pumOn.newActive, preHeatCoil.toOff.enableFire, preHeatCoil.toOff.inPort.available, preHeatCoil.toOff.outPort.occupied, preHeatCoil.toOff.outPort.set, $FUN_1, $FUN_2, $FUN_3, $FUN_4, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 65 (scalar:65, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, 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: ........... 108 (scalar:108, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 6.489e-05/0.02938, allocations: 59.78 kB / 0.7541 GB, free: 7.887 MB / 0.5919 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false