Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2.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.Examples.SimpleExamples.TestJunctions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestJunctions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8188/0.8188, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 18.62 kB / 237.8 MB, free: 1.906 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05154/0.05191, allocations: 31.34 MB / 269.1 MB, free: 7.152 MB / 222.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.Examples.SimpleExamples.TestJunctions2): time 1.661/1.713, allocations: 299.9 MB / 0.5557 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04088/1.753, allocations: 35.66 MB / 0.5905 GB, free: 4.105 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000865/1.754, allocations: 12 kB / 0.5905 GB, free: 4.094 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/Mixer2.mo:14:3-16:24:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/Mixer2.mo:17:3-18:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/Mixer2.mo:20:3-22:17:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Source.mo:17:3-18:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkQ.mo:24:3-26:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/Mixer3.mo:15:3-17:24:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/Mixer3.mo:18:3-19:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/Mixer3.mo:21:3-23:17:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/Mixer3.mo:34:3-36:16:writable] Warning: Connector Ce3 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Source.mo:17:3-18:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkQ.mo:24:3-26:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/MassFlowMultiplier.mo:16:3-18:16:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/MassFlowMultiplier.mo:19:3-20:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0008027/1.755, allocations: 329.1 kB / 0.5908 GB, free: 3.773 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/1.756, allocations: 0.5577 MB / 0.5913 GB, free: 3.211 MB / 478.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02371/1.78, allocations: 9.925 MB / 0.601 GB, free: 9.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00234/1.782, allocations: 2 MB / 0.603 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008455/1.783, allocations: 0.8009 MB / 0.6038 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007688/1.784, allocations: 0.7627 MB / 0.6045 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/1.785, allocations: 0.7114 MB / 0.6052 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/1.785, allocations: 128 kB / 0.6053 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02901/1.814, allocations: 17.99 MB / 0.6229 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003751/1.814, allocations: 302.8 kB / 0.6232 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009722/1.815, allocations: 0.8317 MB / 0.624 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01919/1.834, allocations: 9.9 MB / 0.6337 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.834, allocations: 0 / 0.6337 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/1.834, allocations: 0 / 0.6337 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.962e-05/1.835, allocations: 0 / 0.6337 GB, free: 7.746 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.005674/1.84, allocations: 2.628 MB / 0.6362 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.84, allocations: 8.031 kB / 0.6363 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/1.84, allocations: 193.7 kB / 0.6364 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/1.841, allocations: 0.5771 MB / 0.637 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.272e-05/1.841, allocations: 106.8 kB / 0.6371 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.841, allocations: 132 kB / 0.6372 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/1.844, allocations: 1.729 MB / 0.6389 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/1.844, allocations: 7.938 kB / 0.6389 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-05/1.844, allocations: 60 kB / 0.639 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/1.844, allocations: 71.95 kB / 0.6391 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/1.845, allocations: 1.046 MB / 0.6401 GB, free: 0.9492 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06222/1.907, allocations: 35.67 MB / 0.6749 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/1.909, allocations: 0.7467 MB / 0.6756 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006779/1.91, allocations: 497.7 kB / 0.6761 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3341/2.244, allocations: 77.74 MB / 0.752 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/2.244, allocations: 41.09 kB / 0.7521 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=194): time 3.497e-06/2.244, allocations: 0 / 0.7521 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=194): time 0.005983/2.25, allocations: 3.185 MB / 0.7552 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/2.25, allocations: 119.8 kB / 0.7553 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008273/2.251, allocations: 0.7502 MB / 0.756 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/2.251, allocations: 32.89 kB / 0.7561 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/2.251, allocations: 0.5472 MB / 0.7566 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/2.251, allocations: 0.6116 MB / 0.7572 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/2.252, allocations: 248.4 kB / 0.7574 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.299e-05/2.252, allocations: 358.5 kB / 0.7578 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/2.252, allocations: 349.6 kB / 0.7581 GB, free: 180 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005734/2.253, allocations: 0.66 MB / 0.7587 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/2.254, allocations: 1.164 MB / 0.7599 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/2.254, allocations: 0 / 0.7599 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.002563/2.256, allocations: 1.702 MB / 0.7615 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/2.256, allocations: 11.41 kB / 0.7616 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/2.257, allocations: 11.66 kB / 0.7616 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/2.259, allocations: 1.118 MB / 0.7627 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/2.259, allocations: 49.5 kB / 0.7627 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006022/2.265, allocations: 10.17 MB / 0.7726 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/2.265, allocations: 157.9 kB / 0.7728 GB, free: 169.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-05/2.265, allocations: 51.55 kB / 0.7728 GB, free: 169.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 36 (sinkP2.C.a,singularPressureLoss8.C2.b,singularPressureLoss8.C1.a,singularPressureLoss7.C2.b,singularPressureLoss7.C1.a,sourceQ1.C.b,massFlowMultiplier.Cs.b,massFlowMultiplier.Ce.a,singularPressureLoss6.C2.b,singularPressureLoss6.C1.a,sourceQ.C.b,sinkP1.C.a,sourceP3.C.b,sourceP2.C.b,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,mixer2_2.Ce3.a,mixer2_2.Ce1.a,mixer2_2.Cs.b,mixer2_2.Ce2.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,mixer2_1.Ce1.a,mixer2_1.Cs.b,mixer2_1.Ce2.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003914/2.266, allocations: 290.9 kB / 0.7731 GB, free: 169.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/2.266, allocations: 117.8 kB / 0.7732 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/2.27, allocations: 3.922 MB / 0.7771 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/2.27, allocations: 2.219 kB / 0.7771 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/2.27, allocations: 0 / 0.7771 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/2.27, allocations: 323.1 kB / 0.7774 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/2.27, allocations: 32.48 kB / 0.7774 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/2.271, allocations: 13.69 kB / 0.7774 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/2.271, allocations: 62.39 kB / 0.7775 GB, free: 167.8 MB / 0.5919 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(singularPressureLoss8.T, singularPressureLoss8.rho, singularPressureLoss8.pro.u, singularPressureLoss8.pro.s, singularPressureLoss8.pro.cp, singularPressureLoss8.pro.ddhp, singularPressureLoss8.pro.ddph, singularPressureLoss8.pro.duph, singularPressureLoss8.pro.duhp, singularPressureLoss8.pro.x) = $cse17 Variables: 1: singularPressureLoss8.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 2: singularPressureLoss8.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 3: singularPressureLoss8.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 4: singularPressureLoss8.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 5: singularPressureLoss8.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 6: singularPressureLoss8.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 7: singularPressureLoss8.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 8: singularPressureLoss8.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 9: $cse17.T:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse17.s:VARIABLE(protected = true ) type: Real unreplaceable [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): singularPressureLoss8.deltaP = singularPressureLoss8.K * $cse18 / singularPressureLoss8.rho 2/2 (1): massFlowMultiplier.P - sinkP2.P0 = singularPressureLoss8.deltaP 3/3 (1): singularPressureLoss8.Pm = 0.5 * (massFlowMultiplier.P + sinkP2.P0) 4/4 (10): $cse17 = ThermoSysPro.Properties.Fluid.Ph(singularPressureLoss8.Pm, singularPressureLoss8.h, singularPressureLoss8.mode, singularPressureLoss8.fluid) 5/14 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(singularPressureLoss8.T, singularPressureLoss8.rho, singularPressureLoss8.pro.u, singularPressureLoss8.pro.s, singularPressureLoss8.pro.cp, singularPressureLoss8.pro.ddhp, singularPressureLoss8.pro.ddph, singularPressureLoss8.pro.duph, singularPressureLoss8.pro.duhp, singularPressureLoss8.pro.x) = $cse17 Variables: 1: singularPressureLoss8.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 2: singularPressureLoss8.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 3: singularPressureLoss8.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 4: singularPressureLoss8.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 5: singularPressureLoss8.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 6: singularPressureLoss8.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 7: singularPressureLoss8.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 8: singularPressureLoss8.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 9: $cse17.T:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse17.s:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse17.duhp:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse17.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse17.x:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse17.cp:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse17.u:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse17.ddph:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse17.duph:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse17.d:VARIABLE(protected = true ) type: Real unreplaceable 19: singularPressureLoss8.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 20: massFlowMultiplier.P:VARIABLE(min = 0.0 start = 1e6 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 21: singularPressureLoss8.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 22: singularPressureLoss8.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 23: singularPressureLoss8.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008033/2.272, allocations: 485.5 kB / 0.7779 GB, free: 167.4 MB / 0.5919 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestJunctions2 could not be translated