Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 107.4 kB / 16.42 MB, free: 5.984 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.001067/0.001068, allocations: 191.4 kB / 17.35 MB, free: 5.578 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.148/1.148, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001896/0.001896, allocations: 296.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8223/0.8223, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/1.904e-05, allocations: 6.219 kB / 0.682 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva): time 0.2904/0.2904, allocations: 61.14 MB / 0.7417 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.305, allocations: 11.98 MB / 0.7534 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.3066, allocations: 60.19 kB / 0.7535 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.308, allocations: 0.6834 MB / 0.7541 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005263/0.3133, allocations: 1.959 MB / 0.7561 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.316, allocations: 1.21 MB / 0.7572 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00389/0.3199, allocations: 3.557 MB / 0.7607 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.3212, allocations: 1.203 MB / 0.7619 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.3238, allocations: 1.465 MB / 0.7633 GB, free: 9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.3249, allocations: 0.9082 MB / 0.7642 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.325, allocations: 114.9 kB / 0.7643 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.3273, allocations: 1.475 MB / 0.7658 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.001448/0.3287, allocations: 2.32 MB / 0.768 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0008435/0.3296, allocations: 1.522 MB / 0.7695 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.3298, allocations: 255.3 kB / 0.7697 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0002929/0.3301, allocations: 67.73 kB / 0.7698 GB, free: 4.484 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 (180) * Number of variables: 192 (189) Notification: Performance of Bindings: time 0.004922/0.3351, allocations: 6.523 MB / 0.7762 GB, free: 13.76 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0002043/0.3353, allocations: 239.5 kB / 0.7764 GB, free: 13.53 MB / 0.545 GB Notification: Performance of Early Inline: time 0.002727/0.338, allocations: 3.229 MB / 0.7796 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simplify1: time 0.0001865/0.3382, allocations: 215.8 kB / 0.7798 GB, free: 10.05 MB / 0.545 GB Notification: Performance of Alias: time 0.005008/0.3432, allocations: 5.278 MB / 0.7849 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simplify2: time 0.0001455/0.3434, allocations: 163.8 kB / 0.7851 GB, free: 4.195 MB / 0.545 GB Notification: Performance of Events: time 0.0005304/0.3439, allocations: 0.5486 MB / 0.7856 GB, free: 3.637 MB / 0.545 GB Notification: Performance of Detect States: time 0.0004475/0.3444, allocations: 0.5657 MB / 0.7862 GB, free: 3.059 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0007654/0.3452, allocations: 0.8766 MB / 0.787 GB, free: 2.047 MB / 0.545 GB Notification: Performance of Causalize: time 0.003144/0.3483, allocations: 3.205 MB / 0.7902 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.001576/0.3499, allocations: 1.906 MB / 0.792 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of Inline: time 0.003831/0.3537, allocations: 4.364 MB / 0.7963 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0002001/0.3539, allocations: 199.6 kB / 0.7965 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of Cleanup: time 0.0003284/0.3543, allocations: 423.4 kB / 0.7969 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of Causalize: time 0.01119/0.3655, allocations: 11.54 MB / 0.8081 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of Tearing: time 0.00162/0.3671, allocations: 1.825 MB / 0.8099 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of Initialization: time 6.21e-07/0.3671, allocations: 0 / 0.8099 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of Tearing: time 0.000771/0.3679, allocations: 0.9365 MB / 0.8108 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of Categorize: time 2.492e-05/0.3679, allocations: 7.938 kB / 0.8108 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of Solve: time 0.0009256/0.3689, allocations: 0.6462 MB / 0.8115 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of Jacobian: time 3.326e-06/0.3689, allocations: 4 kB / 0.8115 GB, free: 8.473 MB / 0.5762 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: ......... 12 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 28 (28) {$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: ........... 97 (scalar:93, 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: ........... 181 (scalar:176, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 181 (scalar:176, 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 7.379e-05/0.3689, allocations: 77.78 kB / 0.8116 GB, free: 8.406 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_21)