Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.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.TestVolumes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestVolumes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8073/0.8073, allocations: 150.9 MB / 167.2 MB, free: 14.67 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003975, allocations: 21.05 kB / 237.8 MB, free: 1.844 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05595/0.05636, allocations: 31.34 MB / 269.1 MB, free: 7.16 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.TestVolumes1): time 1.658/1.714, allocations: 300 MB / 0.5558 GB, free: 7.949 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5196/2.234, allocations: 188.2 MB / 0.7396 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009806/2.235, allocations: 11.47 kB / 0.7396 GB, free: 15.24 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/Volumes/VolumeD.mo:29:3-31:42: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/Volumes/VolumeD.mo:32:3-34: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/VolumeD.mo:35:3-37: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/Volumes/VolumeD.mo:38:3-40:37:writable] Warning: Connector Cs3 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/Volumes/VolumeD.mo:29:3-31:42: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/Volumes/VolumeD.mo:32:3-34: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/VolumeD.mo:35:3-37: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/Volumes/VolumeD.mo:38:3-40:37:writable] Warning: Connector Cs3 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/VolumeC.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/VolumeC.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/VolumeC.mo:35:3-37:37: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/Volumes/VolumeC.mo:38:3-40:43: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/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). Notification: Performance of NFTyping.typeComponents: time 0.001161/2.236, allocations: 383.1 kB / 0.7399 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/2.238, allocations: 0.621 MB / 0.7405 GB, free: 15.23 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.03072/2.269, allocations: 11.89 MB / 0.7521 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003012/2.272, allocations: 2.216 MB / 0.7543 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/2.273, allocations: 0.8117 MB / 0.7551 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/2.274, allocations: 0.8411 MB / 0.7559 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007257/2.274, allocations: 0.799 MB / 0.7567 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001599/2.274, allocations: 128.4 kB / 0.7568 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03606/2.311, allocations: 20.17 MB / 0.7765 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006039/2.311, allocations: 335.3 kB / 0.7769 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/2.313, allocations: 0.8648 MB / 0.7777 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02446/2.337, allocations: 11.2 MB / 0.7886 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/2.337, allocations: 0 / 0.7886 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/2.337, allocations: 4 kB / 0.7886 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.43e-05/2.337, allocations: 0 / 0.7886 GB, free: 6.211 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: 458 * Number of variables: 458 Notification: Performance of Generate backend data structure: time 0.006948/2.344, allocations: 3.051 MB / 0.7916 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/2.344, allocations: 7.969 kB / 0.7916 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/2.344, allocations: 194.5 kB / 0.7918 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007736/2.345, allocations: 0.6722 MB / 0.7925 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.229e-05/2.345, allocations: 96.2 kB / 0.7926 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/2.345, allocations: 133.7 kB / 0.7927 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/2.348, allocations: 1.753 MB / 0.7944 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/2.348, allocations: 10.38 kB / 0.7944 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-05/2.348, allocations: 53.69 kB / 0.7945 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/2.348, allocations: 76.62 kB / 0.7945 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/2.35, allocations: 1.193 MB / 0.7957 GB, free: 2.836 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.09618/2.446, allocations: 51.53 MB / 0.846 GB, free: 11.71 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/2.448, allocations: 0.8296 MB / 0.8468 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000962/2.449, allocations: 0.616 MB / 0.8474 GB, free: 10.26 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2969/2.746, allocations: 151.4 MB / 0.9953 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/2.746, allocations: 43.12 kB / 0.9953 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=204): time 3.677e-06/2.746, allocations: 3.938 kB / 0.9953 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=204): time 0.00801/2.754, allocations: 3.028 MB / 0.9983 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/2.754, allocations: 141.1 kB / 0.9984 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009873/2.755, allocations: 0.8487 MB / 0.9992 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/2.755, allocations: 37.7 kB / 0.9993 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/2.755, allocations: 0.6111 MB / 0.9999 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/2.756, allocations: 0.6539 MB / 1 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/2.756, allocations: 274.3 kB / 1.001 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.109e-05/2.756, allocations: 301.1 kB / 1.001 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000921/2.757, allocations: 496 kB / 1.002 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/2.758, allocations: 0.8589 MB / 1.002 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/2.76, allocations: 1.473 MB / 1.004 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/2.76, allocations: 4 kB / 1.004 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003311/2.764, allocations: 1.983 MB / 1.006 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/2.764, allocations: 8 kB / 1.006 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/2.764, allocations: 12 kB / 1.006 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00761/2.771, allocations: 3.173 MB / 1.009 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/2.772, allocations: 115.7 kB / 1.009 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/2.775, allocations: 1.852 MB / 1.011 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009538/2.776, allocations: 194 kB / 1.011 GB, free: 1.738 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-05/2.776, allocations: 51.98 kB / 1.011 GB, free: 1.688 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 34 (pipe2.C2.b,pipe2.C1.a,pipe1.C2.b,pipe1.C1.a,puitsP2.C.a,valve5.C2.b,valve5.C1.a,volumeB1.Ce3.a,volumeB1.Cs.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,volumeD1.Cs3.b,volumeD1.Cs2.b,volumeD1.Cs1.b,volumeD1.Ce.a,puitsP.C.a,volumeD.Cs3.b,volumeD.Cs2.b,volumeD.Cs1.b,volumeD.Ce.a,valve1.C2.b,valve1.C1.a,sourceP1.C.b,sourceP.C.b,volumeB1.Ce1.b,volumeD1.Cs1.a,volumeD.Cs1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005146/2.777, allocations: 311.8 kB / 1.011 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/2.777, allocations: 134.2 kB / 1.011 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2021/2.979, allocations: 6.234 MB / 1.018 GB, free: 461.1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/2.979, allocations: 3.094 kB / 1.018 GB, free: 461.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/2.979, allocations: 3.656 kB / 1.018 GB, free: 461.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006414/2.98, allocations: 326.6 kB / 1.018 GB, free: 461 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002574/2.98, allocations: 40.62 kB / 1.018 GB, free: 461 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006238/2.98, allocations: 45.11 kB / 1.018 GB, free: 461 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/2.981, allocations: 63.94 kB / 1.018 GB, free: 461 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) = $cse5 Variables: 1: valve5.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 2: valve5.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 3: valve5.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 4: valve5.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 5: valve5.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 6: valve5.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 7: valve5.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 8: valve5.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 9: valve5.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 10: valve5.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" 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 * $cse6 / valve5.rho ^ 2.0 2/2 (1): $cse6 = 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): $cse5 = 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) = $cse5 Variables: 1: valve5.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 2: valve5.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 3: valve5.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 4: valve5.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 5: valve5.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 6: valve5.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 7: valve5.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 8: valve5.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 9: valve5.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 10: valve5.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 11: $cse5.cp:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse5.x:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse5.s:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse5.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse5.duhp:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse5.d:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse5.u:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse5.duph:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse5.ddph:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse5.T: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: $cse6: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.0009126/2.982, allocations: 491.8 kB / 1.018 GB, free: 460.7 MB / 0.8419 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestVolumes1 could not be translated