Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001085/0.001085, allocations: 106.2 kB / 16.38 MB, free: 6.383 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.001068/0.001068, allocations: 192.1 kB / 17.31 MB, free: 5.766 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.137/1.137, 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.525/1.525, allocations: 292.3 MB / 0.5496 GB, free: 17.42 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.029e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.005229/0.005263, allocations: 4.629 MB / 0.6774 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004301/0.009577, allocations: 3.062 MB / 0.6804 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.009964, allocations: 31.81 kB / 0.6804 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005509/0.01052, allocations: 238 kB / 0.6806 GB, free: 13.89 MB / 0.5606 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.0008215/0.01135, allocations: 445.2 kB / 0.681 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.01279, allocations: 0.8211 MB / 0.6818 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.01412, allocations: 1.701 MB / 0.6835 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.01467, allocations: 476.5 kB / 0.684 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005743/0.01525, allocations: 0.6614 MB / 0.6846 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006497/0.01591, allocations: 0.6447 MB / 0.6852 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.01606, allocations: 116 kB / 0.6853 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.01642, allocations: 291.8 kB / 0.6856 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.001076/0.0175, allocations: 1.973 MB / 0.6876 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0005794/0.01809, allocations: 1.247 MB / 0.6888 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.01828, allocations: 207.2 kB / 0.689 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001348/0.01842, allocations: 55.56 kB / 0.689 GB, free: 5.219 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: 167 (167) * Number of variables: 167 (163) Notification: Performance of Bindings: time 0.003868/0.02229, allocations: 5.308 MB / 0.6942 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.000203/0.0225, allocations: 219.7 kB / 0.6944 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.002034/0.02454, allocations: 2.546 MB / 0.6969 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0001304/0.02468, allocations: 155.8 kB / 0.697 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of Alias: time 0.003414/0.0281, allocations: 3.755 MB / 0.7007 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of simplify2: time 8.557e-05/0.0282, allocations: 107.8 kB / 0.7008 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of Events: time 0.0005935/0.0288, allocations: 0.5927 MB / 0.7014 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0007279/0.02953, allocations: 0.8363 MB / 0.7022 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0006675/0.03021, allocations: 0.7348 MB / 0.7029 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of Causalize: time 0.00321/0.03343, allocations: 3.599 MB / 0.7064 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.001549/0.03499, allocations: 1.818 MB / 0.7082 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of Inline: time 0.00337/0.03836, allocations: 3.839 MB / 0.712 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0001925/0.03857, allocations: 183.6 kB / 0.7121 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0003588/0.03893, allocations: 443.3 kB / 0.7126 GB, free: 12.23 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_199) slice: {}; Notification: Performance of Causalize: time 0.01629/0.05523, allocations: 20.36 MB / 0.7325 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of Tearing: time 1.011e-05/0.05525, allocations: 0 / 0.7325 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of Initialization: time 4.51e-07/0.05526, allocations: 0 / 0.7325 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of Tearing: time 1.396e-05/0.05527, allocations: 3.938 kB / 0.7325 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of Categorize: time 1.827e-05/0.0553, allocations: 8 kB / 0.7325 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of Solve: time 0.000944/0.05625, allocations: 0.5922 MB / 0.733 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of Jacobian: time 0.000747/0.057, allocations: 0.842 MB / 0.7339 GB, free: 7.613 MB / 0.6075 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.uFanSta, cooValSta.TOutThr.y, cooValSta.andIntErr.u2, cooValSta.cha.u, cooValSta.cha.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: ........... 101 (scalar:101, 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: ........... 200 (scalar:190, 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: ........... 200 (scalar:190, 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 9.413e-05/0.0571, allocations: 111.7 kB / 0.734 GB, free: 7.527 MB / 0.6075 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: true