Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009287/0.0009288, allocations: 105.4 kB / 16.38 MB, free: 5.965 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.000872/0.000872, allocations: 189.5 kB / 17.31 MB, free: 5.578 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.126/1.126, 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.541/1.541, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.288e-05, allocations: 10.02 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003705/0.003741, allocations: 2.942 MB / 0.6757 GB, free: 2.926 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.005383, allocations: 1.15 MB / 0.6769 GB, free: 1.766 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.005568, allocations: 15.88 kB / 0.6769 GB, free: 1.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.005782, allocations: 83.2 kB / 0.6769 GB, free: 1.668 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.005935, allocations: 75.19 kB / 0.677 GB, free: 1.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006212/0.006569, allocations: 339.5 kB / 0.6773 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005974/0.007176, allocations: 0.738 MB / 0.6781 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.007732, allocations: 0.5203 MB / 0.6786 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.007976, allocations: 283 kB / 0.6788 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.00821, allocations: 270.8 kB / 0.6791 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.662e-05/0.008293, allocations: 76 kB / 0.6792 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.0084, allocations: 79.98 kB / 0.6792 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0004704/0.008878, allocations: 0.8378 MB / 0.6801 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0002376/0.009122, allocations: 0.5232 MB / 0.6806 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.165e-05/0.009209, allocations: 91.69 kB / 0.6807 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.512e-05/0.00928, allocations: 43.69 kB / 0.6807 GB, free: 13.79 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: 117 (117) * Number of variables: 113 (113) Notification: Performance of Bindings: time 0.002062/0.01135, allocations: 2.545 MB / 0.6832 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.00014/0.01149, allocations: 155.7 kB / 0.6833 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.001226/0.01273, allocations: 1.49 MB / 0.6848 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of simplify1: time 9.352e-05/0.01283, allocations: 103.8 kB / 0.6849 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of Alias: time 0.002424/0.01526, allocations: 2.673 MB / 0.6875 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of simplify2: time 6.054e-05/0.01533, allocations: 67.91 kB / 0.6876 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of Events: time 0.0003189/0.01565, allocations: 290.8 kB / 0.6878 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0004124/0.01607, allocations: 484.8 kB / 0.6883 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0004003/0.01648, allocations: 445.9 kB / 0.6887 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of Causalize: time 0.002141/0.01863, allocations: 2.467 MB / 0.6911 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.000878/0.01952, allocations: 1.1 MB / 0.6922 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of Inline: time 0.001598/0.02112, allocations: 1.818 MB / 0.694 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001185/0.02125, allocations: 115.6 kB / 0.6941 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Cleanup: time 6.024e-05/0.02132, allocations: 79.88 kB / 0.6942 GB, free: 15.46 MB / 0.5762 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.004655/0.02598, allocations: 5.567 MB / 0.6996 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of Tearing: time 6.432e-06/0.02599, allocations: 0 / 0.6996 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of Initialization: time 4.31e-07/0.026, allocations: 0 / 0.6996 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of Tearing: time 2.455e-06/0.02601, allocations: 0 / 0.6996 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of Categorize: time 1.307e-05/0.02602, allocations: 7.938 kB / 0.6996 GB, free: 10.04 MB / 0.5762 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.0004981/0.02653, allocations: 363.1 kB / 0.7 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of Jacobian: time 0.0005918/0.02713, allocations: 0.6701 MB / 0.7006 GB, free: 8.973 MB / 0.5762 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: ........... 110 (scalar:110, 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 5.443e-05/0.02719, allocations: 60.05 kB / 0.7007 GB, free: 8.922 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false