Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.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.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 105.9 kB / 16.42 MB, free: 6.031 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.001055/0.001055, allocations: 184.8 kB / 17.35 MB, free: 5.602 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.133/1.133, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.205/1.205, allocations: 251.7 MB / 0.51 GB, free: 416 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.107e-05, allocations: 5.938 kB / 0.7264 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.005002/0.005023, allocations: 4.698 MB / 0.7309 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00404/0.009074, allocations: 3.082 MB / 0.734 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003509/0.009436, allocations: 31.81 kB / 0.734 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005134/0.009957, allocations: 253.9 kB / 0.7342 GB, free: 12.67 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. Notification: Performance of NFTyping.typeBindings: time 0.0007632/0.01073, allocations: 441.2 kB / 0.7346 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.01208, allocations: 0.8327 MB / 0.7355 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.01343, allocations: 1.717 MB / 0.7371 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005512/0.01399, allocations: 0.4888 MB / 0.7376 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005796/0.01458, allocations: 0.6614 MB / 0.7383 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006676/0.01526, allocations: 0.6439 MB / 0.7389 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.01541, allocations: 120 kB / 0.739 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.01576, allocations: 303.7 kB / 0.7393 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001138/0.0169, allocations: 1.98 MB / 0.7412 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0006165/0.01753, allocations: 1.277 MB / 0.7425 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.01771, allocations: 211.2 kB / 0.7427 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001149/0.01783, allocations: 55.56 kB / 0.7427 GB, free: 3.895 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: 171 (171) * Number of variables: 171 (167) Notification: Performance of Bindings: time 0.00397/0.02181, allocations: 5.394 MB / 0.748 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.000271/0.02209, allocations: 308.3 kB / 0.7483 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.002172/0.02427, allocations: 2.608 MB / 0.7508 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0001338/0.02441, allocations: 155.8 kB / 0.751 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of Alias: time 0.003435/0.02785, allocations: 3.78 MB / 0.7547 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of simplify2: time 9.531e-05/0.02795, allocations: 115.8 kB / 0.7548 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of Events: time 0.0006191/0.02858, allocations: 0.5969 MB / 0.7554 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0008776/0.02946, allocations: 0.8634 MB / 0.7562 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0006823/0.03016, allocations: 0.7348 MB / 0.7569 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of Causalize: time 0.003291/0.03345, allocations: 3.697 MB / 0.7605 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.2742/0.3077, allocations: 1.83 MB / 0.7623 GB, free: 30.25 MB / 0.5919 GB Notification: Performance of Inline: time 0.003831/0.3115, allocations: 4.077 MB / 0.7663 GB, free: 29.97 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0002068/0.3117, allocations: 198.8 kB / 0.7665 GB, free: 29.92 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0004312/0.3122, allocations: 450.8 kB / 0.7669 GB, free: 29.89 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) $FUN_1 = mod(1 + i, 10) ($RES_$AUX_203) slice: {}; Notification: Performance of Causalize: time 0.01691/0.3291, allocations: 20.84 MB / 0.7873 GB, free: 21.51 MB / 0.5919 GB Notification: Performance of Tearing: time 3.358e-05/0.3292, allocations: 0 / 0.7873 GB, free: 21.51 MB / 0.5919 GB Notification: Performance of Initialization: time 1.563e-06/0.3292, allocations: 2.812 kB / 0.7873 GB, free: 21.51 MB / 0.5919 GB Notification: Performance of Tearing: time 1.139e-05/0.3292, allocations: 8.938 kB / 0.7873 GB, free: 21.51 MB / 0.5919 GB Notification: Performance of Categorize: time 2.534e-05/0.3292, allocations: 5.594 kB / 0.7873 GB, free: 21.51 MB / 0.5919 GB Notification: Performance of Solve: time 0.0009796/0.3302, allocations: 0.5607 MB / 0.7878 GB, free: 21.33 MB / 0.5919 GB Notification: Performance of Jacobian: time 0.000708/0.3309, allocations: 0.8571 MB / 0.7887 GB, free: 20.85 MB / 0.5919 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 11 * 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) {cooValSta.limPI.addPID.u2} * Number of discrete states: .................... 18 (18) {timSerInp.tActivateLast, timSerInp.timeConverted, timSerRes.tActivateLast, timSerRes.timeConverted, correlation.tActivateLast, plotConfiguration.tActivateLast, TSupply_F.nextTimeEvent, TSupply_F.nextTimeEventScaled, fanStatus.nextTimeEventScaled, fanStatus.nextTimeEvent, fanFeedback.nextTimeEventScaled, fanFeedback.nextTimeEvent, coolingValveSignal.nextTimeEvent, coolingValveSignal.nextTimeEventScaled, TSupSetpoint_F.nextTimeEvent, TSupSetpoint_F.nextTimeEventScaled, TOut_F.nextTimeEventScaled, TOut_F.nextTimeEvent} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 54 (54) {cooValSta.TOutThr.y, cooValSta.andIntErr.u2, cooValSta.cha.u, cooValSta.cha.y, greEquThr.y, csvWriter.str, csvWriter.sampleTrigger, correlation.active, correlation.sampleTrigger, timSerRes.active, timSerRes.sampleTrigger, timSerInp.active, timSerInp.activate_internal, timSerInp.sampleTrigger, $FUN_1, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $TEV_12, $TEV_11, $TEV_10, $TEV_9, $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: ........... 103 (scalar:103, array:0, record:0) * Number of multi strong components: ............ 19 (algorithm:1, when:18, 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: ........... 202 (scalar:192, array:0, record:10) * Number of multi strong components: ............ 15 (algorithm:15, 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: ........... 202 (scalar:192, array:0, record:10) * Number of multi strong components: ............ 15 (algorithm:15, 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.883e-05/0.331, allocations: 123.4 kB / 0.7888 GB, free: 20.82 MB / 0.5919 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: true