Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001094/0.001094, allocations: 106.8 kB / 16.42 MB, free: 6.48 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.0009594/0.0009598, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.047/2.047, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.273e-05/3.273e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.00851/0.008552, allocations: 4.724 MB / 0.9561 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006017/0.0146, allocations: 3.196 MB / 0.9592 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007898/0.01542, allocations: 35.81 kB / 0.9592 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008747/0.0163, allocations: 249.9 kB / 0.9594 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.01769, allocations: 457.2 kB / 0.9599 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.02045, allocations: 0.9032 MB / 0.9608 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002301/0.02276, allocations: 1.732 MB / 0.9625 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000872/0.02365, allocations: 492.8 kB / 0.9629 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.02473, allocations: 0.6887 MB / 0.9636 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02539/0.05014, allocations: 3.872 MB / 0.9674 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006563/0.05082, allocations: 119.9 kB / 0.9675 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007401/0.05157, allocations: 208 kB / 0.9677 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.001762/0.05335, allocations: 1.992 MB / 0.9696 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0009684/0.05433, allocations: 1.281 MB / 0.9709 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005565/0.05489, allocations: 215.2 kB / 0.9711 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.0005072/0.05541, allocations: 59.5 kB / 0.9711 GB, free: 4.32 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 (179) * Number of variables: 179 (175) Notification: Performance of Bindings: time 0.005677/0.06109, allocations: 5.369 MB / 0.9764 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of FunctionAlias: time 0.0005272/0.06163, allocations: 379.6 kB / 0.9768 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of Early Inline: time 0.002786/0.06442, allocations: 2.277 MB / 0.979 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of simplify1: time 0.0003193/0.06475, allocations: 155.8 kB / 0.9791 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of Alias: time 0.005202/0.06996, allocations: 4.576 MB / 0.9836 GB, free: 6.926 MB / 0.7637 GB Notification: Performance of simplify2: time 0.0001855/0.07017, allocations: 115.8 kB / 0.9837 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of Detect States: time 0.0009685/0.07114, allocations: 0.8761 MB / 0.9846 GB, free: 5.922 MB / 0.7637 GB Notification: Performance of Events: time 0.0007506/0.07191, allocations: 0.4913 MB / 0.985 GB, free: 5.418 MB / 0.7637 GB Notification: Performance of Partitioning: time 0.0008549/0.07277, allocations: 0.7426 MB / 0.9858 GB, free: 4.582 MB / 0.7637 GB Notification: Performance of Causalize: time 0.003939/0.07672, allocations: 2.763 MB / 0.9885 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of After Index Reduction Inline: time 0.002021/0.07876, allocations: 1.861 MB / 0.9903 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of Inline: time 0.004343/0.08312, allocations: 3.595 MB / 0.9938 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of Partitioning: time 0.000234/0.08336, allocations: 195.6 kB / 0.994 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of Cleanup: time 0.0007003/0.08407, allocations: 439.4 kB / 0.9944 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of Causalize: time 0.01216/0.09624, allocations: 9.473 MB / 1.004 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of Tearing: time 2.85e-05/0.09629, allocations: 0 / 1.004 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of Initialization: time 1.954e-06/0.0963, allocations: 4 kB / 1.004 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of Tearing: time 1.396e-05/0.09631, allocations: 3.938 kB / 1.004 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of Categorize: time 2.692e-05/0.09635, allocations: 4 kB / 1.004 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of Solve: time 0.001047/0.0974, allocations: 0.5489 MB / 1.004 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of Jacobian: time 0.0008413/0.09825, allocations: 0.8811 MB / 1.005 GB, free: 476 kB / 0.7794 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: ................. 53 (53) {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, $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: ........... 106 (scalar:106, 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: ........... 201 (scalar:191, 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: ........... 201 (scalar:191, 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.000109/0.09837, allocations: 112.1 kB / 1.005 GB, free: 376 kB / 0.7794 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: true