Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 2.17e-05/2.17e-05, allocations: 2.281 kB / 0.5922 GB, free: 18.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003129/0.003159, allocations: 2.973 MB / 0.5951 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.004712, allocations: 1.179 MB / 0.5963 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.004932, allocations: 17.16 kB / 0.5963 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.005148, allocations: 79.12 kB / 0.5964 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.005301, allocations: 86.28 kB / 0.5965 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.00591, allocations: 351.1 kB / 0.5968 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.0064, allocations: 0.7613 MB / 0.5975 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004502/0.006858, allocations: 0.5402 MB / 0.5981 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.007041, allocations: 275.1 kB / 0.5983 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.007235, allocations: 286.7 kB / 0.5986 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.657e-05/0.007308, allocations: 76 kB / 0.5987 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.084e-05/0.007405, allocations: 88 kB / 0.5988 GB, free: 12.19 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0003187/0.007729, allocations: 0.888 MB / 0.5996 GB, free: 11.29 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001319/0.007867, allocations: 0.5346 MB / 0.6002 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.789e-05/0.00794, allocations: 103.6 kB / 0.6003 GB, free: 10.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.62e-05/0.008011, allocations: 51.56 kB / 0.6003 GB, free: 10.6 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 (121) * Number of variables: 117 (117) Notification: Performance of Bindings: time 0.001517/0.009534, allocations: 2.673 MB / 0.6029 GB, free: 7.801 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001484/0.00969, allocations: 159.6 kB / 0.6031 GB, free: 7.645 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0009948/0.01069, allocations: 1.562 MB / 0.6046 GB, free: 6.051 MB / 446.1 MB Notification: Performance of simplify1: time 7.814e-05/0.01078, allocations: 103.9 kB / 0.6047 GB, free: 5.949 MB / 446.1 MB Notification: Performance of Alias: time 0.002007/0.01279, allocations: 2.794 MB / 0.6074 GB, free: 2.863 MB / 446.1 MB Notification: Performance of simplify2: time 5.518e-05/0.01286, allocations: 71.89 kB / 0.6075 GB, free: 2.793 MB / 446.1 MB Notification: Performance of Events: time 0.0002973/0.01316, allocations: 293.5 kB / 0.6078 GB, free: 2.504 MB / 446.1 MB Notification: Performance of Detect States: time 0.0004838/0.01365, allocations: 489.8 kB / 0.6082 GB, free: 2.012 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0003333/0.01399, allocations: 466 kB / 0.6087 GB, free: 1.531 MB / 446.1 MB Notification: Performance of Causalize: time 0.002032/0.01603, allocations: 2.534 MB / 0.6112 GB, free: 15.02 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.001037/0.01708, allocations: 1.127 MB / 0.6123 GB, free: 13.87 MB / 462.1 MB Notification: Performance of Inline: time 0.001931/0.01902, allocations: 2.001 MB / 0.6142 GB, free: 11.83 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0001215/0.01915, allocations: 127.6 kB / 0.6143 GB, free: 11.7 MB / 462.1 MB Notification: Performance of Cleanup: time 0.0001823/0.01934, allocations: 215.6 kB / 0.6145 GB, free: 11.48 MB / 462.1 MB 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_86) slice: {}; [SCAL] (1) preHeatCoil.pumOff.outPort[1].reset = preHeatCoil.toOn.outPort.set ($RES_SIM_92) slice: {}; [SCAL] (1) $SEV_3 = (preHeatCoil.toOn.localCondition and preHeatCoil.toOn.inPort.available) and not preHeatCoil.toOn.outPort.occupied ($RES_EVT_151) slice: {}; [SCAL] (1) $SEV_1 = preHeatCoil.toOff.enableFire and time >= ((time - preHeatCoil.toOff.t_dummy) + preHeatCoil.toOff.waitTime) ($RES_EVT_149) slice: {}; Notification: Performance of Causalize: time 0.00989/0.02924, allocations: 11.59 MB / 0.6259 GB, free: 240 kB / 462.1 MB Notification: Performance of Tearing: time 1.357e-05/0.02927, allocations: 3.938 kB / 0.6259 GB, free: 236 kB / 462.1 MB Notification: Performance of Initialization: time 6.01e-07/0.02927, allocations: 0 / 0.6259 GB, free: 236 kB / 462.1 MB Notification: Performance of Tearing: time 6.352e-06/0.02928, allocations: 4 kB / 0.6259 GB, free: 232 kB / 462.1 MB Notification: Performance of Categorize: time 1.888e-05/0.02931, allocations: 11.98 kB / 0.6259 GB, free: 220 kB / 462.1 MB [/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.0006745/0.02999, allocations: 400.3 kB / 0.6263 GB, free: 15.82 MB / 478.1 MB Notification: Performance of Jacobian: time 0.0006773/0.03067, allocations: 0.6895 MB / 0.6269 GB, free: 15.08 MB / 478.1 MB 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: ....... 1 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: ........... 66 (scalar:66, 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: ........... 115 (scalar:115, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 115 (scalar:115, 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 7.741e-05/0.03076, allocations: 82.42 kB / 0.627 GB, free: 15.02 MB / 478.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false