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.82/0.82, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004019, allocations: 21.05 kB / 237.8 MB, free: 1.754 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0635/0.06391, allocations: 31.34 MB / 269.1 MB, free: 7.031 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.698/1.762, allocations: 298.4 MB / 0.5542 GB, free: 9.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5701/2.332, allocations: 192 MB / 0.7418 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006964/2.332, allocations: 14.09 kB / 0.7418 GB, free: 1.195 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.0005752/2.333, allocations: 199.8 kB / 0.742 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008618/2.334, allocations: 443.4 kB / 0.7424 GB, free: 1.18 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.03164/2.366, allocations: 12.77 MB / 0.7548 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002534/2.368, allocations: 1.656 MB / 0.7565 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009492/2.369, allocations: 0.8465 MB / 0.7573 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008566/2.37, allocations: 0.658 MB / 0.7579 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006938/2.371, allocations: 0.7194 MB / 0.7586 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001776/2.371, allocations: 160.1 kB / 0.7588 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03649/2.407, allocations: 18.12 MB / 0.7765 GB, free: 15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005771/2.408, allocations: 362.5 kB / 0.7768 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/2.409, allocations: 0.7895 MB / 0.7776 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02651/2.436, allocations: 10.49 MB / 0.7878 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/2.436, allocations: 0 / 0.7878 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/2.436, allocations: 7.125 kB / 0.7878 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.843e-05/2.436, allocations: 0 / 0.7878 GB, free: 10.79 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.006219/2.442, allocations: 2.78 MB / 0.7906 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/2.442, allocations: 8 kB / 0.7906 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/2.442, allocations: 183.9 kB / 0.7907 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008486/2.443, allocations: 0.6188 MB / 0.7913 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.05e-05/2.443, allocations: 120 kB / 0.7915 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/2.443, allocations: 158.7 kB / 0.7916 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/2.446, allocations: 1.765 MB / 0.7933 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/2.446, allocations: 5.875 kB / 0.7933 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/2.446, allocations: 71.56 kB / 0.7934 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/2.446, allocations: 50.06 kB / 0.7935 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/2.448, allocations: 1.059 MB / 0.7945 GB, free: 7.258 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.08709/2.535, allocations: 42.24 MB / 0.8357 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/2.536, allocations: 278.1 kB / 0.836 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/2.536, allocations: 128.6 kB / 0.8361 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3423/2.878, allocations: 153 MB / 0.9856 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/2.879, allocations: 30.56 kB / 0.9856 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=38): time 3.186e-06/2.879, allocations: 4 kB / 0.9856 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=38): time 0.002895/2.881, allocations: 0.9517 MB / 0.9865 GB, free: 420 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/2.881, allocations: 55.41 kB / 0.9866 GB, free: 352 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/2.883, allocations: 0.8053 MB / 0.9874 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/2.883, allocations: 29.7 kB / 0.9874 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008586/2.884, allocations: 0.7971 MB / 0.9882 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/2.884, allocations: 157.8 kB / 0.9883 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/2.885, allocations: 266.7 kB / 0.9886 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002172/2.885, allocations: 389.8 kB / 0.9889 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004456/2.885, allocations: 190.5 kB / 0.9891 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/2.887, allocations: 0.8702 MB / 0.99 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/2.888, allocations: 1.164 MB / 0.9911 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/2.889, allocations: 8 kB / 0.9911 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.003129/2.892, allocations: 1.231 MB / 0.9923 GB, free: 10 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/2.892, allocations: 21.41 kB / 0.9923 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-05/2.892, allocations: 31.94 kB / 0.9924 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/2.893, allocations: 464.2 kB / 0.9928 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/2.894, allocations: 206.4 kB / 0.993 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/2.895, allocations: 1.819 MB / 0.9948 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/2.896, allocations: 177 kB / 0.995 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/2.897, allocations: 72.19 kB / 0.995 GB, free: 7.188 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.0006897/2.897, allocations: 324.2 kB / 0.9953 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/2.898, allocations: 87.42 kB / 0.9954 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/2.899, allocations: 0.5658 MB / 0.996 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/2.899, allocations: 4 kB / 0.996 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/2.899, allocations: 4 kB / 0.996 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/2.899, allocations: 180.5 kB / 0.9962 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/2.9, allocations: 4 kB / 0.9962 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/2.9, allocations: 7.984 kB / 0.9962 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/2.9, allocations: 31.91 kB / 0.9962 GB, free: 5.973 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.001101/2.901, allocations: 448.8 kB / 0.9966 GB, free: 5.562 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