Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2.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.SimpleExamples.TestStaticDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8186/0.8186, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.000385, allocations: 20.41 kB / 237.8 MB, free: 1.93 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.056/0.0564, allocations: 31.35 MB / 269.1 MB, free: 7.16 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2): time 1.681/1.738, allocations: 298.3 MB / 0.5541 GB, free: 9.695 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5745/2.312, allocations: 192 MB / 0.7416 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/2.314, allocations: 17.38 kB / 0.7416 GB, free: 1.262 MB / 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/Sensors/SensorT.mo:32:3-33:68: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/Sensors/SensorT.mo:34:3-35:66: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/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/Sensors/SensorT.mo:32:3-33:68: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/Sensors/SensorT.mo:34:3-35:66:writable] Warning: Connector C2 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.001057/2.315, allocations: 205.3 kB / 0.7418 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001765/2.317, allocations: 444.5 kB / 0.7422 GB, free: 1.246 MB / 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.0374/2.354, allocations: 12.54 MB / 0.7545 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002442/2.356, allocations: 1.656 MB / 0.7561 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009533/2.357, allocations: 0.8467 MB / 0.7569 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008176/2.358, allocations: 0.6642 MB / 0.7576 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006316/2.359, allocations: 0.7192 MB / 0.7583 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/2.359, allocations: 160.9 kB / 0.7584 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03827/2.397, allocations: 18.13 MB / 0.7761 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005112/2.398, allocations: 361.8 kB / 0.7765 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/2.399, allocations: 0.789 MB / 0.7773 GB, free: 15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03037/2.43, allocations: 10.45 MB / 0.7875 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/2.43, allocations: 1.812 kB / 0.7875 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/2.43, allocations: 0 / 0.7875 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.12e-05/2.43, allocations: 0 / 0.7875 GB, free: 10.99 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 426 * Number of variables: 426 Notification: Performance of Generate backend data structure: time 0.007519/2.437, allocations: 2.695 MB / 0.7901 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/2.437, allocations: 8.688 kB / 0.7901 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003646/2.438, allocations: 178.8 kB / 0.7903 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/2.439, allocations: 0.616 MB / 0.7909 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/2.439, allocations: 125.8 kB / 0.791 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/2.439, allocations: 155.2 kB / 0.7911 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/2.441, allocations: 1.757 MB / 0.7929 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/2.442, allocations: 11.91 kB / 0.7929 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/2.442, allocations: 70.16 kB / 0.7929 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/2.442, allocations: 46.47 kB / 0.793 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/2.443, allocations: 1.059 MB / 0.794 GB, free: 7.625 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0791/2.522, allocations: 42.21 MB / 0.8352 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/2.523, allocations: 279.2 kB / 0.8355 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/2.523, allocations: 128.6 kB / 0.8356 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3134/2.837, allocations: 153 MB / 0.985 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/2.837, allocations: 38.56 kB / 0.9851 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=38): time 3.006e-06/2.837, allocations: 0 / 0.9851 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=38): time 0.002575/2.839, allocations: 0.9413 MB / 0.986 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/2.839, allocations: 55.41 kB / 0.9861 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/2.841, allocations: 0.8011 MB / 0.9868 GB, free: 40 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/2.841, allocations: 29.7 kB / 0.9869 GB, free: 4 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005623/2.841, allocations: 0.7715 MB / 0.9876 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/2.841, allocations: 148.1 kB / 0.9878 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/2.842, allocations: 262.5 kB / 0.988 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001502/2.842, allocations: 382.8 kB / 0.9884 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/2.842, allocations: 202.5 kB / 0.9886 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007883/2.843, allocations: 0.8656 MB / 0.9894 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/2.844, allocations: 1.159 MB / 0.9905 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/2.844, allocations: 8 kB / 0.9906 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002394/2.847, allocations: 1.242 MB / 0.9918 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/2.847, allocations: 22.28 kB / 0.9918 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.683e-05/2.847, allocations: 24 kB / 0.9918 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/2.848, allocations: 472.8 kB / 0.9923 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/2.848, allocations: 206.6 kB / 0.9925 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/2.85, allocations: 1.818 MB / 0.9942 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/2.85, allocations: 170.2 kB / 0.9944 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/2.851, allocations: 68 kB / 0.9945 GB, free: 7.742 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 36 (StaticDrumTh1.Cs_sur.ftype,sourcePQ.C.ftype,StaticDrumTh1.Cs_purg.ftype,StaticDrumTh1.Cs_sup.ftype,StaticDrumTh1.Cs_eva.ftype,StaticDrumTh1.Ce_eva.ftype,StaticDrumTh1.Ce_sup.ftype,StaticDrumTh1.Ce_steam.ftype,StaticDrumTh1.fluids[1],singularPressureLossVALI1.fluid,singularPressureLossVALI2.fluid,sinkP1.fluid,sensorT.fluid,singularPressureLossVALI3.fluid,sinkP2.fluid,sensorT1.fluid,sourcePQ.fluid1,StaticDrumTh1.Cs_sur.diff_on_2,StaticDrumTh1.Cs_sur.diff_on_1,sensorT1.C2.diff_on_1,singularPressureLossVALI2.C2.diff_on_1,StaticDrumTh1.Ce_eco.diff_on_2,sensorT.C1.diff_on_2,StaticDrumTh1.Cs_purg.diff_on_2,StaticDrumTh1.Cs_purg.diff_on_1,singularPressureLossVALI1.C2.diff_on_1,StaticDrumTh1.Cs_sup.diff_on_1,StaticDrumTh1.Cs_eva.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.Cs_eva.diff_on_2,StaticDrumTh1.Ce_eva.diff_on_1,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 (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004696/2.851, allocations: 323.1 kB / 0.9948 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/2.851, allocations: 95.59 kB / 0.9949 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/2.852, allocations: 0.5538 MB / 0.9954 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/2.852, allocations: 3.984 kB / 0.9954 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/2.852, allocations: 0 / 0.9954 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/2.853, allocations: 176.1 kB / 0.9956 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.587e-05/2.853, allocations: 15.92 kB / 0.9956 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/2.853, allocations: 11.98 kB / 0.9956 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/2.853, allocations: 23.91 kB / 0.9956 GB, free: 6.531 MB / 0.8262 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, StaticDrumTh1.hl, StaticDrumTh1.lsat.cp, StaticDrumTh1.lsat.pt, StaticDrumTh1.lsat.cv), ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(StaticDrumTh1.vsat.P, StaticDrumTh1.vsat.T, StaticDrumTh1.vsat.rho, StaticDrumTh1.hv, StaticDrumTh1.vsat.cp, StaticDrumTh1.vsat.pt, StaticDrumTh1.vsat.cv)) = ThermoSysPro.Properties.Fluid.Water_sat_P(StaticDrumTh1.P, StaticDrumTh1.fluid) Variables: 1: StaticDrumTh1.vsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 2: StaticDrumTh1.lsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 3: StaticDrumTh1.vsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 4: StaticDrumTh1.vsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 5: StaticDrumTh1.hv:VARIABLE(start = 2.8e6 unit = "J/kg" ) "Gas phase specific enthalpy" type: Real 6: StaticDrumTh1.lsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 7: StaticDrumTh1.vsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 8: StaticDrumTh1.vsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 9: StaticDrumTh1.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 10: StaticDrumTh1.vsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 11: StaticDrumTh1.hl:VARIABLE(start = 1e5 unit = "J/kg" ) "Liquid phase specific enthalpy" type: Real 12: StaticDrumTh1.lsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 13: StaticDrumTh1.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 14: heatSource.T[1]:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Sink temperature" type: Real [1] [/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 - StaticDrumTh1.P 2/2 (1): singularPressureLossVALI2.deltaP = singularPressureLossVALI2.K * $cse2 / singularPressureLossVALI2.rho 3/3 (1): singularPressureLossVALI2.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLossVALI2.Pm, sensorT.h, singularPressureLossVALI2.fluid, singularPressureLossVALI2.mode, 0.0, 0.0, 0.0, 0.0) 4/4 (1): singularPressureLossVALI2.Pm = 0.5 * (sourcePQ.P0 + StaticDrumTh1.P) 5/5 (14): (ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(StaticDrumTh1.lsat.P, heatSource.T[1], StaticDrumTh1.lsat.rho, StaticDrumTh1.hl, StaticDrumTh1.lsat.cp, StaticDrumTh1.lsat.pt, StaticDrumTh1.lsat.cv), ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(StaticDrumTh1.vsat.P, StaticDrumTh1.vsat.T, StaticDrumTh1.vsat.rho, StaticDrumTh1.hv, StaticDrumTh1.vsat.cp, StaticDrumTh1.vsat.pt, StaticDrumTh1.vsat.cv)) = ThermoSysPro.Properties.Fluid.Water_sat_P(StaticDrumTh1.P, StaticDrumTh1.fluid) 6/19 (1): sensorT.h = if sourcePQ.Q0 > 0.0 then 1e5 else StaticDrumTh1.hl Variables: 1: sensorT.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 2: StaticDrumTh1.vsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 3: StaticDrumTh1.lsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 4: StaticDrumTh1.vsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 5: StaticDrumTh1.vsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 6: StaticDrumTh1.hv:VARIABLE(start = 2.8e6 unit = "J/kg" ) "Gas phase specific enthalpy" type: Real 7: StaticDrumTh1.lsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 8: StaticDrumTh1.vsat.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.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 11: StaticDrumTh1.vsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 12: StaticDrumTh1.hl:VARIABLE(start = 1e5 unit = "J/kg" ) "Liquid phase specific enthalpy" type: Real 13: StaticDrumTh1.lsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 14: StaticDrumTh1.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 15: heatSource.T[1]:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Sink temperature" type: Real [1] 16: StaticDrumTh1.P:VARIABLE(min = 0.0 start = 1e6 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 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.0009313/2.854, allocations: 457.5 kB / 0.9961 GB, free: 6.113 MB / 0.8262 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2 could not be translated