Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.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.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9195/0.9195, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.128e-05, allocations: 5.547 kB / 237.8 MB, free: 1.785 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.TestMassFlowMultiplier): time 1.921/1.921, allocations: 295.7 MB / 0.521 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7109/2.632, allocations: 187.7 MB / 0.7042 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000755/2.633, allocations: 10.41 kB / 0.7043 GB, free: 2.082 MB / 0.5762 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/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/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/MassFlowMultiplier.mo:43:3-44: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/MassFlowMultiplier.mo:45:3-46:65:writable] Warning: Connector Cs 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.0002973/2.633, allocations: 72.64 kB / 0.7043 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006462/2.634, allocations: 195.7 kB / 0.7045 GB, free: 2.082 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.04207/2.676, allocations: 11.72 MB / 0.7159 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001358/2.677, allocations: 0.7817 MB / 0.7167 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004836/2.677, allocations: 421 kB / 0.7171 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/2.678, allocations: 288.5 kB / 0.7174 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/2.678, allocations: 321.3 kB / 0.7177 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.344e-05/2.678, allocations: 69.19 kB / 0.7178 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03589/2.714, allocations: 16.14 MB / 0.7335 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001307/2.715, allocations: 1.009 MB / 0.7345 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0004096/2.716, allocations: 0.6281 MB / 0.7351 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002463/2.716, allocations: 122.4 kB / 0.7352 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0002372/2.716, allocations: 22.23 kB / 0.7353 GB, free: 1.16 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: 167 (167) * Number of variables: 167 (165) Notification: Performance of Bindings: time 0.003476/2.72, allocations: 3.04 MB / 0.7382 GB, free: 200 kB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0003552/2.72, allocations: 226.6 kB / 0.7384 GB, free: 172 kB / 0.5762 GB Notification: Performance of Early Inline: time 0.002195/2.722, allocations: 1.917 MB / 0.7403 GB, free: 8 kB / 0.5762 GB Notification: Performance of simplify1: time 0.0001414/2.723, allocations: 130.5 kB / 0.7404 GB, free: 8 kB / 0.5762 GB Notification: Performance of Alias: time 0.005376/2.728, allocations: 4.425 MB / 0.7448 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simplify2: time 8.091e-05/2.728, allocations: 46.05 kB / 0.7448 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0001897/2.728, allocations: 173.4 kB / 0.745 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of Events: time 0.0001831/2.728, allocations: 108.3 kB / 0.7451 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0003419/2.729, allocations: 310.4 kB / 0.7454 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of Causalize: time 0.001629/2.73, allocations: 1.386 MB / 0.7467 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.0007407/2.731, allocations: 0.6376 MB / 0.7473 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of Inline: time 0.001729/2.733, allocations: 1.186 MB / 0.7485 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of Partitioning: time 9.323e-05/2.733, allocations: 62.16 kB / 0.7486 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of Cleanup: time 5.628e-05/2.733, allocations: 48.53 kB / 0.7486 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of Causalize: time 0.002081/2.735, allocations: 1.72 MB / 0.7503 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of Tearing: time 0.00118/2.736, allocations: 1.065 MB / 0.7513 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of Initialization: time 1.683e-06/2.736, allocations: 0 / 0.7513 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of Tearing: time 0.001021/2.737, allocations: 1.069 MB / 0.7524 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of Categorize: time 2.474e-05/2.737, allocations: 3.203 kB / 0.7524 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of Solve: time 0.0002786/2.738, allocations: 151.8 kB / 0.7525 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of Jacobian: time 4.048e-06/2.738, allocations: 0 / 0.7525 GB, free: 11.96 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: ......... 5 * 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: ................. 19 (17) {sourcePQ.C.diff_on_2, sink.fluid1, sink.fluid, singularPressureLoss.ftype, singularPressureLoss.fluid, singularPressureLoss.C2.diff_on_1, singularPressureLoss1.ftype, singularPressureLoss1.fluid, singularPressureLoss1.C2.diff_on_1, massFlowMultiplier.fluids, massFlowMultiplier.Cs.diff_on_2, $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: ........... 35 (scalar:35, 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: ........... 52 (scalar:52, 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.942e-05/2.738, allocations: 36.42 kB / 0.7526 GB, free: 11.95 MB / 0.5919 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.isCompatible(massFlowMultiplier.fluids)