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 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.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.0009674/0.0009675, allocations: 112.9 kB / 16.42 MB, free: 6.457 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.000943/0.0009431, allocations: 185.9 kB / 17.36 MB, free: 5.715 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.21/1.21, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.299/2.299, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/2.847e-05, allocations: 8.328 kB / 1.055 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.006376/0.006412, allocations: 4.743 MB / 1.059 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005195/0.01163, allocations: 3.211 MB / 1.062 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009118/0.01255, allocations: 31.81 kB / 1.062 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007774/0.01334, allocations: 241.9 kB / 1.063 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.01462, allocations: 449.2 kB / 1.063 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.01661, allocations: 0.8924 MB / 1.064 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00195/0.01857, allocations: 1.74 MB / 1.066 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000728/0.0193, allocations: 0.493 MB / 1.066 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009345/0.02024, allocations: 0.6848 MB / 1.067 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01883/0.03908, allocations: 3.881 MB / 1.071 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003838/0.03956, allocations: 120 kB / 1.071 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004907/0.04006, allocations: 207.9 kB / 1.071 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001326/0.0414, allocations: 2 MB / 1.073 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0007735/0.04218, allocations: 1.293 MB / 1.074 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.04258, allocations: 203.2 kB / 1.074 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0003566/0.04294, allocations: 59.56 kB / 1.074 GB, free: 4.379 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.4853/0.5282, allocations: 5.536 MB / 1.08 GB, free: 20 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0002476/0.5285, allocations: 222.6 kB / 1.08 GB, free: 19.99 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001955/0.5305, allocations: 2.295 MB / 1.082 GB, free: 19.82 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001878/0.5307, allocations: 154.2 kB / 1.082 GB, free: 19.82 MB / 0.8419 GB Notification: Performance of Alias: time 0.004666/0.5353, allocations: 4.632 MB / 1.087 GB, free: 18.04 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001319/0.5355, allocations: 109 kB / 1.087 GB, free: 18.01 MB / 0.8419 GB Notification: Performance of Events: time 0.0006334/0.5361, allocations: 0.6139 MB / 1.088 GB, free: 17.68 MB / 0.8419 GB Notification: Performance of Detect States: time 0.000825/0.537, allocations: 0.8744 MB / 1.088 GB, free: 17.18 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0007587/0.5377, allocations: 0.7513 MB / 1.089 GB, free: 16.71 MB / 0.8419 GB Notification: Performance of Causalize: time 0.003546/0.5413, allocations: 2.734 MB / 1.092 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001861/0.5431, allocations: 1.877 MB / 1.094 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of Inline: time 0.00383/0.547, allocations: 3.632 MB / 1.097 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001981/0.5472, allocations: 192.4 kB / 1.097 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0004197/0.5476, allocations: 449.5 kB / 1.098 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of Causalize: time 0.01052/0.5581, allocations: 9.498 MB / 1.107 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of Tearing: time 3.243e-05/0.5582, allocations: 0.875 kB / 1.107 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of Initialization: time 1.443e-06/0.5582, allocations: 1.438 kB / 1.107 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of Tearing: time 2.183e-05/0.5582, allocations: 13 kB / 1.107 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of Categorize: time 3.095e-05/0.5583, allocations: 5.094 kB / 1.107 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of Solve: time 0.00124/0.5595, allocations: 0.5432 MB / 1.108 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0007924/0.5603, allocations: 0.8802 MB / 1.109 GB, free: 7.926 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: ............... 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 9.994e-05/0.5604, allocations: 118.7 kB / 1.109 GB, free: 7.891 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: true