Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_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.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 104.5 kB / 16.37 MB, free: 6.367 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.001077/0.001077, allocations: 195.2 kB / 17.31 MB, free: 5.91 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.159/1.159, 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.001926/0.001926, allocations: 285.3 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8115/0.8115, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/1.895e-05, allocations: 2.281 kB / 0.5966 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04965/0.04969, allocations: 61.18 MB / 0.6563 GB, free: 1.234 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.06371, allocations: 12.01 MB / 0.668 GB, free: 5.188 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009986/0.06473, allocations: 63.62 kB / 0.6681 GB, free: 5.125 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.06616, allocations: 0.6752 MB / 0.6688 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003678/0.06985, allocations: 1.974 MB / 0.6707 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.07196, allocations: 1.208 MB / 0.6719 GB, free: 1.262 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003076/0.07505, allocations: 3.557 MB / 0.6753 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.07635, allocations: 1.244 MB / 0.6766 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.07848, allocations: 1.435 MB / 0.678 GB, free: 10.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000933/0.07943, allocations: 0.9771 MB / 0.6789 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.07958, allocations: 116 kB / 0.679 GB, free: 9.895 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.08142, allocations: 1.478 MB / 0.6805 GB, free: 8.414 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.001481/0.08291, allocations: 2.357 MB / 0.6828 GB, free: 6.031 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007929/0.08371, allocations: 1.53 MB / 0.6843 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.08394, allocations: 267.2 kB / 0.6845 GB, free: 4.219 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0001877/0.08414, allocations: 55.81 kB / 0.6846 GB, free: 4.164 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: 194 (182) * Number of variables: 194 (191) Notification: Performance of Bindings: time 0.2085/0.2926, allocations: 6.256 MB / 0.6907 GB, free: 39.94 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0004429/0.2931, allocations: 253.2 kB / 0.6909 GB, free: 39.94 MB / 494.1 MB Notification: Performance of Early Inline: time 0.004069/0.2972, allocations: 3.492 MB / 0.6943 GB, free: 39.78 MB / 494.1 MB Notification: Performance of simplify1: time 0.0004189/0.2976, allocations: 233.9 kB / 0.6946 GB, free: 39.78 MB / 494.1 MB Notification: Performance of Alias: time 0.004934/0.3025, allocations: 4.839 MB / 0.6993 GB, free: 38.62 MB / 494.1 MB Notification: Performance of simplify2: time 0.0001931/0.3027, allocations: 178.7 kB / 0.6994 GB, free: 38.62 MB / 494.1 MB Notification: Performance of Events: time 0.0006104/0.3034, allocations: 0.6316 MB / 0.7001 GB, free: 38.5 MB / 494.1 MB Notification: Performance of Detect States: time 0.0005014/0.3039, allocations: 0.6205 MB / 0.7007 GB, free: 38.44 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0007759/0.3047, allocations: 0.9092 MB / 0.7016 GB, free: 38.15 MB / 494.1 MB Notification: Performance of Causalize: time 0.004522/0.3092, allocations: 5.225 MB / 0.7067 GB, free: 37.45 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.00196/0.3112, allocations: 2.111 MB / 0.7087 GB, free: 37.29 MB / 494.1 MB Notification: Performance of Inline: time 0.00479/0.316, allocations: 4.633 MB / 0.7132 GB, free: 35.68 MB / 494.1 MB Notification: Performance of Partitioning: time 0.000217/0.3162, allocations: 235.2 kB / 0.7135 GB, free: 35.54 MB / 494.1 MB Notification: Performance of Cleanup: time 0.000553/0.3167, allocations: 464.1 kB / 0.7139 GB, free: 35.27 MB / 494.1 MB Notification: Performance of Causalize: time 0.01083/0.3276, allocations: 17.66 MB / 0.7312 GB, free: 27.61 MB / 494.1 MB Notification: Performance of Tearing: time 0.001537/0.3291, allocations: 2.203 MB / 0.7333 GB, free: 26.47 MB / 494.1 MB Notification: Performance of Initialization: time 1.162e-06/0.3291, allocations: 0 / 0.7333 GB, free: 26.47 MB / 494.1 MB Notification: Performance of Tearing: time 0.0007351/0.3299, allocations: 1.097 MB / 0.7344 GB, free: 25.9 MB / 494.1 MB Notification: Performance of Categorize: time 2.627e-05/0.3299, allocations: 10.64 kB / 0.7344 GB, free: 25.9 MB / 494.1 MB Notification: Performance of Solve: time 0.0009675/0.3309, allocations: 0.7109 MB / 0.7351 GB, free: 25.67 MB / 494.1 MB Notification: Performance of Jacobian: time 2.705e-06/0.3309, allocations: 4 kB / 0.7351 GB, free: 25.66 MB / 494.1 MB 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: ......... 11 * 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: ................. 33 (33) {$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: ........... 102 (scalar:98, 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: ........... 200 (scalar:195, 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: ........... 200 (scalar:195, 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.571e-05/0.331, allocations: 89.2 kB / 0.7352 GB, free: 25.66 MB / 494.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_22)