Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooValSta.TSup|cooValSta.TSupSet|cooValSta.TOut|cooValSta.uFanFee|cooValSta.uFanSta|percConv.y|cooValSta.yCooVal",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooValSta.TSup|cooValSta.TSupSet|cooValSta.TOut|cooValSta.uFanFee|cooValSta.uFanSta|percConv.y|cooValSta.yCooVal",fileNamePrefix="Buildings_latest_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.001142/0.001142, allocations: 109.1 kB / 16.42 MB, free: 6.434 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.001173/0.001173, allocations: 185.5 kB / 17.36 MB, free: 5.684 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.361/2.361, allocations: 472.6 MB / 0.7459 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.447e-05, allocations: 2.281 kB / 1.07 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.005353/0.005377, allocations: 4.744 MB / 1.075 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00462/0.01001, allocations: 3.208 MB / 1.078 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004007/0.01042, allocations: 31.81 kB / 1.078 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005645/0.011, allocations: 241.9 kB / 1.078 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0007992/0.01181, allocations: 457.2 kB / 1.078 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.01344, allocations: 0.8997 MB / 1.079 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.5076/0.5211, allocations: 1.74 MB / 1.081 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007547/0.5219, allocations: 0.4984 MB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.5229, allocations: 0.6821 MB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01948/0.5424, allocations: 3.88 MB / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006799/0.5431, allocations: 119.7 kB / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009004/0.5441, allocations: 200 kB / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001943/0.5461, allocations: 2.004 MB / 1.088 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0008584/0.5469, allocations: 1.283 MB / 1.09 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000672/0.5476, allocations: 210.9 kB / 1.09 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0004981/0.5481, allocations: 63.36 kB / 1.09 GB, free: 8.641 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 (181) * Number of variables: 181 (177) Notification: Performance of Bindings: time 0.006778/0.5549, allocations: 5.543 MB / 1.095 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0004373/0.5554, allocations: 230.6 kB / 1.095 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.003478/0.5588, allocations: 2.293 MB / 1.098 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of simplify1: time 0.000435/0.5593, allocations: 162.9 kB / 1.098 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of Alias: time 0.006245/0.5656, allocations: 4.614 MB / 1.102 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of simplify2: time 0.000319/0.5659, allocations: 114 kB / 1.102 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of Detect States: time 0.001531/0.5674, allocations: 0.8961 MB / 1.103 GB, free: 344 kB / 0.8419 GB Notification: Performance of Events: time 0.000911/0.5683, allocations: 494 kB / 1.104 GB, free: 72 kB / 0.8419 GB Notification: Performance of Partitioning: time 0.001368/0.5697, allocations: 0.7635 MB / 1.105 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of Causalize: time 0.004583/0.5743, allocations: 2.8 MB / 1.107 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.003281/0.5776, allocations: 1.868 MB / 1.109 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of Inline: time 0.01039/0.588, allocations: 3.899 MB / 1.113 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0003708/0.5884, allocations: 181.4 kB / 1.113 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of Cleanup: time 0.001102/0.5895, allocations: 454.5 kB / 1.113 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of Causalize: time 0.01355/0.6031, allocations: 9.536 MB / 1.123 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of Tearing: time 4.125e-05/0.6031, allocations: 0 / 1.123 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of Initialization: time 1.403e-06/0.6031, allocations: 5.562 kB / 1.123 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of Tearing: time 3.028e-05/0.6032, allocations: 5.312 kB / 1.123 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of Categorize: time 4.089e-05/0.6032, allocations: 12.23 kB / 1.123 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of Solve: time 0.001414/0.6046, allocations: 0.5436 MB / 1.123 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of Jacobian: time 0.0009141/0.6056, allocations: 0.8791 MB / 1.124 GB, free: 6.605 MB / 0.8575 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: ................. 55 (55) {cooValSta.TOutThr.y, cooValSta.uFanFeeThr.y, cooValSta.andOutAirFanFee.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, $SEV_33, $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: ........... 108 (scalar:108, 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: ........... 203 (scalar:193, 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: ........... 203 (scalar:193, 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 0.0001205/0.6057, allocations: 127.4 kB / 1.124 GB, free: 6.504 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: true