Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.00627/0.00627, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.0862/0.0862, allocations: 18.25 MB / 42.2 MB, free: 5.195 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009923/0.0009923, allocations: 96.05 kB / 53.07 MB, free: 6.512 MB / 44.04 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 162.5 kB / 64.03 MB, free: 10.21 MB / 58.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9018/0.9018, allocations: 177.2 MB / 252.1 MB, free: 11.78 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.5121/0.5121, allocations: 102.6 MB / 418.7 MB, free: 5.297 MB / 362.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_BU_simple",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_BU_simple",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.603 GB, free: 344 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.062e-05, allocations: 6.281 kB / 0.603 GB, free: 336 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple): time 0.01811/0.01813, allocations: 24.43 MB / 0.6269 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03234/0.05047, allocations: 26.09 MB / 0.6524 GB, free: 13.62 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005965/0.05643, allocations: 146.9 kB / 0.6525 GB, free: 13.48 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.006699/0.06313, allocations: 2.968 MB / 0.6554 GB, free: 10.5 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.07403, allocations: 5.162 MB / 0.6604 GB, free: 5.309 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.009276/0.08331, allocations: 5.137 MB / 0.6655 GB, free: 180 kB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2771/0.3604, allocations: 14.31 MB / 0.6794 GB, free: 18.93 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007162/0.3675, allocations: 4.404 MB / 0.6837 GB, free: 18.51 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01737/0.3849, allocations: 7.64 MB / 0.6912 GB, free: 17.89 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/0.395, allocations: 5.057 MB / 0.6961 GB, free: 17.13 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.003852/0.3989, allocations: 0.9753 MB / 0.6971 GB, free: 17.13 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009413/0.4083, allocations: 3.222 MB / 0.7002 GB, free: 16.67 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.005012/0.4133, allocations: 3.159 MB / 0.7033 GB, free: 15.02 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.007889/0.4212, allocations: 3.173 MB / 0.7064 GB, free: 13.52 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01907/0.4402, allocations: 15.91 MB / 0.722 GB, free: 4.957 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4402, allocations: 0 / 0.722 GB, free: 4.957 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4402, allocations: 4.188 kB / 0.722 GB, free: 4.957 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004815/0.4407, allocations: 3.984 kB / 0.722 GB, free: 4.953 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1685 * Number of variables: 1685 Notification: Performance of Generate backend data structure: time 0.02073/0.4615, allocations: 11.16 MB / 0.7329 GB, free: 13.32 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4615, allocations: 10.59 kB / 0.7329 GB, free: 13.32 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001185/0.4627, allocations: 0.7919 MB / 0.7336 GB, free: 12.74 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.4652, allocations: 1.126 MB / 0.7347 GB, free: 12.11 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/0.4775, allocations: 7.666 MB / 0.7422 GB, free: 5.746 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/0.4778, allocations: 455.5 kB / 0.7427 GB, free: 5.281 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005999/0.4784, allocations: 438.6 kB / 0.7431 GB, free: 4.863 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/0.4964, allocations: 13.6 MB / 0.7564 GB, free: 5.785 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.533e-05/0.4965, allocations: 43.38 kB / 0.7564 GB, free: 5.77 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007478/0.4973, allocations: 224.7 kB / 0.7566 GB, free: 5.559 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003292/0.4976, allocations: 423.1 kB / 0.757 GB, free: 5.145 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/0.5146, allocations: 9.691 MB / 0.7665 GB, free: 11.68 MB / 0.5887 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.04666/0.5613, allocations: 43.2 MB / 0.8087 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/0.5748, allocations: 7.971 MB / 0.8165 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004973/0.5797, allocations: 3.087 MB / 0.8195 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009906/0.5807, allocations: 401.8 kB / 0.8199 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01071/0.5914, allocations: 6.318 MB / 0.826 GB, free: 13.66 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002339/0.5938, allocations: 0.5692 MB / 0.8266 GB, free: 13.08 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=833): time 1.3e-05/0.5938, allocations: 0 / 0.8266 GB, free: 13.08 MB / 0.6512 GB Notification: Performance of matching and sorting (n=834): time 0.06354/0.6573, allocations: 52.79 MB / 0.8781 GB, free: 7.973 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000481/0.6578, allocations: 1.769 MB / 0.8799 GB, free: 5.797 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009202/0.667, allocations: 6.951 MB / 0.8866 GB, free: 14.86 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.001385/0.6684, allocations: 101.7 kB / 0.8867 GB, free: 14.76 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002431/0.6708, allocations: 3.162 MB / 0.8898 GB, free: 11.6 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.003446/0.6743, allocations: 2.825 MB / 0.8926 GB, free: 8.816 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002341/0.6766, allocations: 1.795 MB / 0.8943 GB, free: 7.008 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.6767, allocations: 301.1 kB / 0.8946 GB, free: 6.711 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005381/0.6821, allocations: 4.041 MB / 0.8986 GB, free: 2.652 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007724/0.6898, allocations: 7.603 MB / 0.906 GB, free: 9.723 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4127/1.102, allocations: 52.03 MB / 0.9568 GB, free: 255 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.559e-05/1.102, allocations: 20.22 kB / 0.9568 GB, free: 255 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02085/1.123, allocations: 12.35 MB / 0.9689 GB, free: 250.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/1.123, allocations: 40.11 kB / 0.9689 GB, free: 250.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01487/1.138, allocations: 9.469 MB / 0.9782 GB, free: 246.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02251/1.161, allocations: 3.896 MB / 0.982 GB, free: 246.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006268/1.167, allocations: 2.399 MB / 0.9843 GB, free: 246.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006963/1.174, allocations: 13.33 MB / 0.9973 GB, free: 234.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005813/1.18, allocations: 0.5088 MB / 0.9978 GB, free: 234.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001422/1.181, allocations: 0.5471 MB / 0.9984 GB, free: 234.3 MB / 0.7605 GB Warning: Assuming fixed start value for the following 6 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hex.shell.h_liq:VARIABLE(start = hex.shell.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real hex.shell.h_vap:VARIABLE(start = hex.shell.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real hex.shell.p_vap:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007701/1.189, allocations: 5.711 MB / 1.004 GB, free: 231.8 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005286/1.194, allocations: 7.534 MB / 1.011 GB, free: 225.8 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1579/1.352, allocations: 49.78 MB / 1.06 GB, free: 179.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.78e-05/1.352, allocations: 23.98 kB / 1.06 GB, free: 179.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.0155/1.368, allocations: 11.95 MB / 1.072 GB, free: 167.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/1.368, allocations: 40.03 kB / 1.072 GB, free: 167.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01066/1.378, allocations: 9.062 MB / 1.08 GB, free: 158.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/1.38, allocations: 0.6581 MB / 1.081 GB, free: 158.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006069/1.386, allocations: 2.398 MB / 1.083 GB, free: 155.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006661/1.392, allocations: 14.24 MB / 1.097 GB, free: 140.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005675/1.398, allocations: 0.5158 MB / 1.098 GB, free: 140.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001367/1.399, allocations: 0.5348 MB / 1.098 GB, free: 139.6 MB / 0.7605 GB Warning: Assuming fixed start value for the following 6 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hex.shell.h_liq:VARIABLE(start = hex.shell.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real hex.shell.h_vap:VARIABLE(start = hex.shell.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real hex.shell.p_vap:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.PI.time_lag_I_activation.entryTime,$PRE.PI.switch_OnOff.u2,PI.I_activation.y,PI.time_lag_I_activation.entryTime,PI.switch_OnOff.u2,$whenCondition1,$whenCondition2,valve_shell1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1154): * Single equations (assignments): 1145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,3,87.5%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002133/1.401, allocations: 0.7307 MB / 1.099 GB, free: 138.9 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001935/1.403, allocations: 0.7861 MB / 1.1 GB, free: 138.4 MB / 0.7605 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 1268 equation(s) and 1214 variable(s). Error: ($cse509, $cse510, $cse511, $cse512, $cse513, $cse514, $cse515, $cse516, $cse517, $cse518, $cse519, $cse520) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(massFlowSource_h1.steam_a.p, -1.0, {}, massFlowSource_h1.fluidOut.vleFluidPointer) has size 12 but 3 variables (hex.shell.Q_flow[2], hex.shell.heattransfer.Q_flow_tot, hex.shell.summary.outline.Q_flow[2]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/1.415, allocations: 10.68 MB / 1.11 GB, free: 127.9 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.1648019393906]