Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealCheckValve.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.TestIdealCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealCheckValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestIdealCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8749/0.8749, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 17.09 kB / 237.8 MB, free: 1.746 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06059/0.06095, allocations: 31.35 MB / 269.1 MB, free: 7.039 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.TestIdealCheckValve): time 1.696/1.757, allocations: 299.7 MB / 0.5555 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4991/2.257, allocations: 187.8 MB / 0.7389 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/2.258, allocations: 9.219 kB / 0.7389 GB, free: 15.47 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/IdealCheckValve.mo:22:3-23: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/IdealCheckValve.mo:24:3-25: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/PressureLosses/IdealCheckValve.mo:22:3-23: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/IdealCheckValve.mo:24:3-25: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/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/IdealCheckValve.mo:22:3-23: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/IdealCheckValve.mo:24:3-25: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/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). Notification: Performance of NFTyping.typeComponents: time 0.0009044/2.259, allocations: 331.8 kB / 0.7392 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001287/2.26, allocations: 0.6044 MB / 0.7398 GB, free: 15.46 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.03068/2.291, allocations: 11.91 MB / 0.7514 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002838/2.293, allocations: 2.074 MB / 0.7535 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008974/2.294, allocations: 0.7905 MB / 0.7542 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/2.296, allocations: 0.7905 MB / 0.755 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/2.297, allocations: 0.7588 MB / 0.7558 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002023/2.297, allocations: 127.2 kB / 0.7559 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04232/2.34, allocations: 20.17 MB / 0.7756 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005853/2.34, allocations: 319.7 kB / 0.7759 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001512/2.342, allocations: 0.8318 MB / 0.7767 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02937/2.371, allocations: 11.11 MB / 0.7875 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/2.371, allocations: 0 / 0.7875 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/2.371, allocations: 0 / 0.7875 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.494e-05/2.371, allocations: 0 / 0.7875 GB, free: 6.98 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: 433 * Number of variables: 433 Notification: Performance of Generate backend data structure: time 0.008482/2.38, allocations: 2.987 MB / 0.7905 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/2.38, allocations: 11.42 kB / 0.7905 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/2.38, allocations: 187.8 kB / 0.7907 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/2.381, allocations: 0.6475 MB / 0.7913 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/2.381, allocations: 176.7 kB / 0.7915 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/2.381, allocations: 138.5 kB / 0.7916 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/2.384, allocations: 1.662 MB / 0.7932 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/2.384, allocations: 7.375 kB / 0.7932 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.396e-05/2.384, allocations: 56.12 kB / 0.7933 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/2.384, allocations: 65.67 kB / 0.7933 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/2.386, allocations: 1.116 MB / 0.7944 GB, free: 3.695 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.06627/2.452, allocations: 34.6 MB / 0.8282 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002702/2.455, allocations: 1.139 MB / 0.8293 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/2.456, allocations: 0.6574 MB / 0.83 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3541/2.81, allocations: 159.6 MB / 0.9859 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001611/2.812, allocations: 0.7508 MB / 0.9866 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=206): time 6.111e-06/2.812, allocations: 0 / 0.9866 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=206): time 0.0206/2.832, allocations: 4.659 MB / 0.9911 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/2.832, allocations: 222.2 kB / 0.9914 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/2.834, allocations: 0.7941 MB / 0.9921 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.256e-05/2.834, allocations: 45.69 kB / 0.9922 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/2.834, allocations: 0.5711 MB / 0.9927 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005766/2.835, allocations: 0.6464 MB / 0.9934 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004396/2.835, allocations: 294.8 kB / 0.9936 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001021/2.835, allocations: 305.1 kB / 0.9939 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009411/2.836, allocations: 485 kB / 0.9944 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/2.837, allocations: 0.8772 MB / 0.9953 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005333/2.843, allocations: 2.048 MB / 0.9973 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-05/2.843, allocations: 4 kB / 0.9973 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004036/2.847, allocations: 2.024 MB / 0.9992 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/2.847, allocations: 11.98 kB / 0.9992 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/2.847, allocations: 19.44 kB / 0.9993 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005616/2.853, allocations: 1.905 MB / 1.001 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/2.853, allocations: 99.7 kB / 1.001 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004072/2.857, allocations: 2.488 MB / 1.004 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/2.858, allocations: 174 kB / 1.004 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/2.858, allocations: 63.98 kB / 1.004 GB, free: 9.695 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: 51 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.idealCheckValve2.touvert,$whenCondition7,$PRE.idealCheckValve2.tferme,$whenCondition6,$PRE.idealCheckValve1.touvert,$whenCondition5,$PRE.idealCheckValve1.tferme,$whenCondition4,$PRE.idealCheckValve3.touvert,$whenCondition3,$PRE.idealCheckValve3.tferme,$whenCondition2,$whenCondition1,idealCheckValve2.tferme,idealCheckValve2.touvert,idealCheckValve2.ouvert,$PRE.idealCheckValve2.ouvert,idealCheckValve1.tferme,idealCheckValve1.touvert,idealCheckValve1.ouvert,$PRE.idealCheckValve1.ouvert,$PRE.pulse.T0,idealCheckValve3.tferme,idealCheckValve3.touvert,idealCheckValve3.ouvert,$PRE.idealCheckValve3.ouvert,pulse.T0,perteDP3.C2.b,perteDP3.C1.a,perteDP2.C2.b,perteDP2.C1.a,idealCheckValve3.C1.a,idealCheckValve3.C2.b,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,idealCheckValve2.C1.a,idealCheckValve2.C2.b,idealCheckValve1.C1.a,idealCheckValve1.C2.b,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 (100): * Single equations (assignments): 94 * 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,34), (5,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0009534/2.859, allocations: 324 kB / 1.004 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005171/2.86, allocations: 136.4 kB / 1.004 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005434/2.865, allocations: 2.857 MB / 1.007 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/2.865, allocations: 7.984 kB / 1.007 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/2.865, allocations: 4 kB / 1.007 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007444/2.866, allocations: 330.5 kB / 1.007 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/2.866, allocations: 31.84 kB / 1.007 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000713/2.867, allocations: 41.66 kB / 1.007 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/2.867, allocations: 76.55 kB / 1.008 GB, free: 5.773 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(perteDP2.T, perteDP2.rho, perteDP2.pro.u, perteDP2.pro.s, perteDP2.pro.cp, perteDP2.pro.ddhp, perteDP2.pro.ddph, perteDP2.pro.duph, perteDP2.pro.duhp, perteDP2.pro.x) = $cse11 Variables: 1: perteDP2.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 2: perteDP2.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 3: perteDP2.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 4: perteDP2.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 5: $cse11.duhp:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse11.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse11.duph:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse11.s:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse11.d:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse11.ddph:VARIABLE(protected = true ) type: Real unreplaceable [/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 perteDP3.Q > 0.0 then perteDP3.h - sourceP1.h else perteDP3.h - perteDP2.C2.h_vol 2/2 (1): 0.0 = if perteDP3.Q > 0.0 then perteDP3.h - perteDP2.C2.h_vol else perteDP3.h - idealCheckValve3.C2.h_vol 3/3 (1): 0.0 = if perteDP3.Q > 0.0 then perteDP3.h - idealCheckValve3.C2.h_vol else perteDP3.h - puitsP1.h 4/4 (10): $cse9 = ThermoSysPro.Properties.Fluid.Ph(perteDP3.Pm, perteDP3.h, perteDP3.mode, perteDP3.fluid) 5/14 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(perteDP3.T, perteDP3.rho, perteDP3.pro.u, perteDP3.pro.s, perteDP3.pro.cp, perteDP3.pro.ddhp, perteDP3.pro.ddph, perteDP3.pro.duph, perteDP3.pro.duhp, perteDP3.pro.x) = $cse9 6/24 (1): perteDP3.Pm = 0.5 * (idealCheckValve3.C2.P + puitsP1.P0) 7/25 (1): idealCheckValve3.deltaP = perteDP2.C2.P - idealCheckValve3.C2.P 8/26 (1): 0.0 = if idealCheckValve3.ouvert then idealCheckValve3.deltaP else perteDP3.Q - idealCheckValve3.Qmin 9/27 (1): $cse10 = ThermoSysPro.Functions.ThermoSquare(perteDP3.Q, perteDP3.eps) 10/28 (1): perteDP3.deltaPf = 0.5 * perteDP3.khi * $cse10 / (perteDP3.A ^ 2.0 * perteDP3.rho) 11/29 (1): perteDP3.deltaP = perteDP3.deltaPf + 9.80665 * perteDP3.rho * (perteDP3.z2 - perteDP3.z1) 12/30 (1): $cse12 = ThermoSysPro.Functions.ThermoSquare(perteDP3.Q, perteDP2.eps) 13/31 (1): perteDP2.deltaPf = 0.5 * perteDP2.khi * $cse12 / (perteDP2.A ^ 2.0 * perteDP2.rho) 14/32 (1): perteDP2.deltaP = perteDP2.deltaPf + 9.80665 * perteDP2.rho * (perteDP2.z2 - perteDP2.z1) 15/33 (10): $cse11 = ThermoSysPro.Properties.Fluid.Ph(perteDP2.Pm, perteDP3.h, perteDP2.mode, perteDP2.fluid) 16/43 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(perteDP2.T, perteDP2.rho, perteDP2.pro.u, perteDP2.pro.s, perteDP2.pro.cp, perteDP2.pro.ddhp, perteDP2.pro.ddph, perteDP2.pro.duph, perteDP2.pro.duhp, perteDP2.pro.x) = $cse11 17/53 (1): perteDP2.Pm = 0.5 * (sourceP1.P + perteDP2.C2.P) 18/54 (1): sourceP1.P - perteDP2.C2.P = perteDP2.deltaP 19/55 (1): idealCheckValve3.C2.P - puitsP1.P0 = perteDP3.deltaP Variables: 1: perteDP3.deltaP:VARIABLE(unit = "Pa" ) "Total pressure loss" type: Real 2: perteDP2.deltaP:VARIABLE(unit = "Pa" ) "Total pressure loss" type: Real 3: perteDP2.C2.P:VARIABLE(flow=false min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Fluid pressure in the control volume" type: Real 4: perteDP2.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 5: perteDP2.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 6: perteDP2.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 7: perteDP2.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 8: $cse11.duhp:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse11.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse11.duph:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse11.s:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse11.d:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse11.ddph:VARIABLE(protected = true ) type: Real unreplaceable 14: perteDP2.Pm:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Fluid average pressure" type: Real 15: $cse11.T:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse11.u:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse11.cp:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse11.x:VARIABLE(protected = true ) type: Real unreplaceable 19: perteDP2.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 20: perteDP2.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 21: perteDP2.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 22: perteDP2.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 23: perteDP2.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 24: perteDP2.deltaPf:VARIABLE(unit = "Pa" ) "Friction pressure loss" type: Real 25: perteDP2.rho:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 26: $cse12:VARIABLE(protected = true ) type: Real unreplaceable 27: perteDP3.rho:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 28: perteDP3.deltaPf:VARIABLE(unit = "Pa" ) "Friction pressure loss" type: Real 29: $cse10:VARIABLE(protected = true ) type: Real unreplaceable 30: perteDP3.Q:VARIABLE(start = 100.0 unit = "kg/s" ) "Mass flow rate" type: Real 31: idealCheckValve3.deltaP:VARIABLE(unit = "Pa" ) "Pressure difference between the inlet and the outlet" type: Real 32: idealCheckValve3.C2.P:VARIABLE(flow=false min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Fluid pressure in the control volume" type: Real 33: perteDP3.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 34: perteDP3.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 35: perteDP3.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 36: perteDP3.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 37: perteDP3.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 38: perteDP3.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 39: $cse9.duph:VARIABLE(protected = true ) type: Real unreplaceable 40: perteDP3.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 41: perteDP3.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 42: perteDP3.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 43: $cse9.s:VARIABLE(protected = true ) type: Real unreplaceable 44: $cse9.x:VARIABLE(protected = true ) type: Real unreplaceable 45: $cse9.ddph:VARIABLE(protected = true ) type: Real unreplaceable 46: $cse9.u:VARIABLE(protected = true ) type: Real unreplaceable 47: $cse9.duhp:VARIABLE(protected = true ) type: Real unreplaceable 48: $cse9.cp:VARIABLE(protected = true ) type: Real unreplaceable 49: $cse9.T:VARIABLE(protected = true ) type: Real unreplaceable 50: $cse9.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 51: $cse9.d:VARIABLE(protected = true ) type: Real unreplaceable 52: perteDP3.Pm:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Fluid average pressure" type: Real 53: perteDP3.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 54: idealCheckValve3.C2.h_vol:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy in the control volume" type: Real 55: perteDP2.C2.h_vol:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy in the control volume" 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.00177/2.869, allocations: 1.334 MB / 1.009 GB, free: 4.203 MB / 0.8419 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestIdealCheckValve could not be translated