Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 105.1 kB / 16.38 MB, free: 6.484 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.001308/0.001308, allocations: 190.5 kB / 17.31 MB, free: 5.797 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 286.1 kB / 291.4 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9058/0.9058, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.317e-05, allocations: 5.797 kB / 0.5966 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.07804/0.0781, allocations: 61.18 MB / 0.6563 GB, free: 1.191 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01811/0.09626, allocations: 12 MB / 0.668 GB, free: 5.156 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/0.09901, allocations: 59.62 kB / 0.6681 GB, free: 5.098 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.101, allocations: 0.683 MB / 0.6688 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005991/0.1071, allocations: 1.971 MB / 0.6707 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003176/0.1102, allocations: 1.201 MB / 0.6719 GB, free: 1.234 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005378/0.1156, allocations: 3.547 MB / 0.6753 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.1175, allocations: 1.236 MB / 0.6765 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003441/0.121, allocations: 1.436 MB / 0.6779 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.1225, allocations: 0.953 MB / 0.6789 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.1227, allocations: 116 kB / 0.679 GB, free: 9.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003597/0.1263, allocations: 1.478 MB / 0.6804 GB, free: 8.43 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.002039/0.1284, allocations: 2.323 MB / 0.6827 GB, free: 6.082 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009542/0.1294, allocations: 1.499 MB / 0.6842 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004834/0.1298, allocations: 259.2 kB / 0.6844 GB, free: 4.309 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0004426/0.1303, allocations: 63.69 kB / 0.6845 GB, free: 4.246 MB / 494.1 MB 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.2976/0.4279, allocations: 6.475 MB / 0.6908 GB, free: 40.07 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0003104/0.4282, allocations: 246.7 kB / 0.691 GB, free: 40.07 MB / 494.1 MB Notification: Performance of Early Inline: time 0.003094/0.4313, allocations: 3.234 MB / 0.6942 GB, free: 39.9 MB / 494.1 MB Notification: Performance of simplify1: time 0.0002723/0.4316, allocations: 219 kB / 0.6944 GB, free: 39.9 MB / 494.1 MB Notification: Performance of Alias: time 0.005228/0.4368, allocations: 4.805 MB / 0.6991 GB, free: 38.66 MB / 494.1 MB Notification: Performance of simplify2: time 0.0002443/0.4371, allocations: 160.5 kB / 0.6992 GB, free: 38.66 MB / 494.1 MB Notification: Performance of Events: time 0.0006002/0.4377, allocations: 0.5501 MB / 0.6998 GB, free: 38.57 MB / 494.1 MB Notification: Performance of Detect States: time 0.0005267/0.4382, allocations: 0.5878 MB / 0.7003 GB, free: 38.52 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0008408/0.4391, allocations: 0.8873 MB / 0.7012 GB, free: 38.17 MB / 494.1 MB Notification: Performance of Causalize: time 0.005129/0.4442, allocations: 4.795 MB / 0.7059 GB, free: 37.43 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.002168/0.4464, allocations: 1.939 MB / 0.7078 GB, free: 37.29 MB / 494.1 MB Notification: Performance of Inline: time 0.004509/0.4509, allocations: 4.236 MB / 0.7119 GB, free: 36.46 MB / 494.1 MB Notification: Performance of Partitioning: time 0.000243/0.4512, allocations: 212.1 kB / 0.7121 GB, free: 36.34 MB / 494.1 MB Notification: Performance of Cleanup: time 0.0003886/0.4515, allocations: 423 kB / 0.7125 GB, free: 36.09 MB / 494.1 MB Notification: Performance of Causalize: time 0.0126/0.4642, allocations: 16.19 MB / 0.7283 GB, free: 28.97 MB / 494.1 MB Notification: Performance of Tearing: time 0.001523/0.4657, allocations: 1.845 MB / 0.7301 GB, free: 27.97 MB / 494.1 MB Notification: Performance of Initialization: time 1.252e-06/0.4657, allocations: 0 / 0.7301 GB, free: 27.97 MB / 494.1 MB Notification: Performance of Tearing: time 0.0007224/0.4665, allocations: 0.9259 MB / 0.731 GB, free: 27.46 MB / 494.1 MB Notification: Performance of Categorize: time 4.31e-05/0.4665, allocations: 6.859 kB / 0.7311 GB, free: 27.46 MB / 494.1 MB Notification: Performance of Solve: time 0.001344/0.4679, allocations: 0.7054 MB / 0.7317 GB, free: 27.23 MB / 494.1 MB Notification: Performance of Jacobian: time 3.156e-06/0.4679, allocations: 0 / 0.7317 GB, free: 27.23 MB / 494.1 MB 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: ......... 13 * 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: ................. 29 (29) {$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: ........... 99 (scalar:95, 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: ........... 187 (scalar:182, 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: ........... 187 (scalar:182, 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 8.929e-05/0.468, allocations: 91.55 kB / 0.7318 GB, free: 27.22 MB / 494.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)