Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8891/0.8891, allocations: 150.9 MB / 167.2 MB, free: 14.49 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.93e-05/3.929e-05, allocations: 2.828 kB / 237.8 MB, free: 1.766 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker): time 1.937/1.937, allocations: 296.8 MB / 0.522 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7327/2.67, allocations: 188 MB / 0.7056 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000578/2.67, allocations: 16.47 kB / 0.7056 GB, free: 1.742 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/Splitter2.mo:42:3-43:67:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/Splitter2.mo:44:3-45:72:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/Splitter2.mo:46:3-47:74:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/Mixer2.mo:42:3-43:68:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/Mixer2.mo:44:3-45:65:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/Mixer2.mo:47:3-48:66:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/LoopBreakers/LoopBreakerP.mo:5:3-6:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/LoopBreakers/LoopBreakerP.mo:7:3-8:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004067/2.671, allocations: 119.2 kB / 0.7057 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007293/2.672, allocations: 289.3 kB / 0.706 GB, free: 1.742 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.04121/2.713, allocations: 11.84 MB / 0.7176 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001654/2.714, allocations: 1.229 MB / 0.7188 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000677/2.715, allocations: 0.6804 MB / 0.7194 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004646/2.716, allocations: 463.9 kB / 0.7199 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/2.716, allocations: 0.5044 MB / 0.7204 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/2.716, allocations: 113.3 kB / 0.7205 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03451/2.751, allocations: 16.17 MB / 0.7363 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.002517/2.753, allocations: 1.589 MB / 0.7378 GB, free: 44 kB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0007946/2.754, allocations: 0.97 MB / 0.7388 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004867/2.755, allocations: 201 kB / 0.739 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0004532/2.755, allocations: 39.34 kB / 0.739 GB, free: 15.33 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 (283) * Number of variables: 283 (277) Notification: Performance of Bindings: time 0.005837/2.761, allocations: 4.777 MB / 0.7437 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0007318/2.762, allocations: 0.6299 MB / 0.7443 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.003411/2.765, allocations: 3.062 MB / 0.7473 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simplify1: time 0.000272/2.765, allocations: 219.9 kB / 0.7475 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of Alias: time 0.01014/2.776, allocations: 7.454 MB / 0.7548 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of simplify2: time 0.000187/2.776, allocations: 86.44 kB / 0.7549 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0002911/2.776, allocations: 254 kB / 0.7551 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of Events: time 0.0002639/2.776, allocations: 152 kB / 0.7552 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0006271/2.777, allocations: 475.6 kB / 0.7557 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of Causalize: time 0.003029/2.78, allocations: 2.222 MB / 0.7579 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.001609/2.782, allocations: 1.052 MB / 0.7589 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of Inline: time 0.002684/2.784, allocations: 1.891 MB / 0.7607 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001094/2.784, allocations: 87.53 kB / 0.7608 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of Cleanup: time 9.892e-05/2.785, allocations: 83.08 kB / 0.7609 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of Causalize: time 0.003446/2.788, allocations: 2.675 MB / 0.7635 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of Tearing: time 0.001306/2.789, allocations: 1.252 MB / 0.7647 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of Initialization: time 5.91e-07/2.789, allocations: 0 / 0.7647 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of Tearing: time 0.001445/2.791, allocations: 1.265 MB / 0.766 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of Categorize: time 2.675e-05/2.791, allocations: 7.938 kB / 0.766 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of Solve: time 0.0005168/2.791, allocations: 306.3 kB / 0.7663 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of Jacobian: time 6.552e-06/2.791, allocations: 7.938 kB / 0.7663 GB, free: 13.82 MB / 0.5919 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 7 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 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: ................. 30 (24) {sourcePQ.C.ftype, singularPressureLoss1.ftype, singularPressureLoss1.fluid, singularPressureLoss2.fluid, singularPressureLoss2.C2.diff_on_1, splitter2_1.fluids, splitter2_1.Cs1.diff_on_2, splitter2_1.Cs2.diff_on_2, mixer2_1.fluids, mixer2_1.Ce1.diff_on_1, sink.ftype, sink.fluid1, sink.fluid, loopBreakerP.C2.ftype, $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: ........... 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: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 82 (scalar:82, 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: ... 3 (linear: 3, nonlinear:0) Notification: Performance of backend: time 8.118e-05/2.791, allocations: 31.81 kB / 0.7663 GB, free: 13.8 MB / 0.5919 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.isCompatible(splitter2_1.fluids)