Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.001062/0.001062, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.154/1.154, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001861/0.001861, allocations: 295.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.818/0.818, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.408e-05, allocations: 2.281 kB / 0.682 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.2882/0.2882, allocations: 70.44 MB / 0.7508 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02162/0.3099, allocations: 18.91 MB / 0.7693 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.3124, allocations: 70.94 kB / 0.7693 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.3143, allocations: 0.8232 MB / 0.7701 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006634/0.3209, allocations: 2.851 MB / 0.7729 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.3243, allocations: 1.653 MB / 0.7745 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005078/0.3294, allocations: 4.67 MB / 0.7791 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/0.3313, allocations: 1.578 MB / 0.7806 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003478/0.3348, allocations: 1.909 MB / 0.7825 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.3362, allocations: 1.175 MB / 0.7837 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.3364, allocations: 176 kB / 0.7838 GB, free: 6.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.3388, allocations: 1.435 MB / 0.7852 GB, free: 4.809 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.001723/0.3406, allocations: 2.888 MB / 0.788 GB, free: 1.891 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0009122/0.3415, allocations: 1.861 MB / 0.7899 GB, free: 12 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.3418, allocations: 347.1 kB / 0.7902 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0003845/0.3422, allocations: 75.69 kB / 0.7903 GB, free: 15.59 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: 257 (245) * Number of variables: 257 (254) Notification: Performance of Bindings: time 0.005954/0.3482, allocations: 8.191 MB / 0.7983 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0002673/0.3485, allocations: 335.6 kB / 0.7986 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.003981/0.3525, allocations: 4.96 MB / 0.8034 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of simplify1: time 0.0002745/0.3527, allocations: 326.1 kB / 0.8037 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of Alias: time 0.007358/0.3601, allocations: 8.104 MB / 0.8117 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0002133/0.3603, allocations: 239.7 kB / 0.8119 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of Events: time 0.0007267/0.3611, allocations: 0.7926 MB / 0.8127 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0005831/0.3617, allocations: 0.8104 MB / 0.8134 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0009717/0.3626, allocations: 1.127 MB / 0.8145 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of Causalize: time 0.004209/0.3669, allocations: 4.342 MB / 0.8188 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.002156/0.369, allocations: 2.711 MB / 0.8214 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of Inline: time 0.005063/0.3741, allocations: 6.061 MB / 0.8274 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0002537/0.3744, allocations: 263.6 kB / 0.8276 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0001643/0.3745, allocations: 223.7 kB / 0.8278 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of Causalize: time 0.007637/0.3822, allocations: 7.749 MB / 0.8354 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of Tearing: time 0.0006201/0.3828, allocations: 0.6736 MB / 0.836 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of Initialization: time 5.31e-07/0.3828, allocations: 0 / 0.836 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of Tearing: time 0.0005419/0.3834, allocations: 0.6736 MB / 0.8367 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of Categorize: time 2.875e-05/0.3834, allocations: 8 kB / 0.8367 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of Solve: time 0.001106/0.3845, allocations: 0.8594 MB / 0.8375 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of Jacobian: time 2.825e-06/0.3845, allocations: 0 / 0.8375 GB, free: 13.61 MB / 0.6075 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 10 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 39 (39) {$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, $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: ........... 132 (scalar:128, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 233 (scalar:228, array:5, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 6.5e-05/0.3846, allocations: 78.2 kB / 0.8376 GB, free: 13.55 MB / 0.6075 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_32)