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 1.02/1.02, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003828, allocations: 17.67 kB / 237.7 MB, free: 1.836 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06364/0.06404, allocations: 31.34 MB / 269.1 MB, free: 7.137 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.745/1.809, allocations: 298.9 MB / 0.5546 GB, free: 8.605 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5444/2.353, allocations: 189.7 MB / 0.7398 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000695/2.354, allocations: 9.688 kB / 0.7399 GB, free: 15.38 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.0008622/2.355, allocations: 374.3 kB / 0.7402 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001132/2.356, allocations: 0.758 MB / 0.741 GB, free: 15.38 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.0278/2.384, allocations: 12.43 MB / 0.7531 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007046/2.391, allocations: 9.199 MB / 0.7621 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0038/2.395, allocations: 3.016 MB / 0.765 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/2.398, allocations: 3.118 MB / 0.7681 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00459/2.403, allocations: 3.473 MB / 0.7715 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00097/2.404, allocations: 0.5379 MB / 0.772 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03203/2.436, allocations: 18.62 MB / 0.7902 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002471/2.439, allocations: 2.017 MB / 0.7921 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003844/2.442, allocations: 2.848 MB / 0.7949 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02623/2.469, allocations: 15.74 MB / 0.8103 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/2.469, allocations: 4 kB / 0.8103 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.033e-06/2.469, allocations: 0 / 0.8103 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.373e-05/2.469, allocations: 0 / 0.8103 GB, free: 6.156 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.03122/2.5, allocations: 8.475 MB / 0.8186 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/2.5, allocations: 8.031 kB / 0.8186 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/2.501, allocations: 480.2 kB / 0.819 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003904/2.505, allocations: 1.803 MB / 0.8208 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001937/2.507, allocations: 1.759 MB / 0.8225 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008613/2.508, allocations: 339.9 kB / 0.8228 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02242/2.531, allocations: 9.378 MB / 0.832 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.797e-05/2.531, allocations: 3.938 kB / 0.832 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007601/2.531, allocations: 132 kB / 0.8321 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/2.532, allocations: 155.9 kB / 0.8323 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03182/2.563, allocations: 12.09 MB / 0.8441 GB, free: 3.027 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.04898/2.612, allocations: 29.55 MB / 0.873 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02591/2.638, allocations: 9.694 MB / 0.8824 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0192/2.658, allocations: 7.193 MB / 0.8894 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5235/3.181, allocations: 154.9 MB / 1.041 GB, free: 440.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/3.181, allocations: 88.17 kB / 1.041 GB, free: 440.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1061): time 1.045e-05/3.181, allocations: 0 / 1.041 GB, free: 440.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1061): time 0.0606/3.242, allocations: 22.98 MB / 1.063 GB, free: 438.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/3.242, allocations: 134.9 kB / 1.063 GB, free: 438.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009462/3.243, allocations: 0.8922 MB / 1.064 GB, free: 438.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/3.244, allocations: 113.7 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.0003686/3.244, allocations: 0.6363 MB / 1.065 GB, free: 438 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.002648/3.247, allocations: 3.495 MB / 1.068 GB, free: 435.4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00212/3.249, allocations: 1.312 MB / 1.07 GB, free: 434.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.123e-05/3.249, allocations: 301.1 kB / 1.07 GB, free: 434.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01426/3.264, allocations: 6.309 MB / 1.076 GB, free: 430.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01516/3.279, allocations: 7.155 MB / 1.083 GB, free: 423.3 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.1752/3.454, allocations: 41.43 MB / 1.124 GB, free: 381.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-05/3.454, allocations: 4 kB / 1.124 GB, free: 381.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.04953/3.503, allocations: 18.22 MB / 1.141 GB, free: 363.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/3.504, allocations: 8.938 kB / 1.141 GB, free: 363.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.019e-05/3.504, allocations: 32 kB / 1.141 GB, free: 363.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04938/3.553, allocations: 19.75 MB / 1.161 GB, free: 343.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007375/3.56, allocations: 1.329 MB / 1.162 GB, free: 342.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02843/3.589, allocations: 14.64 MB / 1.176 GB, free: 327.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008902/3.598, allocations: 1.495 MB / 1.178 GB, free: 326.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/3.599, allocations: 279.7 kB / 1.178 GB, free: 325.9 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.00408/3.604, allocations: 1.167 MB / 1.179 GB, free: 324.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001859/3.605, allocations: 375 kB / 1.18 GB, free: 324.4 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04516/3.651, allocations: 18.81 MB / 1.198 GB, free: 305.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001345/3.651, allocations: 27.89 kB / 1.198 GB, free: 305.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.691e-05/3.651, allocations: 19.98 kB / 1.198 GB, free: 305.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004542/3.655, allocations: 1.71 MB / 1.2 GB, free: 303.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001856/3.657, allocations: 120 kB / 1.2 GB, free: 303.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008289/3.666, allocations: 1.035 MB / 1.201 GB, free: 302.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00175/3.667, allocations: 419.7 kB / 1.201 GB, free: 302.2 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.01687/3.684, allocations: 3.939 MB / 1.205 GB, free: 298.3 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