Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.Book.SimpleExamples.Volume.TestStaticDrum3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestStaticDrum3") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestStaticDrum3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.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.8305/0.8305, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 15.3 kB / 237.7 MB, free: 1.816 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0612/0.06158, allocations: 31.35 MB / 269.1 MB, free: 7.082 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.Fluid.Examples.Book.SimpleExamples.Volume.TestStaticDrum3): time 1.634/1.696, allocations: 301.3 MB / 0.557 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4978/2.194, allocations: 201.5 MB / 0.7538 GB, free: 484 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/2.195, allocations: 28.69 kB / 0.7538 GB, free: 484 kB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:59:3-60:76:writable] Warning: Connector Ce_eva is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:61:3-62:76:writable] Warning: Connector Ce_eco is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:63:3-64:72:writable] Warning: Connector Cs_sup is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:65:3-66:74:writable] Warning: Connector Cs_eva is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:67:3-68:72:writable] Warning: Connector Cs_sur is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:69:3-70:74:writable] Warning: Connector Cs_purg is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:71:3-72:74:writable] Warning: Connector Ce_steam is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:73:3-74:74:writable] Warning: Connector Ce_sup is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkQ.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) 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/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:233:3-234:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:237:3-238:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:54:3-55:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:56:3-57:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeA.mo:104:3-105:67:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeA.mo:106:3-108:57:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeA.mo:109:3-110:73:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeA.mo:111:3-112:75:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0009937/2.196, allocations: 435.3 kB / 0.7542 GB, free: 480 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/2.198, allocations: 1.003 MB / 0.7552 GB, free: 428 kB / 0.5919 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.03814/2.236, allocations: 15.25 MB / 0.7701 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009277/2.245, allocations: 11.75 MB / 0.7816 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004862/2.25, allocations: 4.055 MB / 0.7855 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005136/2.255, allocations: 3.891 MB / 0.7893 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006429/2.262, allocations: 4.393 MB / 0.7936 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001504/2.263, allocations: 0.7604 MB / 0.7943 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04133/2.305, allocations: 21.05 MB / 0.8149 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004361/2.309, allocations: 2.678 MB / 0.8175 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007913/2.317, allocations: 3.777 MB / 0.8212 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.04338/2.36, allocations: 19.24 MB / 0.84 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/2.36, allocations: 0 / 0.84 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.024e-06/2.36, allocations: 0 / 0.84 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003144/2.361, allocations: 0 / 0.84 GB, free: 2.516 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.03708/2.398, allocations: 10.11 MB / 0.8499 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/2.398, allocations: 8.031 kB / 0.8499 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/2.401, allocations: 0.6683 MB / 0.8505 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006584/2.407, allocations: 2.522 MB / 0.853 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003244/2.411, allocations: 2.281 MB / 0.8552 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002857/2.414, allocations: 0.5233 MB / 0.8557 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03239/2.446, allocations: 12.39 MB / 0.8678 GB, free: 5.094 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001747/2.446, allocations: 23.75 kB / 0.8679 GB, free: 5.07 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001676/2.448, allocations: 224 kB / 0.8681 GB, free: 4.852 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/2.448, allocations: 199.9 kB / 0.8683 GB, free: 4.656 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03888/2.487, allocations: 16.18 MB / 0.8841 GB, free: 4.453 MB / 0.6856 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.1395/2.627, allocations: 76.4 MB / 0.9587 GB, free: 3.465 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02718/2.654, allocations: 10.83 MB / 0.9692 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0192/2.673, allocations: 8.094 MB / 0.9772 GB, free: 500 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3/3.973, allocations: 0.5371 GB / 1.514 GB, free: 328.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/3.973, allocations: 98.38 kB / 1.514 GB, free: 328.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1122): time 1.327e-05/3.973, allocations: 4 kB / 1.514 GB, free: 328.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1122): time 0.06092/4.034, allocations: 25.11 MB / 1.539 GB, free: 307.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/4.034, allocations: 120.3 kB / 1.539 GB, free: 307.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/4.037, allocations: 1.934 MB / 1.541 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.001531/4.038, allocations: 126.5 kB / 1.541 GB, free: 305.3 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:10:3-11: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.0007462/4.039, allocations: 1.514 MB / 1.542 GB, free: 303.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.003395/4.043, allocations: 3.736 MB / 1.546 GB, free: 300.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005281/4.048, allocations: 1.746 MB / 1.548 GB, free: 298.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.984e-05/4.048, allocations: 309.1 kB / 1.548 GB, free: 298.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01617/4.064, allocations: 7.281 MB / 1.555 GB, free: 290.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0174/4.082, allocations: 9.197 MB / 1.564 GB, free: 280.9 MB / 0.8106 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.1659/4.247, allocations: 47.65 MB / 1.611 GB, free: 232.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.342e-05/4.248, allocations: 16 kB / 1.611 GB, free: 232.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1391) (initialization): time 0.04961/4.297, allocations: 20.65 MB / 1.631 GB, free: 212.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.016e-05/4.297, allocations: 25.72 kB / 1.631 GB, free: 212.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/4.297, allocations: 71.98 kB / 1.631 GB, free: 212.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04094/4.338, allocations: 17.82 MB / 1.648 GB, free: 194.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009422/4.348, allocations: 1.935 MB / 1.65 GB, free: 192.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2207/4.569, allocations: 13.53 MB / 1.664 GB, free: 403.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01117/4.58, allocations: 1.813 MB / 1.665 GB, free: 403.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002665/4.582, allocations: 414.5 kB / 1.666 GB, free: 403.3 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.dynamicTwoPhaseFlowPipe.Q[3] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * Number of states: 0 () * Number of discrete variables: 46 (volumeA.fluid1,volumeA.Cs2.ftype,volumeA.Cs1.ftype,volumeA.Ce2.ftype,StaticDrumTh1.Cs_eva.ftype,volumeA.fluids[1],StaticDrumTh1.Cs_sur.ftype,sourcePQ.C.ftype,StaticDrumTh1.Cs_purg.ftype,StaticDrumTh1.Cs_sup.ftype,StaticDrumTh1.Ce_sup.ftype,StaticDrumTh1.Ce_steam.ftype,StaticDrumTh1.fluids[1],singularPressureLossVALI1.fluid,singularPressureLossVALI2.fluid,sinkQ.fluid,singularPressureLossVALI3.fluid,sink.fluid,dynamicTwoPhaseFlowPipe.fluid,lumpedStraightPipe.fluid,sourcePQ.fluid1,volumeA.Cs2.diff_on_1,volumeA.Cs1.diff_on_1,volumeA.Ce2.diff_on_2,volumeA.Ce1.diff_on_2,volumeA.Cs2.diff_on_2,volumeA.Ce2.diff_on_1,StaticDrumTh1.Cs_eva.diff_on_1,dynamicTwoPhaseFlowPipe.C1.diff_on_2,dynamicTwoPhaseFlowPipe.C2.diff_on_1,StaticDrumTh1.Cs_sur.diff_on_2,StaticDrumTh1.Cs_sur.diff_on_1,singularPressureLossVALI3.C2.diff_on_1,singularPressureLossVALI2.C2.diff_on_1,StaticDrumTh1.Cs_purg.diff_on_2,StaticDrumTh1.Ce_eco.diff_on_2,sourcePQ.C.diff_on_2,StaticDrumTh1.Cs_purg.diff_on_1,singularPressureLossVALI1.C2.diff_on_1,StaticDrumTh1.Cs_sup.diff_on_1,StaticDrumTh1.Ce_eva.diff_on_2,StaticDrumTh1.Ce_sup.diff_on_2,StaticDrumTh1.Ce_steam.diff_on_2,StaticDrumTh1.Cs_sup.diff_on_2,StaticDrumTh1.Ce_sup.diff_on_1,StaticDrumTh1.Ce_steam.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (643): * Single equations (assignments): 625 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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), (1,3), (26,219), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.005414/4.588, allocations: 1.524 MB / 1.667 GB, free: 403.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001715/4.59, allocations: 485.9 kB / 1.668 GB, free: 403 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0455/4.635, allocations: 20.05 MB / 1.687 GB, free: 401.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002152/4.635, allocations: 38.89 kB / 1.687 GB, free: 401.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.913e-05/4.636, allocations: 20.78 kB / 1.687 GB, free: 401.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006985/4.642, allocations: 1.955 MB / 1.689 GB, free: 400.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002412/4.645, allocations: 135.5 kB / 1.689 GB, free: 400.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009298/4.654, allocations: 1.105 MB / 1.69 GB, free: 400.6 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002782/4.657, allocations: 0.5481 MB / 1.691 GB, free: 400.6 MB / 0.8106 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.Fluid.Water_sat_P(dynamicTwoPhaseFlowPipe.P[12], StaticDrumTh1.fluid) Variables: 1: StaticDrumTh1.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 2: StaticDrumTh1.lsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 3: StaticDrumTh1.hv:VARIABLE(start = 2.8e6 unit = "J/kg" ) "Gas phase specific enthalpy" type: Real 4: StaticDrumTh1.vsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 5: StaticDrumTh1.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 6: StaticDrumTh1.vsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 7: StaticDrumTh1.vsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 8: StaticDrumTh1.lsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 9: StaticDrumTh1.vsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 10: StaticDrumTh1.vsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 11: StaticDrumTh1.vsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 12: heatSource.T[1]:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Sink temperature" type: Real [1] 13: dynamicTwoPhaseFlowPipe.h[12]:VARIABLE(start = 1e5 unit = "J/kg" nominal = 1e6 ) "Fluid specific enthalpy in node i" type: Real [12] 14: StaticDrumTh1.lsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" 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): singularPressureLossVALI2.deltaP = sourcePQ.P0 - dynamicTwoPhaseFlowPipe.P[12] 2/2 (1): singularPressureLossVALI2.deltaP = singularPressureLossVALI2.K * $cse2 / singularPressureLossVALI2.rho 3/3 (1): singularPressureLossVALI2.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLossVALI2.Pm, singularPressureLossVALI2.h, singularPressureLossVALI2.fluid, singularPressureLossVALI2.mode, 0.0, 0.0, 0.0, 0.0) 4/4 (1): singularPressureLossVALI2.Pm = 0.5 * (sourcePQ.P0 + dynamicTwoPhaseFlowPipe.P[12]) 5/5 (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.Fluid.Water_sat_P(dynamicTwoPhaseFlowPipe.P[12], StaticDrumTh1.fluid) 6/19 (1): singularPressureLossVALI2.h = if sourcePQ.Q0 > 0.0 then 1.4e6 else dynamicTwoPhaseFlowPipe.h[12] Variables: 1: singularPressureLossVALI2.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 2: StaticDrumTh1.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 3: StaticDrumTh1.lsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 4: StaticDrumTh1.hv:VARIABLE(start = 2.8e6 unit = "J/kg" ) "Gas phase specific enthalpy" type: Real 5: StaticDrumTh1.vsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 6: StaticDrumTh1.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 7: StaticDrumTh1.vsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 8: StaticDrumTh1.vsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 9: StaticDrumTh1.lsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 10: StaticDrumTh1.vsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 11: StaticDrumTh1.vsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 12: StaticDrumTh1.vsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 13: heatSource.T[1]:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Sink temperature" type: Real [1] 14: dynamicTwoPhaseFlowPipe.h[12]:VARIABLE(start = 1e5 unit = "J/kg" nominal = 1e6 ) "Fluid specific enthalpy in node i" type: Real [12] 15: StaticDrumTh1.lsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 16: dynamicTwoPhaseFlowPipe.P[12]:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Fluid pressure in node i" type: Real [12] 17: singularPressureLossVALI2.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 18: singularPressureLossVALI2.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 19: 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.01254/4.67, allocations: 2.789 MB / 1.694 GB, free: 400 MB / 0.8106 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestStaticDrum3 could not be translated