Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 100.2 kB / 17.63 MB, free: 5.527 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.0008807/0.0008807, allocations: 193.9 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.371/1.371, 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.2767/0.2767, allocations: 48.84 MB / 320.6 MB, free: 11.09 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.613e-05, allocations: 4.031 kB / 390.8 MB, free: 48.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.03008/0.03012, allocations: 46.47 MB / 437.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009575/0.03974, allocations: 9.798 MB / 447 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004415/0.04024, allocations: 4 kB / 447 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009093/0.04116, allocations: 242.4 kB / 447.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007933/0.04201, allocations: 306 kB / 447.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01696/0.05899, allocations: 4.685 MB / 452.3 MB, free: 7.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.06028, allocations: 0.9854 MB / 453.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.06068, allocations: 255 kB / 453.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003584/0.06105, allocations: 279 kB / 453.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.06134, allocations: 274.6 kB / 454 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.06138, allocations: 28 kB / 454.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00867/0.07006, allocations: 5.584 MB / 459.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0006492/0.07075, allocations: 0.7032 MB / 460.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002469/0.07101, allocations: 453.4 kB / 460.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.07114, allocations: 87.75 kB / 460.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.000108/0.07125, allocations: 8 kB / 460.9 MB, free: 14.52 MB / 350.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: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 (67) * Number of variables: 79 (79) Notification: Performance of Bindings: time 0.001513/0.07277, allocations: 1.776 MB / 462.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001999/0.07298, allocations: 149.3 kB / 462.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0005641/0.07355, allocations: 383.2 kB / 463.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simplify1: time 6.505e-05/0.07362, allocations: 75.91 kB / 463.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of Alias: time 0.001686/0.07532, allocations: 1.551 MB / 464.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simplify2: time 4.634e-05/0.07537, allocations: 47.92 kB / 464.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Events: time 0.0001177/0.0755, allocations: 88.86 kB / 464.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002278/0.07573, allocations: 177.3 kB / 465.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002124/0.07596, allocations: 190.4 kB / 465.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of Causalize: time 0.0006328/0.0766, allocations: 0.7015 MB / 466 MB, free: 9.023 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001551/0.07676, allocations: 137.3 kB / 466.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of Inline: time 0.0004933/0.07726, allocations: 406.7 kB / 466.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of Partitioning: time 7.639e-05/0.07734, allocations: 79.52 kB / 466.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of Cleanup: time 9.165e-05/0.07744, allocations: 110.7 kB / 466.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of Causalize: time 0.002247/0.0797, allocations: 2.632 MB / 469.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of Tearing: time 8.145e-06/0.07972, allocations: 4.094 kB / 469.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of Initialization: time 1.503e-06/0.07973, allocations: 7.938 kB / 469.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of Tearing: time 0.0003879/0.08012, allocations: 0.4887 MB / 469.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of Categorize: time 1.084e-05/0.08014, allocations: 0 / 469.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of Solve: time 0.0003714/0.08052, allocations: 371.2 kB / 470.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0005597/0.08108, allocations: 0.6475 MB / 470.9 MB, free: 4.008 MB / 350.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: ............... 1 * Number of algebraic event partitions: ......... 0 * 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: ............................. 4 (4) {Tank1.M, Tank1.H, Tank2.M, Tank2.H} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {$SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 27 (scalar:27, array:0, 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: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 57 (scalar:57, array:0, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 57 (scalar:57, array:0, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.205e-05/0.08114, allocations: 46.03 kB / 470.9 MB, free: 3.98 MB / 350.1 MB Error: Internal error NSimStrongComponent.Block.createEquation failed with status Solve.UNPROCESSED for [SCAL] (1) $SEV_0 = SourceW1.w0 > 0.0 ($RES_EVT_93)