Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1.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.TestStaticDrum1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8155/0.8155, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 21.5 kB / 237.8 MB, free: 1.77 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05178/0.05213, allocations: 31.34 MB / 269.1 MB, free: 7.047 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.TestStaticDrum1): time 1.648/1.7, allocations: 297 MB / 0.5529 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03877/1.738, allocations: 32.95 MB / 0.5851 GB, free: 9.637 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/1.739, allocations: 8 kB / 0.5851 GB, free: 9.629 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/StaticDrum.mo:11:3-13:24:writable] Warning: Connector Ce_eva 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/StaticDrum.mo:14:3-16:24:writable] Warning: Connector Ce_eco 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/StaticDrum.mo:17:3-18:82:writable] Warning: Connector Cs_sup 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/StaticDrum.mo:19:3-21:17:writable] Warning: Connector Cs_eva 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/StaticDrum.mo:22:3-23:82:writable] Warning: Connector Cs_sur 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/StaticDrum.mo:24:3-26:17:writable] Warning: Connector Cs_purg 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/StaticDrum.mo:27:3-29:17:writable] Warning: Connector Ce_steam 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/StaticDrum.mo:30:3-32:17:writable] Warning: Connector Ce_sup 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/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/Sensors/SensorT.mo:28:3-30: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/Sensors/SensorT.mo:31:3-33: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/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/Sink.mo:17:3-19: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/Sensors/SensorT.mo:28:3-30: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/Sensors/SensorT.mo:31:3-33: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/RefP.mo:15:3-17: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/BoundaryConditions/RefP.mo:18:3-19:83: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/RefQ.mo:15:3-17: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/BoundaryConditions/RefQ.mo:18:3-19:83: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/PlugA.mo:9:3-10:52: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.0006989/1.74, allocations: 227.2 kB / 0.5853 GB, free: 9.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005415/1.74, allocations: 305.4 kB / 0.5856 GB, free: 9.109 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.02132/1.761, allocations: 8.845 MB / 0.5942 GB, free: 256 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/1.763, allocations: 1.054 MB / 0.5952 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005254/1.763, allocations: 464.9 kB / 0.5957 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004098/1.764, allocations: 410.5 kB / 0.5961 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/1.764, allocations: 398.1 kB / 0.5965 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.524e-05/1.764, allocations: 76 kB / 0.5965 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02765/1.792, allocations: 15.89 MB / 0.6121 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003403/1.792, allocations: 175.3 kB / 0.6122 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007487/1.793, allocations: 457.7 kB / 0.6127 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01913/1.812, allocations: 8.526 MB / 0.621 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.812, allocations: 3.938 kB / 0.621 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/1.812, allocations: 0 / 0.621 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.346e-05/1.812, allocations: 4 kB / 0.621 GB, free: 4.766 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.004589/1.817, allocations: 1.895 MB / 0.6228 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.817, allocations: 12.03 kB / 0.6229 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/1.817, allocations: 102.8 kB / 0.623 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/1.818, allocations: 392.6 kB / 0.6233 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.86e-05/1.818, allocations: 61.94 kB / 0.6234 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/1.818, allocations: 80 kB / 0.6235 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/1.819, allocations: 1.029 MB / 0.6245 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/1.819, allocations: 3.938 kB / 0.6245 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/1.819, allocations: 40 kB / 0.6245 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/1.819, allocations: 35.98 kB / 0.6245 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000826/1.82, allocations: 0.5715 MB / 0.6251 GB, free: 352 kB / 0.4981 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.005003/1.825, allocations: 6.585 MB / 0.6315 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009989/1.826, allocations: 371.3 kB / 0.6319 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/1.826, allocations: 202 kB / 0.6321 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3521/2.178, allocations: 80.96 MB / 0.7111 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/2.178, allocations: 31.94 kB / 0.7112 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.907e-06/2.178, allocations: 0 / 0.7112 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.002962/2.181, allocations: 1.208 MB / 0.7124 GB, free: 212 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/2.181, allocations: 63 kB / 0.7124 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/2.182, allocations: 0.4926 MB / 0.7129 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/2.182, allocations: 29.89 kB / 0.7129 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/2.182, allocations: 366.4 kB / 0.7133 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/2.182, allocations: 273.8 kB / 0.7135 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/2.183, allocations: 154.2 kB / 0.7137 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/2.183, allocations: 381.4 kB / 0.714 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/2.183, allocations: 164.8 kB / 0.7142 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003804/2.183, allocations: 455.2 kB / 0.7146 GB, free: 210.8 MB / 0.5919 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002749/2.186, allocations: 1.474 MB / 0.7161 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/2.186, allocations: 3.75 kB / 0.7161 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001556/2.188, allocations: 0.8881 MB / 0.7169 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/2.188, allocations: 10.42 kB / 0.717 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/2.188, allocations: 10.09 kB / 0.717 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/2.189, allocations: 0.6429 MB / 0.7176 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/2.189, allocations: 94.45 kB / 0.7177 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/2.191, allocations: 2.014 MB / 0.7196 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/2.191, allocations: 105.9 kB / 0.7197 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/2.191, allocations: 37.75 kB / 0.7198 GB, free: 208.5 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: sensorT.h = $START.sensorT.h. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 30 (sourcePlug.C.b,refQ.C2.b,refQ.C1.a,refP.C2.b,refP.C1.a,sensorT1.C2.b,sensorT1.C1.a,sinkP2.C.a,singularPressureLossVALI3.C2.b,singularPressureLossVALI3.C1.a,sensorT.C2.b,sensorT.C1.a,sinkP1.C.a,singularPressureLossVALI2.C2.b,singularPressureLossVALI2.C1.a,singularPressureLossVALI1.C2.b,singularPressureLossVALI1.C1.a,StaticDrumTh1.Ce_sup.a,StaticDrumTh1.Ce_steam.a,StaticDrumTh1.Cs_purg.b,StaticDrumTh1.Cs_sur.b,StaticDrumTh1.Cs_eva.b,StaticDrumTh1.Cs_sup.b,StaticDrumTh1.Ce_eco.a,StaticDrumTh1.Ce_eva.a,StaticDrumTh1.Cs_sup.a,StaticDrumTh1.Cs_eva.a,StaticDrumTh1.Ce_eva.b,StaticDrumTh1.Ce_sup.b,StaticDrumTh1.Ce_steam.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002883/2.192, allocations: 220.4 kB / 0.72 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.238e-05/2.192, allocations: 62.22 kB / 0.7201 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/2.193, allocations: 1.179 MB / 0.7212 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/2.193, allocations: 3.469 kB / 0.7212 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/2.193, allocations: 4.094 kB / 0.7212 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/2.193, allocations: 201 kB / 0.7214 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/2.193, allocations: 6.156 kB / 0.7214 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/2.194, allocations: 10.91 kB / 0.7214 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/2.194, allocations: 19.78 kB / 0.7214 GB, free: 208.1 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(singularPressureLossVALI2.T, singularPressureLossVALI2.rho, singularPressureLossVALI2.pro.u, singularPressureLossVALI2.pro.s, singularPressureLossVALI2.pro.cp, singularPressureLossVALI2.pro.ddhp, singularPressureLossVALI2.pro.ddph, singularPressureLossVALI2.pro.duph, singularPressureLossVALI2.pro.duhp, singularPressureLossVALI2.pro.x) = $cse4 Variables: 1: singularPressureLossVALI2.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 2: singularPressureLossVALI2.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 3: singularPressureLossVALI2.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 4: singularPressureLossVALI2.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 5: singularPressureLossVALI2.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 6: singularPressureLossVALI2.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 7: singularPressureLossVALI2.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 8: singularPressureLossVALI2.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 9: singularPressureLossVALI2.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 10: $cse4.d: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): StaticDrumTh1.Cs_sur.h_vol = (1.0 - StaticDrumTh1.x) * StaticDrumTh1.hl + StaticDrumTh1.x * StaticDrumTh1.hv 2/2 (14): (ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(StaticDrumTh1.lsat.P, StaticDrumTh1.T, StaticDrumTh1.lsat.rho, StaticDrumTh1.hl, StaticDrumTh1.lsat.cp, StaticDrumTh1.lsat.pt, StaticDrumTh1.lsat.cv), ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(StaticDrumTh1.vsat.P, StaticDrumTh1.vsat.T, StaticDrumTh1.vsat.rho, StaticDrumTh1.hv, StaticDrumTh1.vsat.cp, StaticDrumTh1.vsat.pt, StaticDrumTh1.vsat.cv)) = ThermoSysPro.Properties.WaterSteam.IF97.Water_sat_P(StaticDrumTh1.P) 3/16 (1): 0.0 = if sinkP1.Q0 > 0.0 then singularPressureLossVALI1.h - StaticDrumTh1.hl else singularPressureLossVALI1.h - sinkP1.h0 4/17 (1): refQ.Q0 * sensorT.h + heatSource.W0[1] + (-sinkP1.Q0) * singularPressureLossVALI1.h - sensorT1.Q * sensorT1.h = 0.0 5/18 (1): 0.0 = if sensorT1.Q > 0.0 then sensorT1.h - singularPressureLossVALI3.C2.h_vol else sensorT1.h - sinkP2.h0 6/19 (1): 0.0 = if sensorT1.Q > 0.0 then sensorT1.h - StaticDrumTh1.Cs_sur.h_vol else sensorT1.h - singularPressureLossVALI3.C2.h_vol 7/20 (1): singularPressureLossVALI2.Pm = 0.5 * (refP.P0 + StaticDrumTh1.P) 8/21 (10): $cse4 = ThermoSysPro.Properties.Fluid.Ph(singularPressureLossVALI2.Pm, sensorT.h, singularPressureLossVALI2.mode, singularPressureLossVALI2.fluid) 9/31 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(singularPressureLossVALI2.T, singularPressureLossVALI2.rho, singularPressureLossVALI2.pro.u, singularPressureLossVALI2.pro.s, singularPressureLossVALI2.pro.cp, singularPressureLossVALI2.pro.ddhp, singularPressureLossVALI2.pro.ddph, singularPressureLossVALI2.pro.duph, singularPressureLossVALI2.pro.duhp, singularPressureLossVALI2.pro.x) = $cse4 10/41 (1): refP.P0 - StaticDrumTh1.P = singularPressureLossVALI2.deltaP 11/42 (1): singularPressureLossVALI2.deltaP = singularPressureLossVALI2.K * $cse3 / singularPressureLossVALI2.rho Variables: 1: singularPressureLossVALI2.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 2: singularPressureLossVALI2.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 3: singularPressureLossVALI2.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 4: singularPressureLossVALI2.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 5: singularPressureLossVALI2.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 6: singularPressureLossVALI2.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 7: singularPressureLossVALI2.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 8: singularPressureLossVALI2.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 9: singularPressureLossVALI2.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 10: singularPressureLossVALI2.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 11: singularPressureLossVALI2.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 12: $cse4.d:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse4.u:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse4.x:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse4.ddph:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse4.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse4.cp:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse4.s:VARIABLE(protected = true ) type: Real unreplaceable 19: sensorT.h:VARIABLE(start = 1e5 unit = "J/kg" fixed = true ) "Fluid specific enthalpy" type: Real 20: $cse4.T:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse4.duph:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse4.duhp:VARIABLE(protected = true ) type: Real unreplaceable 23: singularPressureLossVALI2.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 24: StaticDrumTh1.Cs_sur.h_vol:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy in the control volume" type: Real 25: singularPressureLossVALI3.C2.h_vol:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy in the control volume" type: Real 26: sensorT1.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 27: singularPressureLossVALI1.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 28: StaticDrumTh1.vsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 29: StaticDrumTh1.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 30: StaticDrumTh1.vsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 31: StaticDrumTh1.lsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 32: StaticDrumTh1.vsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 33: StaticDrumTh1.lsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 34: StaticDrumTh1.hl:VARIABLE(start = 1e5 unit = "J/kg" ) "Liquid phase specific enthalpy" type: Real 35: StaticDrumTh1.vsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 36: StaticDrumTh1.P:VARIABLE(min = 0.0 start = 1e6 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 37: StaticDrumTh1.lsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 38: StaticDrumTh1.vsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 39: StaticDrumTh1.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 40: StaticDrumTh1.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 41: StaticDrumTh1.vsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 42: StaticDrumTh1.hv:VARIABLE(start = 2.8e6 unit = "J/kg" ) "Gas phase 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.001177/2.195, allocations: 0.9805 MB / 0.7224 GB, free: 207.3 MB / 0.5919 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1 could not be translated