Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.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.Book.SimpleExamples.Volume.TestMixer3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8617/0.8617, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.386e-05, allocations: 2.938 kB / 237.7 MB, free: 1.758 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.Book.SimpleExamples.Volume.TestMixer3): time 1.837/1.837, allocations: 297.4 MB / 0.5226 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7911/2.628, allocations: 188.1 MB / 0.7063 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/2.629, allocations: 23.03 kB / 0.7063 GB, free: 1.992 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/Mixer3.mo:46:3-47: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/Mixer3.mo:48:3-49: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/Mixer3.mo:51:3-52: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/Junctions/Mixer3.mo:59:3-60:67:writable] Warning: Connector Ce3 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/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/BoundaryConditions/Source.mo:53:3-54:52: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/BoundaryConditions/SourceP.mo:58:3-59: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/BoundaryConditions/SinkQ.mo:46:3-47: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/BoundaryConditions/SourceQ.mo:62:3-63: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). Notification: Performance of NFTyping.typeComponents: time 0.0005186/2.63, allocations: 139.2 kB / 0.7064 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001171/2.631, allocations: 370.3 kB / 0.7068 GB, free: 1.992 MB / 0.5762 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.04338/2.674, allocations: 11.92 MB / 0.7184 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002865/2.677, allocations: 1.484 MB / 0.7199 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/2.678, allocations: 0.7804 MB / 0.7207 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009286/2.679, allocations: 0.5489 MB / 0.7212 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006495/2.68, allocations: 0.6007 MB / 0.7218 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/2.68, allocations: 126.7 kB / 0.7219 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04083/2.721, allocations: 19.54 MB / 0.741 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.002323/2.723, allocations: 1.912 MB / 0.7428 GB, free: 1 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0006596/2.724, allocations: 1.177 MB / 0.744 GB, free: 372 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004501/2.724, allocations: 239.3 kB / 0.7442 GB, free: 328 kB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0003476/2.725, allocations: 44.22 kB / 0.7443 GB, free: 320 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 (321) * Number of variables: 321 (317) Notification: Performance of Bindings: time 0.005263/2.73, allocations: 5.625 MB / 0.7498 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0008949/2.731, allocations: 0.9261 MB / 0.7507 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.003388/2.734, allocations: 3.592 MB / 0.7542 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simplify1: time 0.000272/2.735, allocations: 252.9 kB / 0.7544 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of Alias: time 0.01223/2.747, allocations: 8.576 MB / 0.7628 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0001874/2.747, allocations: 88.83 kB / 0.7629 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0002957/2.747, allocations: 281.9 kB / 0.7631 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of Events: time 0.0002947/2.748, allocations: 187.3 kB / 0.7633 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0005959/2.748, allocations: 0.5017 MB / 0.7638 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of Causalize: time 0.002786/2.751, allocations: 2.243 MB / 0.766 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.001327/2.752, allocations: 1.089 MB / 0.7671 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of Inline: time 0.002757/2.755, allocations: 2.083 MB / 0.7691 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0001744/2.755, allocations: 102.3 kB / 0.7692 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of Cleanup: time 8.58e-05/2.756, allocations: 72.69 kB / 0.7693 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of Causalize: time 0.003481/2.759, allocations: 2.745 MB / 0.7719 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of Tearing: time 0.001987/2.761, allocations: 1.936 MB / 0.7738 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of Initialization: time 1.172e-06/2.761, allocations: 0 / 0.7738 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of Tearing: time 0.002098/2.763, allocations: 1.928 MB / 0.7757 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of Categorize: time 3.728e-05/2.763, allocations: 4 kB / 0.7757 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of Solve: time 0.0005427/2.764, allocations: 238.5 kB / 0.7759 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of Jacobian: time 4.458e-06/2.764, allocations: 0 / 0.7759 GB, free: 15.41 MB / 0.6075 GB 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: ......... 9 * 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: ................. 35 (31) {mixer2_2.fluids, mixer2_2.Cs.diff_on_2, singularPressureLoss3.fluid, singularPressureLoss3.C2.diff_on_1, singularPressureLoss4.ftype, singularPressureLoss4.fluid, singularPressureLoss4.C2.diff_on_1, singularPressureLoss5.ftype, singularPressureLoss5.fluid, singularPressureLoss5.C2.diff_on_1, sourceP2.C.diff_on_2, sourceP3.C.diff_on_2, sinkP1.ftype, sinkP1.fluid, sourceQ.C.diff_on_2, singularPressureLoss6.ftype, singularPressureLoss6.fluid, singularPressureLoss6.C2.diff_on_1, $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: ............ 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: ... 5 (linear: 5, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 94 (scalar:94, 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: ... 5 (linear: 5, nonlinear:0) Notification: Performance of backend: time 9.769e-05/2.764, allocations: 44.41 kB / 0.776 GB, free: 15.37 MB / 0.6075 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.isCompatible(mixer2_2.fluids)