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.001098/0.001098, allocations: 105.7 kB / 16.42 MB, free: 6.516 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.001064/0.001064, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.169/1.169, 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.001937/0.001937, allocations: 302 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8207/0.8207, allocations: 169.3 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.171e-05, allocations: 8.75 kB / 0.682 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.2891/0.2891, allocations: 61.17 MB / 0.7418 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.3047, allocations: 11.99 MB / 0.7535 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.3069, allocations: 60.88 kB / 0.7535 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.3088, allocations: 0.6749 MB / 0.7542 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005284/0.3141, allocations: 1.976 MB / 0.7561 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.3171, allocations: 1.206 MB / 0.7573 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004666/0.3218, allocations: 3.563 MB / 0.7608 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.3237, allocations: 1.234 MB / 0.762 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003205/0.3269, allocations: 1.452 MB / 0.7634 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.3286, allocations: 0.9361 MB / 0.7643 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003697/0.329, allocations: 119.1 kB / 0.7644 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.3322, allocations: 1.465 MB / 0.7659 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.002465/0.3347, allocations: 2.359 MB / 0.7682 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.001309/0.336, allocations: 1.53 MB / 0.7697 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006253/0.3366, allocations: 259.2 kB / 0.7699 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0004146/0.3371, allocations: 59.8 kB / 0.77 GB, free: 4.344 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.006188/0.3433, allocations: 6.431 MB / 0.7762 GB, free: 13.71 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0003733/0.3436, allocations: 241.6 kB / 0.7765 GB, free: 13.48 MB / 0.545 GB Notification: Performance of Early Inline: time 0.00371/0.3474, allocations: 3.504 MB / 0.7799 GB, free: 9.945 MB / 0.545 GB Notification: Performance of simplify1: time 0.0003564/0.3477, allocations: 235.7 kB / 0.7801 GB, free: 9.715 MB / 0.545 GB Notification: Performance of Alias: time 0.005669/0.3534, allocations: 5.264 MB / 0.7853 GB, free: 4.07 MB / 0.545 GB Notification: Performance of simplify2: time 0.0002557/0.3537, allocations: 175.8 kB / 0.7854 GB, free: 3.898 MB / 0.545 GB Notification: Performance of Events: time 0.0008496/0.3545, allocations: 0.6333 MB / 0.786 GB, free: 3.258 MB / 0.545 GB Notification: Performance of Detect States: time 0.000633/0.3552, allocations: 0.6303 MB / 0.7867 GB, free: 2.613 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0009854/0.3562, allocations: 0.9249 MB / 0.7876 GB, free: 1.57 MB / 0.545 GB Notification: Performance of Causalize: time 0.004168/0.3603, allocations: 3.63 MB / 0.7911 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.002134/0.3625, allocations: 2.131 MB / 0.7932 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of Inline: time 0.005378/0.3679, allocations: 4.799 MB / 0.7979 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0002571/0.3682, allocations: 223.6 kB / 0.7981 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of Cleanup: time 0.0007176/0.3689, allocations: 471.2 kB / 0.7985 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of Causalize: time 0.01328/0.3822, allocations: 12.7 MB / 0.8109 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of Tearing: time 0.002205/0.3844, allocations: 2.199 MB / 0.8131 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of Initialization: time 1.042e-06/0.3844, allocations: 0 / 0.8131 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of Tearing: time 0.00101/0.3854, allocations: 1.104 MB / 0.8142 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of Categorize: time 3.806e-05/0.3855, allocations: 7.938 kB / 0.8142 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of Solve: time 0.001311/0.3868, allocations: 0.6583 MB / 0.8148 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of Jacobian: time 3.307e-06/0.3868, allocations: 3.938 kB / 0.8148 GB, free: 5.125 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: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 193 (scalar:188, 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: ........... 193 (scalar:188, 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 9.116e-05/0.3869, allocations: 85.94 kB / 0.8149 GB, free: 5.055 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_14)