Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 109.8 kB / 17.63 MB, free: 5.523 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.001104/0.001104, allocations: 193.5 kB / 18.56 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2785/0.2785, allocations: 48.84 MB / 320.6 MB, free: 11.09 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.391e-05, allocations: 3.266 kB / 390.8 MB, free: 48.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.07497/0.07502, allocations: 105.2 MB / 496 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01435/0.08942, allocations: 11.68 MB / 0.4958 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006012/0.09005, allocations: 23.81 kB / 0.4958 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.09137, allocations: 0.5472 MB / 0.4963 GB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009034/0.09236, allocations: 0.6328 MB / 0.4969 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01403/0.1064, allocations: 5.704 MB / 0.5025 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002474/0.1089, allocations: 2.387 MB / 0.5048 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008147/0.1097, allocations: 0.6934 MB / 0.5055 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008233/0.1106, allocations: 0.6891 MB / 0.5062 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005476/0.1111, allocations: 0.6187 MB / 0.5068 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.084e-05/0.1112, allocations: 80 kB / 0.5069 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008294/0.1195, allocations: 5.826 MB / 0.5126 GB, free: 14.34 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.001257/0.1208, allocations: 1.484 MB / 0.514 GB, free: 12.84 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004745/0.1213, allocations: 0.8969 MB / 0.5149 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.1215, allocations: 167.5 kB / 0.515 GB, free: 11.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0001626/0.1217, allocations: 27.88 kB / 0.5151 GB, free: 11.74 MB / 414.1 MB Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 (142) * Number of variables: 166 (166) Notification: Performance of Bindings: time 0.00289/0.1246, allocations: 3.601 MB / 0.5186 GB, free: 7.984 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0005348/0.1251, allocations: 0.5213 MB / 0.5191 GB, free: 7.48 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0008593/0.126, allocations: 0.7289 MB / 0.5198 GB, free: 6.715 MB / 414.1 MB Notification: Performance of simplify1: time 0.0001433/0.1262, allocations: 183.8 kB / 0.52 GB, free: 6.535 MB / 414.1 MB Notification: Performance of Alias: time 0.003398/0.1296, allocations: 3.439 MB / 0.5233 GB, free: 2.707 MB / 414.1 MB Notification: Performance of simplify2: time 8.782e-05/0.1297, allocations: 91.88 kB / 0.5234 GB, free: 2.617 MB / 414.1 MB Notification: Performance of Events: time 0.000467/0.1301, allocations: 404.3 kB / 0.5238 GB, free: 2.246 MB / 414.1 MB Notification: Performance of Detect States: time 0.0003924/0.1305, allocations: 431.4 kB / 0.5242 GB, free: 1.812 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0004438/0.131, allocations: 445.5 kB / 0.5247 GB, free: 1.363 MB / 414.1 MB Notification: Performance of Causalize: time 0.168/0.299, allocations: 1.547 MB / 0.5262 GB, free: 25.28 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.000306/0.2993, allocations: 317.1 kB / 0.5265 GB, free: 25.23 MB / 414.1 MB Notification: Performance of Inline: time 0.0008214/0.3002, allocations: 0.8588 MB / 0.5273 GB, free: 25.15 MB / 414.1 MB Notification: Performance of Partitioning: time 0.000155/0.3003, allocations: 152.7 kB / 0.5275 GB, free: 25.13 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0001548/0.3005, allocations: 279.8 kB / 0.5277 GB, free: 25.12 MB / 414.1 MB Notification: Performance of Causalize: time 0.004994/0.3055, allocations: 8.393 MB / 0.5359 GB, free: 24.89 MB / 414.1 MB Notification: Performance of Tearing: time 9.258e-06/0.3055, allocations: 0 / 0.5359 GB, free: 24.89 MB / 414.1 MB Notification: Performance of Initialization: time 3.3e-07/0.3055, allocations: 3.531 kB / 0.5359 GB, free: 24.89 MB / 414.1 MB Notification: Performance of Tearing: time 4.859e-06/0.3055, allocations: 4 kB / 0.5359 GB, free: 24.89 MB / 414.1 MB Notification: Performance of Categorize: time 1.524e-05/0.3055, allocations: 4.141 kB / 0.5359 GB, free: 24.89 MB / 414.1 MB Notification: Performance of Solve: time 0.0005843/0.3061, allocations: 0.7053 MB / 0.5366 GB, free: 24.86 MB / 414.1 MB Notification: Performance of Jacobian: time 2.545e-06/0.3061, allocations: 0 / 0.5366 GB, free: 24.86 MB / 414.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * 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: .................... 8 (8) {Sine4.T_start, Sine4.count, Sine3.T_start, Sine3.count, Sine2.T_start, Sine2.count, Sine1.count, Sine1.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 30 (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} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 62 (scalar:62, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 112 (scalar:112, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 112 (scalar:112, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.895e-05/0.3062, allocations: 68.59 kB / 0.5367 GB, free: 24.85 MB / 414.1 MB Error: Internal error NSimStrongComponent.Block.createEquation failed with status Solve.UNPROCESSED for [SCAL] (1) $SEV_4 = integer((time - Sine4.startTime) / Sine4.period) > $PRE.Sine4.count ($RES_EVT_193)