Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 101.4 kB / 16.42 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.001045/0.001045, allocations: 192.3 kB / 17.36 MB, free: 5.703 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.538/1.538, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002279/0.002279, allocations: 285.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.122/1.122, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.357e-05, allocations: 4.672 kB / 0.682 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.4779/0.478, allocations: 61.18 MB / 0.7418 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02157/0.4996, allocations: 11.99 MB / 0.7535 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00435/0.504, allocations: 60.44 kB / 0.7535 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003071/0.5071, allocations: 0.7038 MB / 0.7542 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008833/0.516, allocations: 2.063 MB / 0.7562 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004662/0.5207, allocations: 1.22 MB / 0.7574 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00904/0.5297, allocations: 3.564 MB / 0.7609 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003243/0.533, allocations: 1.225 MB / 0.7621 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004976/0.538, allocations: 1.463 MB / 0.7635 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.5407, allocations: 0.9391 MB / 0.7645 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000493/0.5412, allocations: 119.2 kB / 0.7646 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004561/0.5457, allocations: 1.466 MB / 0.766 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.003784/0.5495, allocations: 2.361 MB / 0.7683 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.001919/0.5515, allocations: 1.524 MB / 0.7698 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009564/0.5525, allocations: 263.2 kB / 0.77 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0007937/0.5533, allocations: 59.8 kB / 0.7701 GB, free: 4.137 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: 194 (182) * Number of variables: 194 (191) Notification: Performance of Bindings: time 0.009963/0.5632, allocations: 6.431 MB / 0.7764 GB, free: 13.51 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0005782/0.5638, allocations: 245.5 kB / 0.7766 GB, free: 13.27 MB / 0.545 GB Notification: Performance of Early Inline: time 0.005644/0.5695, allocations: 3.508 MB / 0.78 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simplify1: time 0.0006658/0.5702, allocations: 231.7 kB / 0.7803 GB, free: 9.504 MB / 0.545 GB Notification: Performance of Alias: time 0.009123/0.5793, allocations: 5.26 MB / 0.7854 GB, free: 3.867 MB / 0.545 GB Notification: Performance of simplify2: time 0.0005374/0.5799, allocations: 179.8 kB / 0.7856 GB, free: 3.691 MB / 0.545 GB Notification: Performance of Detect States: time 0.0009721/0.5809, allocations: 0.5253 MB / 0.7861 GB, free: 3.152 MB / 0.545 GB Notification: Performance of Events: time 0.001234/0.5822, allocations: 0.6227 MB / 0.7867 GB, free: 2.52 MB / 0.545 GB Notification: Performance of Partitioning: time 0.001543/0.5838, allocations: 0.9244 MB / 0.7876 GB, free: 1.477 MB / 0.545 GB Notification: Performance of Causalize: time 0.005907/0.5897, allocations: 3.638 MB / 0.7911 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.003529/0.5932, allocations: 2.114 MB / 0.7932 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of Inline: time 0.007431/0.6007, allocations: 4.771 MB / 0.7979 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0003547/0.6011, allocations: 211.6 kB / 0.7981 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of Cleanup: time 0.0005772/0.6017, allocations: 467.3 kB / 0.7985 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of Causalize: time 0.01708/0.6188, allocations: 12.42 MB / 0.8107 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of Tearing: time 0.005487/0.6243, allocations: 3.967 MB / 0.8145 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of Initialization: time 4.919e-06/0.6244, allocations: 0 / 0.8145 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of Tearing: time 0.002745/0.6271, allocations: 1.939 MB / 0.8164 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of Categorize: time 7.324e-05/0.6272, allocations: 11.98 kB / 0.8164 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of Solve: time 0.002406/0.6296, allocations: 0.6817 MB / 0.8171 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of Jacobian: time 6.492e-06/0.6296, allocations: 0 / 0.8171 GB, free: 2.762 MB / 0.5762 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * 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: ................. 34 (34) {$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: ........... 103 (scalar:99, 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: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 186 (scalar:181, 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: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 186 (scalar:181, 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: 1, nonlinear:0) Notification: Performance of backend: time 0.0001524/0.6298, allocations: 87.77 kB / 0.8172 GB, free: 2.691 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_14)