Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5.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.TestJunctions5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5") translateModel(ThermoSysPro.Examples.SimpleExamples.TestJunctions5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8288/0.8288, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 20.97 kB / 237.8 MB, free: 1.75 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05894/0.05931, allocations: 31.35 MB / 269.1 MB, free: 7.02 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.TestJunctions5): time 1.626/1.685, allocations: 299.7 MB / 0.5555 GB, free: 8.066 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5164/2.201, allocations: 188.1 MB / 0.7392 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/2.203, allocations: 12.09 kB / 0.7392 GB, free: 15.3 MB / 0.6075 GB [/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/PressureLosses/ControlValve.mo:45:3-47:43: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/ControlValve.mo:48:3-50:38: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43: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/ControlValve.mo:48:3-50:38: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43: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/ControlValve.mo:48:3-50:38: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/ControlValve.mo:45:3-47:43: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/ControlValve.mo:48:3-50:38: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/Volumes/VolumeB.mo:29:3-31:42: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/Volumes/VolumeB.mo:32:3-34:37: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/Volumes/VolumeB.mo:35:3-37:37:writable] Warning: Connector Cs1 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/Volumes/VolumeB.mo:38:3-40:43:writable] Warning: Connector Cs2 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/ControlValve.mo:45:3-47:43: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/ControlValve.mo:48:3-50:38: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42: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/LumpedStraightPipe.mo:51:3-53:37: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/LumpedStraightPipe.mo:49:3-50:42: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/LumpedStraightPipe.mo:51:3-53:37: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/Splitter2.mo:14:3-16: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/Splitter2.mo:17:3-18:82:writable] Warning: Connector Cs1 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/Splitter2.mo:19:3-21:17:writable] Warning: Connector Cs2 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/Splitter2.mo:14:3-16: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/Splitter2.mo:17:3-18:82:writable] Warning: Connector Cs1 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/Splitter2.mo:19:3-21:17:writable] Warning: Connector Cs2 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.001103/2.204, allocations: 369.9 kB / 0.7396 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/2.205, allocations: 0.5974 MB / 0.7401 GB, free: 15.29 MB / 0.6075 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. Notification: Performance of NFTyping.typeClassSections: time 0.02748/2.233, allocations: 11.85 MB / 0.7517 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002273/2.235, allocations: 2.101 MB / 0.7538 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008319/2.236, allocations: 0.795 MB / 0.7546 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000913/2.237, allocations: 0.8065 MB / 0.7553 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006953/2.237, allocations: 0.7699 MB / 0.7561 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/2.238, allocations: 124.9 kB / 0.7562 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03351/2.271, allocations: 20.16 MB / 0.7759 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006254/2.272, allocations: 319.9 kB / 0.7762 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001375/2.273, allocations: 0.8375 MB / 0.777 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02595/2.299, allocations: 11.13 MB / 0.7879 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/2.299, allocations: 4 kB / 0.7879 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/2.299, allocations: 0 / 0.7879 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.778e-05/2.299, allocations: 0 / 0.7879 GB, free: 6.598 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.007075/2.306, allocations: 2.983 MB / 0.7908 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/2.306, allocations: 10.19 kB / 0.7908 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/2.306, allocations: 185.1 kB / 0.791 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007275/2.307, allocations: 0.6472 MB / 0.7916 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/2.307, allocations: 90.64 kB / 0.7917 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/2.307, allocations: 125.2 kB / 0.7918 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/2.31, allocations: 1.691 MB / 0.7935 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/2.31, allocations: 6.062 kB / 0.7935 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/2.31, allocations: 50.44 kB / 0.7935 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-05/2.31, allocations: 74.44 kB / 0.7936 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/2.312, allocations: 1.139 MB / 0.7947 GB, free: 3.324 MB / 0.6075 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.09874/2.41, allocations: 51.29 MB / 0.8448 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/2.412, allocations: 0.8108 MB / 0.8456 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/2.413, allocations: 0.6144 MB / 0.8462 GB, free: 11.37 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3242/2.738, allocations: 151.4 MB / 0.994 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/2.738, allocations: 43.12 kB / 0.9941 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=204): time 4.007e-06/2.738, allocations: 0 / 0.9941 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=204): time 0.00866/2.746, allocations: 3.105 MB / 0.9971 GB, free: 172 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/2.746, allocations: 81.67 kB / 0.9972 GB, free: 72 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/2.748, allocations: 0.8023 MB / 0.998 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.445e-05/2.748, allocations: 41.7 kB / 0.998 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/2.748, allocations: 0.5613 MB / 0.9985 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005674/2.749, allocations: 0.6521 MB / 0.9992 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/2.749, allocations: 254.4 kB / 0.9994 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001078/2.749, allocations: 301.1 kB / 0.9997 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009797/2.75, allocations: 482.8 kB / 1 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/2.751, allocations: 0.7858 MB / 1.001 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/2.753, allocations: 1.4 MB / 1.002 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/2.753, allocations: 4 kB / 1.002 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.003461/2.757, allocations: 1.874 MB / 1.004 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/2.757, allocations: 8 kB / 1.004 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/2.757, allocations: 8 kB / 1.004 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00688/2.764, allocations: 2.135 MB / 1.006 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/2.764, allocations: 100.8 kB / 1.006 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/2.767, allocations: 1.702 MB / 1.008 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008982/2.768, allocations: 174.1 kB / 1.008 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.612e-05/2.768, allocations: 53.23 kB / 1.008 GB, free: 4.457 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 30 (splitter2_2.Cs2.b,splitter2_2.Cs1.b,splitter2_2.Ce.a,splitter2_1.Cs2.b,splitter2_1.Cs1.b,splitter2_1.Ce.a,pipe2.C2.b,pipe2.C1.a,pipe1.C2.b,pipe1.C1.a,puitsP2.C.a,valve5.C2.b,valve5.C1.a,volumeB1.Cs2.b,volumeB1.Cs1.b,volumeB1.Ce2.a,volumeB1.Ce1.a,valve3.C2.b,valve3.C1.a,valve2.C2.b,valve2.C1.a,puitsP1.C.a,valve4.C2.b,valve4.C1.a,puitsP.C.a,valve1.C2.b,valve1.C1.a,sourceP1.C.b,sourceP.C.b,volumeB1.Cs1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(17,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0005105/2.769, allocations: 299.3 kB / 1.009 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/2.769, allocations: 130.2 kB / 1.009 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2281/2.997, allocations: 6.063 MB / 1.015 GB, free: 460.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/2.997, allocations: 3.422 kB / 1.015 GB, free: 460.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/2.997, allocations: 2.156 kB / 1.015 GB, free: 460.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004965/2.997, allocations: 320.4 kB / 1.015 GB, free: 460.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/2.998, allocations: 39.19 kB / 1.015 GB, free: 460.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/2.998, allocations: 44.83 kB / 1.015 GB, free: 460.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/2.998, allocations: 62.86 kB / 1.015 GB, free: 460.7 MB / 0.8419 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(valve5.T, valve5.rho, valve5.pro.u, valve5.pro.s, valve5.pro.cp, valve5.pro.ddhp, valve5.pro.ddph, valve5.pro.duph, valve5.pro.duhp, valve5.pro.x) = $cse7 Variables: 1: valve5.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 2: valve5.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 3: valve5.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 4: valve5.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 5: valve5.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 6: valve5.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 7: valve5.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 8: valve5.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 9: valve5.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 10: valve5.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real [/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): valve5.deltaP * valve5.Cv * abs(valve5.Cv) = 1.733e12 * $cse8 / valve5.rho ^ 2.0 2/2 (1): $cse8 = ThermoSysPro.Functions.ThermoSquare(valve5.Q, valve5.eps) 3/3 (1): 0.0 = if valve5.Q > 0.0 then valve5.h - volumeB1.h else valve5.h - puitsP2.h 4/4 (10): $cse7 = ThermoSysPro.Properties.Fluid.Ph(valve5.Pm, valve5.h, valve5.mode, valve5.fluid) 5/14 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(valve5.T, valve5.rho, valve5.pro.u, valve5.pro.s, valve5.pro.cp, valve5.pro.ddhp, valve5.pro.ddph, valve5.pro.duph, valve5.pro.duhp, valve5.pro.x) = $cse7 Variables: 1: valve5.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 2: valve5.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 3: valve5.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 4: valve5.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 5: valve5.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 6: valve5.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 7: valve5.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 8: valve5.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 9: valve5.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 10: valve5.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 11: $cse7.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse7.T:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse7.ddph:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse7.x:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse7.s:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse7.u:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse7.d:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse7.cp:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse7.duhp:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse7.duph:VARIABLE(protected = true ) type: Real unreplaceable 21: valve5.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 22: valve5.Q:VARIABLE(start = 500.0 unit = "kg/s" ) "Mass flow rate" type: Real 23: $cse8:VARIABLE(protected = true ) type: Real unreplaceable [/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.0009322/2.999, allocations: 490.8 kB / 1.015 GB, free: 460.4 MB / 0.8419 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestJunctions5 could not be translated