Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValve.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.SimpleExamples.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.832/0.832, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 15.56 kB / 237.8 MB, free: 1.754 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06266/0.06306, allocations: 31.35 MB / 269.1 MB, free: 7.023 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.SimpleExamples.TestCheckValve): time 1.664/1.727, allocations: 299.3 MB / 0.5551 GB, free: 8.449 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5199/2.247, allocations: 187.7 MB / 0.7384 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006594/2.247, allocations: 12.62 kB / 0.7384 GB, free: 15.5 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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/SinkP.mo:33:3-34:47: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/Machines/StaticCentrifugalPump.mo:60:3-62: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/Machines/StaticCentrifugalPump.mo:63:3-65: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/Machines/StaticCentrifugalPump.mo:60:3-62: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/Machines/StaticCentrifugalPump.mo:63:3-65: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/VolumeD.mo:29:3-31:42:writable] Warning: Connector Ce 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/VolumeD.mo:32:3-34: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/VolumeD.mo:35:3-37:43:writable] Warning: Connector Cs2 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/VolumeD.mo:38:3-40:37:writable] Warning: Connector Cs3 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/CheckValve.mo:38:3-39:49: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/CheckValve.mo:40:3-41:47: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/CheckValve.mo:38:3-39:49: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/CheckValve.mo:40:3-41:47: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/VolumeC.mo:29:3-31: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/VolumeC.mo:32:3-34: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/VolumeC.mo:35:3-37:37:writable] Warning: Connector Cs 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/VolumeC.mo:38:3-40:43:writable] Warning: Connector Ce3 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/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/BoundaryConditions/SourceP.mo:30:3-31:45: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/SinkP.mo:33:3-34:47: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/PressureLosses/CheckValve.mo:38:3-39:49: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/CheckValve.mo:40:3-41:47:writable] Warning: Connector C2 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.0006837/2.248, allocations: 292.3 kB / 0.7387 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009195/2.249, allocations: 0.5085 MB / 0.7392 GB, free: 15.5 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.02807/2.277, allocations: 11.65 MB / 0.7506 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002519/2.28, allocations: 1.96 MB / 0.7525 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008111/2.28, allocations: 0.7131 MB / 0.7532 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008016/2.281, allocations: 0.7363 MB / 0.7539 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005966/2.282, allocations: 0.6802 MB / 0.7545 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/2.282, allocations: 114.7 kB / 0.7547 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03285/2.315, allocations: 20.17 MB / 0.7743 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004032/2.315, allocations: 288 kB / 0.7746 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/2.316, allocations: 0.7655 MB / 0.7754 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02278/2.339, allocations: 10.97 MB / 0.7861 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/2.339, allocations: 0 / 0.7861 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.874e-06/2.339, allocations: 0 / 0.7861 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.462e-05/2.339, allocations: 0 / 0.7861 GB, free: 7.32 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: 407 * Number of variables: 407 Notification: Performance of Generate backend data structure: time 0.007058/2.346, allocations: 2.885 MB / 0.7889 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/2.346, allocations: 8.219 kB / 0.7889 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/2.347, allocations: 176.9 kB / 0.7891 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006985/2.347, allocations: 0.5867 MB / 0.7896 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/2.347, allocations: 167.5 kB / 0.7898 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/2.348, allocations: 111.3 kB / 0.7899 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/2.35, allocations: 1.549 MB / 0.7914 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/2.35, allocations: 4.875 kB / 0.7914 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.762e-05/2.35, allocations: 51.77 kB / 0.7915 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.756e-05/2.35, allocations: 68.22 kB / 0.7915 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/2.351, allocations: 1.044 MB / 0.7926 GB, free: 4.211 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.05913/2.41, allocations: 33.82 MB / 0.8256 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/2.412, allocations: 0.9641 MB / 0.8265 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009742/2.413, allocations: 0.6273 MB / 0.8272 GB, free: 376 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3192/2.733, allocations: 159.6 MB / 0.983 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/2.734, allocations: 0.7269 MB / 0.9838 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=205): time 4.579e-06/2.734, allocations: 0 / 0.9838 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=205): time 0.02768/2.762, allocations: 5.849 MB / 0.9895 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/2.762, allocations: 220.4 kB / 0.9897 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009101/2.763, allocations: 0.7117 MB / 0.9904 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.238e-05/2.763, allocations: 45.7 kB / 0.9904 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/2.763, allocations: 0.5022 MB / 0.9909 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004718/2.764, allocations: 0.6373 MB / 0.9915 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/2.764, allocations: 278.7 kB / 0.9918 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001248/2.764, allocations: 357.9 kB / 0.9921 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008034/2.765, allocations: 455.2 kB / 0.9926 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/2.766, allocations: 0.8132 MB / 0.9934 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002846/2.769, allocations: 1.629 MB / 0.995 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/2.769, allocations: 4 kB / 0.995 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003329/2.772, allocations: 1.941 MB / 0.9969 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/2.772, allocations: 12.94 kB / 0.9969 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/2.772, allocations: 8.75 kB / 0.9969 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005289/2.778, allocations: 1.92 MB / 0.9987 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/2.778, allocations: 97.36 kB / 0.9988 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/2.781, allocations: 2.408 MB / 1.001 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/2.782, allocations: 162.2 kB / 1.001 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.598e-05/2.782, allocations: 64.92 kB / 1.001 GB, free: 12.16 MB / 0.8419 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 55 ($PRE.checkValve2.touvert,$whenCondition7,$PRE.checkValve2.tferme,$whenCondition6,$PRE.checkValve1.touvert,$whenCondition5,$PRE.checkValve1.tferme,$whenCondition4,$PRE.checkValve3.touvert,$whenCondition3,$PRE.checkValve3.tferme,$whenCondition2,$whenCondition1,checkValve2.tferme,checkValve2.touvert,checkValve2.ouvert,$PRE.checkValve2.ouvert,checkValve1.tferme,checkValve1.touvert,checkValve1.ouvert,$PRE.checkValve1.ouvert,$PRE.pulse.T0,checkValve3.tferme,checkValve3.touvert,checkValve3.ouvert,$PRE.checkValve3.ouvert,pulse.T0,checkValve3.C2.b,checkValve3.C1.a,puitsP1.C.a,sourceP1.C.b,perteDP1.C2.b,perteDP1.C1.a,perteDP.C2.b,perteDP.C1.a,volumeC.Ce3.a,volumeC.Cs.b,volumeC.Ce2.a,volumeC.Ce1.a,checkValve2.C2.b,checkValve2.C1.a,checkValve1.C2.b,checkValve1.C1.a,volumeD.Cs3.b,volumeD.Cs2.b,volumeD.Cs1.b,volumeD.Ce.a,staticCentrifugalPump2.C2.b,staticCentrifugalPump2.C1.a,staticCentrifugalPump1.C2.b,staticCentrifugalPump1.C1.a,puitsP.C.a,sourceP.C.b,volumeC.Ce1.b,volumeD.Cs3.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(14,38), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004829/2.782, allocations: 302.6 kB / 1.002 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/2.783, allocations: 126.4 kB / 1.002 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/2.786, allocations: 2.844 MB / 1.005 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/2.786, allocations: 3.984 kB / 1.005 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/2.786, allocations: 2.25 kB / 1.005 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/2.787, allocations: 326.5 kB / 1.005 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/2.787, allocations: 31.84 kB / 1.005 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/2.788, allocations: 35.97 kB / 1.005 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/2.788, allocations: 82.89 kB / 1.005 GB, free: 8.309 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 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(checkValve3.T, checkValve3.rho, checkValve3.pro.u, checkValve3.pro.s, checkValve3.pro.cp, checkValve3.pro.ddhp, checkValve3.pro.ddph, checkValve3.pro.duph, checkValve3.pro.duhp, checkValve3.pro.x) = $cse11 Variables: 1: checkValve3.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 2: checkValve3.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 3: checkValve3.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 4: checkValve3.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 5: checkValve3.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 6: checkValve3.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 7: checkValve3.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 8: checkValve3.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 9: checkValve3.Q:VARIABLE(start = 500.0 unit = "kg/s" ) "Mass flow rate" type: Real 10: checkValve3.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid 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): 0.0 = if checkValve3.Q > 0.0 then checkValve3.h - sourceP1.h else checkValve3.h - puitsP1.h 2/2 (10): $cse11 = ThermoSysPro.Properties.Fluid.Ph(checkValve3.Pm, checkValve3.h, checkValve3.mode, checkValve3.fluid) 3/12 (1): 0.0 = if checkValve3.ouvert then checkValve3.deltaP + (-0.5) * checkValve3.k * ThermoSysPro.Functions.ThermoSquare(checkValve3.Q, checkValve3.eps) / checkValve3.rho else checkValve3.Q - checkValve3.Qmin 4/13 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(checkValve3.T, checkValve3.rho, checkValve3.pro.u, checkValve3.pro.s, checkValve3.pro.cp, checkValve3.pro.ddhp, checkValve3.pro.ddph, checkValve3.pro.duph, checkValve3.pro.duhp, checkValve3.pro.x) = $cse11 Variables: 1: checkValve3.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 2: checkValve3.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 3: checkValve3.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 4: checkValve3.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 5: checkValve3.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 6: checkValve3.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 7: checkValve3.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 8: checkValve3.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 9: checkValve3.Q:VARIABLE(start = 500.0 unit = "kg/s" ) "Mass flow rate" type: Real 10: checkValve3.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 11: checkValve3.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 12: $cse11.cp:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse11.duph:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse11.ddph:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse11.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse11.u:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse11.duhp:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse11.T:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse11.s:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse11.x:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse11.d:VARIABLE(protected = true ) type: Real unreplaceable 22: checkValve3.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" 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.0008387/2.789, allocations: 471.5 kB / 1.006 GB, free: 7.863 MB / 0.8419 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestCheckValve could not be translated