Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001698, allocations: 102.6 kB / 16.42 MB, free: 6.52 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.001699/0.001699, allocations: 192.3 kB / 17.36 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.118/1.118, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.154/2.154, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.47e-05, allocations: 2.281 kB / 1.055 GB, free: 7.754 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter hol.ph.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter holTim.ph.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002897/0.002922, allocations: 2.453 MB / 1.057 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.004527, allocations: 1.161 MB / 1.058 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.004727, allocations: 15.94 kB / 1.058 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.004902, allocations: 55.41 kB / 1.058 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.265e-05/0.004992, allocations: 35.59 kB / 1.058 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.005703, allocations: 342.4 kB / 1.059 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004941/0.006206, allocations: 0.5732 MB / 1.059 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.006658, allocations: 422.7 kB / 1.06 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.006914, allocations: 235.4 kB / 1.06 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.00714, allocations: 211.2 kB / 1.06 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.301e-05/0.007219, allocations: 64 kB / 1.06 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.007349, allocations: 95.97 kB / 1.06 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0003143/0.007669, allocations: 0.5758 MB / 1.061 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0001552/0.00783, allocations: 346.8 kB / 1.061 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.594e-05/0.007921, allocations: 71.75 kB / 1.061 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.42e-05/0.00798, allocations: 39.75 kB / 1.061 GB, free: 1.074 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 (90) * Number of variables: 86 (86) Notification: Performance of Bindings: time 0.001532/0.009518, allocations: 1.885 MB / 1.063 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001549/0.009679, allocations: 130.4 kB / 1.063 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001325/0.01101, allocations: 1.616 MB / 1.065 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simplify1: time 8.122e-05/0.0111, allocations: 75.89 kB / 1.065 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of Alias: time 0.002225/0.01333, allocations: 2.361 MB / 1.067 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simplify2: time 6.343e-05/0.0134, allocations: 47.94 kB / 1.067 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of Events: time 0.0003788/0.01379, allocations: 342.3 kB / 1.067 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0005024/0.0143, allocations: 0.5856 MB / 1.068 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003645/0.01467, allocations: 389.9 kB / 1.068 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001554/0.01623, allocations: 1.566 MB / 1.07 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0008302/0.01707, allocations: 1.066 MB / 1.071 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of Inline: time 0.001341/0.01842, allocations: 1.644 MB / 1.073 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.06e-05/0.01851, allocations: 91.62 kB / 1.073 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of Cleanup: time 7.351e-05/0.01859, allocations: 79.86 kB / 1.073 GB, free: 4.793 MB / 0.8419 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) holTim.truHol.outputTrue.outerStatePort.localActive = $TEV_18 ($RES_SIM_36) slice: {}; [SCAL] (1) holTim.truHol.toOutputTrue.outPort.set = holTim.truHol.outputTrue.inPort[1].set ($RES_SIM_77) slice: {}; [SCAL] (1) holTim.truHol.toInitial.outPort.set = holTim.truHol.initialStep.inPort[1].set ($RES_SIM_79) slice: {}; [SCAL] (1) holTim.truHol.initialStep.outPort[1].reset = holTim.truHol.toOutputTrue.outPort.set ($RES_SIM_84) slice: {}; [SCAL] (1) $SEV_3 = (holTim.truHol.toInitial.localCondition and holTim.truHol.toInitial.inPort.available) and not holTim.truHol.toInitial.outPort.occupied ($RES_EVT_125) slice: {}; Notification: Performance of Causalize: time 0.003466/0.02206, allocations: 3.485 MB / 1.076 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of Tearing: time 7.604e-06/0.02207, allocations: 0 / 1.076 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of Initialization: time 3.41e-07/0.02208, allocations: 0 / 1.076 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of Tearing: time 5.671e-06/0.02209, allocations: 7.938 kB / 1.076 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of Categorize: time 8.185e-06/0.0221, allocations: 3.938 kB / 1.076 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of Solve: time 0.0003042/0.02241, allocations: 226.6 kB / 1.076 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.555e-06/0.02242, allocations: 0 / 1.076 GB, free: 1.02 MB / 0.8419 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: ......... 3 * 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: .................... 9 (9) {holTim.truHol.toInitial.t_start, holTim.truHol.toOutputTrue.t_start, holTim.truHol.outputTrue.oldActive, holTim.truHol.initialStep.oldActive, holTim.truHol.onDelay.t_next, holTim.truHol.toInitial.localCondition, holTim.triSam.y, holTim.truHol.toOutputTrue.localCondition, hol.triSam.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 42 (42) {holTim.truHol.stateGraphRoot.activeSteps, holTim.truHol.initialStep.inPort.set, holTim.truHol.initialStep.inPort.occupied, holTim.truHol.initialStep.outPort.reset, holTim.truHol.initialStep.outPort.available, holTim.truHol.initialStep.outerStatePort.localActive, holTim.truHol.initialStep.newActive, holTim.truHol.outputTrue.inPort.set, holTim.truHol.outputTrue.inPort.occupied, holTim.truHol.outputTrue.outPort.reset, holTim.truHol.outputTrue.outPort.available, holTim.truHol.outputTrue.outerStatePort.localActive, holTim.truHol.outputTrue.newActive, holTim.truHol.toOutputTrue.inPort.available, holTim.truHol.toOutputTrue.outPort.occupied, holTim.truHol.toOutputTrue.outPort.set, holTim.truHol.toInitial.inPort.available, holTim.truHol.toInitial.outPort.occupied, holTim.truHol.toInitial.outPort.set, $FUN_2, $FUN_3, $FUN_4, $FUN_5, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $TEV_25, $TEV_24, $TEV_23, $TEV_22, $TEV_21, $TEV_20, $TEV_19, $TEV_18, $TEV_17, $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: ........... 49 (scalar:49, array:0, record:0) * Number of multi strong components: ............ 9 (algorithm:0, when:9, 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: ........... 71 (scalar:71, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, 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.26e-05/0.02248, allocations: 55.47 kB / 1.076 GB, free: 0.9727 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false