Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestStaticDrum3.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.Book.SimpleExamples.Volume.TestStaticDrum3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestStaticDrum3") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestStaticDrum3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestStaticDrum3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8307/0.8307, allocations: 150.9 MB / 167.2 MB, free: 14.48 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003292, allocations: 14.94 kB / 237.7 MB, free: 1.859 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05035/0.05069, allocations: 31.35 MB / 269.1 MB, free: 7.121 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.Book.SimpleExamples.Volume.TestStaticDrum3): time 1.675/1.725, allocations: 298.8 MB / 0.5546 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4977/2.223, allocations: 189.7 MB / 0.7398 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007967/2.224, allocations: 12.72 kB / 0.7398 GB, free: 15.14 MB / 0.6075 GB [/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/BoundaryConditions/SourcePQ.mo:29:3-30: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/Thermal/BoundaryConditions/HeatSink.mo:11:3-13:67:writable] Warning: Connector C is not balanced: The number of potential variables (0) is not equal to the number of flow variables (1). [/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/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:184:3-185:48: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/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:188:3-189:46: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/Volumes/VolumeA.mo:25:3-27: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/VolumeA.mo:28:3-30: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/VolumeA.mo:31:3-33: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/VolumeA.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). Notification: Performance of NFTyping.typeComponents: time 0.0009451/2.225, allocations: 343 kB / 0.7401 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001241/2.226, allocations: 0.7109 MB / 0.7408 GB, free: 15.12 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.02751/2.254, allocations: 12.24 MB / 0.7528 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007597/2.261, allocations: 9.188 MB / 0.7617 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004467/2.266, allocations: 3.019 MB / 0.7647 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005079/2.271, allocations: 3.119 MB / 0.7677 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006218/2.277, allocations: 3.476 MB / 0.7711 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002168/2.279, allocations: 0.5383 MB / 0.7717 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03468/2.314, allocations: 18.61 MB / 0.7898 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003008/2.317, allocations: 2.014 MB / 0.7918 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004825/2.322, allocations: 2.844 MB / 0.7946 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02794/2.35, allocations: 15.74 MB / 0.81 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/2.35, allocations: 0 / 0.81 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.974e-06/2.35, allocations: 4 kB / 0.81 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001408/2.35, allocations: 0 / 0.81 GB, free: 6.531 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.0337/2.384, allocations: 8.471 MB / 0.8182 GB, free: 14 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/2.384, allocations: 15.97 kB / 0.8182 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/2.385, allocations: 480.2 kB / 0.8187 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/2.388, allocations: 1.807 MB / 0.8205 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00188/2.39, allocations: 1.763 MB / 0.8222 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007939/2.391, allocations: 335.9 kB / 0.8225 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02043/2.411, allocations: 9.379 MB / 0.8317 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.404e-05/2.411, allocations: 7.938 kB / 0.8317 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005333/2.412, allocations: 132 kB / 0.8318 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/2.412, allocations: 151.8 kB / 0.8319 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02965/2.442, allocations: 12.09 MB / 0.8438 GB, free: 3.414 MB / 0.6544 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.04635/2.488, allocations: 29.55 MB / 0.8726 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0235/2.512, allocations: 9.699 MB / 0.8821 GB, free: 11 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01661/2.528, allocations: 7.184 MB / 0.8891 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4919/3.02, allocations: 154.9 MB / 1.04 GB, free: 440.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.862e-05/3.02, allocations: 86.98 kB / 1.04 GB, free: 440.8 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1061): time 8.707e-06/3.02, allocations: 1.031 kB / 1.04 GB, free: 440.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1061): time 0.05338/3.074, allocations: 22.98 MB / 1.063 GB, free: 438.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/3.074, allocations: 131.5 kB / 1.063 GB, free: 438.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009043/3.075, allocations: 0.8877 MB / 1.064 GB, free: 438.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0009905/3.076, allocations: 113 kB / 1.064 GB, free: 438.3 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:6:3-7:71:writable] Warning: The parameter lumpedStraightPipe.lambda has fixed = false and a binding equation lumpedStraightPipe.lambda = 0.03, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. Notification: Performance of collectInitialEqns (initialization): time 0.0003217/3.076, allocations: 0.6506 MB / 1.065 GB, free: 438 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.002294/3.078, allocations: 3.488 MB / 1.068 GB, free: 435.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001945/3.08, allocations: 1.318 MB / 1.069 GB, free: 434.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 3.849e-05/3.08, allocations: 304.9 kB / 1.07 GB, free: 434.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0132/3.094, allocations: 6.302 MB / 1.076 GB, free: 431 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0144/3.108, allocations: 7.154 MB / 1.083 GB, free: 423.7 MB / 0.8419 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.1435/3.252, allocations: 41.44 MB / 1.123 GB, free: 382.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/3.252, allocations: 4 kB / 1.123 GB, free: 382.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.04121/3.293, allocations: 18.22 MB / 1.141 GB, free: 364 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/3.293, allocations: 12 kB / 1.141 GB, free: 364 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.087e-05/3.293, allocations: 31.98 kB / 1.141 GB, free: 363.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04425/3.337, allocations: 19.75 MB / 1.16 GB, free: 344.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007032/3.344, allocations: 1.331 MB / 1.162 GB, free: 342.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/3.367, allocations: 14.63 MB / 1.176 GB, free: 328.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00817/3.375, allocations: 1.503 MB / 1.177 GB, free: 326.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006995/3.376, allocations: 283.7 kB / 1.178 GB, free: 326.3 MB / 0.8419 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.volumeA.h = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 30 (volumeA.Cs2.b,volumeA.Cs1.b,volumeA.Ce2.a,volumeA.Ce1.a,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,dynamicTwoPhaseFlowPipe.C2.b,dynamicTwoPhaseFlowPipe.C1.a,sink.C.a,singularPressureLossVALI3.C2.b,singularPressureLossVALI3.C1.a,sourcePQ.C.b,sinkQ.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,volumeA.Cs2.a,volumeA.Ce2.b,StaticDrumTh1.Cs_sup.a,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 (367): * Single equations (assignments): 350 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,3), (24,211), (1,3), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.002243/3.378, allocations: 1.168 MB / 1.179 GB, free: 325.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/3.379, allocations: 367 kB / 1.179 GB, free: 324.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03482/3.414, allocations: 18.79 MB / 1.198 GB, free: 305.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.9e-05/3.414, allocations: 31.36 kB / 1.198 GB, free: 305.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.926e-05/3.414, allocations: 20 kB / 1.198 GB, free: 305.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003626/3.418, allocations: 1.717 MB / 1.199 GB, free: 304.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000763/3.418, allocations: 121.2 kB / 1.199 GB, free: 304 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006944/3.425, allocations: 1.038 MB / 1.2 GB, free: 303 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008344/3.426, allocations: 411.7 kB / 1.201 GB, free: 302.6 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 (14): (ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(StaticDrumTh1.lsat.P, heatSource.T[1], StaticDrumTh1.lsat.rho, dynamicTwoPhaseFlowPipe.h[12], 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(dynamicTwoPhaseFlowPipe.P[12]) Variables: 1: StaticDrumTh1.lsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 2: StaticDrumTh1.vsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 3: StaticDrumTh1.vsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 4: StaticDrumTh1.vsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 5: dynamicTwoPhaseFlowPipe.P[12]:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Fluid pressure in node i" type: Real [12] 6: StaticDrumTh1.hv:VARIABLE(start = 2.8e6 unit = "J/kg" ) "Gas phase specific enthalpy" type: Real 7: StaticDrumTh1.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 8: StaticDrumTh1.lsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 9: StaticDrumTh1.vsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 10: StaticDrumTh1.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 11: heatSource.T[1]:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Sink temperature" type: Real [1] 12: StaticDrumTh1.vsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 13: StaticDrumTh1.vsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 14: StaticDrumTh1.lsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" 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): sourcePQ.P0 - dynamicTwoPhaseFlowPipe.P[12] = singularPressureLossVALI2.deltaP 2/2 (1): singularPressureLossVALI2.deltaP = singularPressureLossVALI2.K * $cse3 / singularPressureLossVALI2.rho 3/3 (10): $cse4 = ThermoSysPro.Properties.Fluid.Ph(singularPressureLossVALI2.Pm, singularPressureLossVALI2.h, singularPressureLossVALI2.mode, singularPressureLossVALI2.fluid) 4/13 (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 5/23 (1): 0.0 = if sourcePQ.Q0 > 0.0 then singularPressureLossVALI2.h - sourcePQ.h0 else singularPressureLossVALI2.h - dynamicTwoPhaseFlowPipe.h[12] 6/24 (14): (ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(StaticDrumTh1.lsat.P, heatSource.T[1], StaticDrumTh1.lsat.rho, dynamicTwoPhaseFlowPipe.h[12], 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(dynamicTwoPhaseFlowPipe.P[12]) 7/38 (1): singularPressureLossVALI2.Pm = 0.5 * (sourcePQ.P0 + dynamicTwoPhaseFlowPipe.P[12]) Variables: 1: singularPressureLossVALI2.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 2: StaticDrumTh1.lsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 3: StaticDrumTh1.vsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 4: StaticDrumTh1.vsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 5: StaticDrumTh1.vsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 6: dynamicTwoPhaseFlowPipe.P[12]:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Fluid pressure in node i" type: Real [12] 7: StaticDrumTh1.hv:VARIABLE(start = 2.8e6 unit = "J/kg" ) "Gas phase specific enthalpy" type: Real 8: StaticDrumTh1.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 9: StaticDrumTh1.lsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 10: StaticDrumTh1.vsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 11: StaticDrumTh1.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 12: heatSource.T[1]:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Sink temperature" type: Real [1] 13: StaticDrumTh1.vsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 14: StaticDrumTh1.vsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 15: StaticDrumTh1.lsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 16: dynamicTwoPhaseFlowPipe.h[12]:VARIABLE(start = 1e5 unit = "J/kg" nominal = 1e6 ) "Fluid specific enthalpy in node i" type: Real [12] 17: singularPressureLossVALI2.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 18: singularPressureLossVALI2.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 19: singularPressureLossVALI2.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 20: singularPressureLossVALI2.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 21: singularPressureLossVALI2.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 22: singularPressureLossVALI2.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 23: singularPressureLossVALI2.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 24: $cse4.ddph:VARIABLE(protected = true ) type: Real unreplaceable 25: $cse4.d:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse4.T:VARIABLE(protected = true ) type: Real unreplaceable 27: $cse4.u:VARIABLE(protected = true ) type: Real unreplaceable 28: $cse4.duhp:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse4.s:VARIABLE(protected = true ) type: Real unreplaceable 30: $cse4.duph:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse4.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse4.cp:VARIABLE(protected = true ) type: Real unreplaceable 33: singularPressureLossVALI2.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 34: $cse4.x:VARIABLE(protected = true ) type: Real unreplaceable 35: singularPressureLossVALI2.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 36: singularPressureLossVALI2.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 37: singularPressureLossVALI2.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 38: singularPressureLossVALI2.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" 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.01582/3.442, allocations: 3.943 MB / 1.205 GB, free: 298.7 MB / 0.8419 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestStaticDrum3 could not be translated