Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 111.8 kB / 16.42 MB, free: 6.508 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.00107/0.00107, allocations: 191.8 kB / 17.36 MB, free: 5.727 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.144/1.144, allocations: 222.9 MB / 241 MB, free: 15.15 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 1.915/1.915, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.11e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.03732/0.03734, allocations: 48.21 MB / 0.9985 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.05155, allocations: 11.87 MB / 1.01 GB, free: 11.43 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.05329, allocations: 59.62 kB / 1.01 GB, free: 11.38 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.05507, allocations: 0.7411 MB / 1.011 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004568/0.05965, allocations: 2.134 MB / 1.013 GB, free: 8.484 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004276/0.06397, allocations: 2.071 MB / 1.015 GB, free: 6.434 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004174/0.06816, allocations: 4.022 MB / 1.019 GB, free: 2.395 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.0699, allocations: 1.33 MB / 1.02 GB, free: 1.039 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.07302, allocations: 1.686 MB / 1.022 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.07453, allocations: 1.054 MB / 1.023 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003195/0.07486, allocations: 136 kB / 1.023 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.07808, allocations: 2.313 MB / 1.025 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.002138/0.08023, allocations: 2.825 MB / 1.028 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.001147/0.08138, allocations: 1.793 MB / 1.03 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004637/0.08185, allocations: 291.1 kB / 1.03 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0002966/0.08215, allocations: 63.69 kB / 1.03 GB, free: 6.828 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 (205) * Number of variables: 214 (212) Notification: Performance of Bindings: time 0.00604/0.0882, allocations: 7.396 MB / 1.037 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0004866/0.08869, allocations: 0.6126 MB / 1.038 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.003048/0.09175, allocations: 3.847 MB / 1.042 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simplify1: time 0.0002425/0.092, allocations: 283.6 kB / 1.042 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of Alias: time 0.005107/0.09712, allocations: 5.575 MB / 1.047 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of simplify2: time 0.0001878/0.09732, allocations: 223.7 kB / 1.048 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0006267/0.09795, allocations: 0.8289 MB / 1.048 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of Events: time 0.0006216/0.09858, allocations: 0.5796 MB / 1.049 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0008173/0.0994, allocations: 0.9947 MB / 1.05 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of Causalize: time 0.003555/0.103, allocations: 3.775 MB / 1.054 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.00203/0.105, allocations: 2.449 MB / 1.056 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Inline: time 0.004837/0.1099, allocations: 5.342 MB / 1.061 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.000268/0.1101, allocations: 244 kB / 1.062 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.000464/0.1106, allocations: 0.5374 MB / 1.062 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of Causalize: time 0.01498/0.1256, allocations: 15.21 MB / 1.077 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of Tearing: time 3.108e-05/0.1256, allocations: 3.938 kB / 1.077 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of Initialization: time 7.51e-07/0.1256, allocations: 0 / 1.077 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of Tearing: time 1.452e-05/0.1257, allocations: 7.938 kB / 1.077 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of Categorize: time 3.481e-05/0.1257, allocations: 19.91 kB / 1.077 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of Solve: time 0.00263/0.1283, allocations: 3.188 MB / 1.08 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of Jacobian: time 0.00121/0.1296, allocations: 1.36 MB / 1.081 GB, free: 396 kB / 0.8575 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 15 * 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: ............................. 4 (3) {temSen.T, P.I.y, val.filter.s} * Number of discrete states: .................... 2 (2) {TSet.count, TSet.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 45 (45) {hex.flowRegime, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $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, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 142 (scalar:137, array:5, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 262 (scalar:256, array:6, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 262 (scalar:256, array:6, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 9.012e-05/0.1297, allocations: 105.8 kB / 1.081 GB, free: 296 kB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_22)