Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01269/0.01269, allocations: 1.447 MB / 20.8 MB, free: 3.594 MB / 18.57 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.007485/0.007485, allocations: 76.38 kB / 24.44 MB, free: 7.566 MB / 18.57 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.001548/0.001548, allocations: 157.1 kB / 28.2 MB, free: 4.668 MB / 18.57 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 1.429/1.429, allocations: 177.2 MB / 209 MB, free: 2.793 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.132/1.132, allocations: 102.5 MB / 368.4 MB, free: 1.297 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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 SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50011,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.level_abs_|hex.shell.p_liq|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50011,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.level_abs_|hex.shell.p_liq|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 468.3 MB, free: 13.5 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.802e-05/4.004e-05, allocations: 2.312 kB / 468.3 MB, free: 13.5 MB / 442.8 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff): time 0.4456/0.4456, allocations: 70.44 MB / 0.5261 GB, free: 71.24 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03738/0.483, allocations: 25.54 MB / 0.5511 GB, free: 54.73 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008325/0.4913, allocations: 140.3 kB / 0.5512 GB, free: 54.67 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.009019/0.5003, allocations: 2.961 MB / 0.5541 GB, free: 53.29 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01714/0.5175, allocations: 4.95 MB / 0.5589 GB, free: 50.32 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01319/0.5307, allocations: 4.94 MB / 0.5638 GB, free: 47.66 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02209/0.5528, allocations: 13.41 MB / 0.5769 GB, free: 40.21 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008041/0.5608, allocations: 4.265 MB / 0.581 GB, free: 36.98 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01729/0.5781, allocations: 7.176 MB / 0.588 GB, free: 31.7 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009799/0.5879, allocations: 4.728 MB / 0.5927 GB, free: 26.96 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003365/0.5913, allocations: 0.9023 MB / 0.5935 GB, free: 26.06 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09654/0.6878, allocations: 18.6 MB / 0.6117 GB, free: 9.449 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005077/0.6929, allocations: 2.815 MB / 0.6144 GB, free: 6.625 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007797/0.7007, allocations: 2.86 MB / 0.6172 GB, free: 3.758 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03218/0.7329, allocations: 14.58 MB / 0.6315 GB, free: 5.133 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.7329, allocations: 4 kB / 0.6315 GB, free: 5.129 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7329, allocations: 0 / 0.6315 GB, free: 5.129 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0005087/0.7334, allocations: 0 / 0.6315 GB, free: 5.129 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1569 * Number of variables: 1569 Notification: Performance of Generate backend data structure: time 0.04387/0.7773, allocations: 9.993 MB / 0.6412 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.7773, allocations: 12.03 kB / 0.6413 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.7876, allocations: 1.38 MB / 0.6426 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02602/0.8136, allocations: 6.77 MB / 0.6492 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008601/0.8145, allocations: 435.2 kB / 0.6496 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002612/0.8171, allocations: 455.9 kB / 0.6501 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03748/0.8546, allocations: 12.67 MB / 0.6624 GB, free: 3.742 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003483/0.8549, allocations: 47.56 kB / 0.6625 GB, free: 3.695 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002433/0.8574, allocations: 208 kB / 0.6627 GB, free: 3.492 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007119/0.8581, allocations: 346.6 kB / 0.663 GB, free: 3.152 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0324/0.8905, allocations: 9.029 MB / 0.6718 GB, free: 10.12 MB / 0.5418 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.08935/0.9798, allocations: 39.9 MB / 0.7108 GB, free: 1.125 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02491/1.005, allocations: 7.44 MB / 0.7181 GB, free: 9.535 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008354/1.013, allocations: 2.886 MB / 0.7209 GB, free: 6.578 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002173/1.015, allocations: 415.5 kB / 0.7213 GB, free: 6.176 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02141/1.037, allocations: 5.994 MB / 0.7271 GB, free: 36 kB / 0.5887 GB Notification: Performance of pre-optimization done (n=794): time 1.993e-05/1.037, allocations: 0 / 0.7271 GB, free: 36 kB / 0.5887 GB Notification: Performance of matching and sorting (n=797): time 0.3383/1.375, allocations: 49.3 MB / 0.7753 GB, free: 170.9 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004204/1.375, allocations: 1.633 MB / 0.7769 GB, free: 168.9 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/1.386, allocations: 5.589 MB / 0.7823 GB, free: 166.8 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001732/1.387, allocations: 100.6 kB / 0.7824 GB, free: 166.8 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002353/1.39, allocations: 2.852 MB / 0.7852 GB, free: 164.8 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003779/1.394, allocations: 2.699 MB / 0.7878 GB, free: 163 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003601/1.397, allocations: 1.666 MB / 0.7895 GB, free: 162.4 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/1.397, allocations: 301.1 kB / 0.7897 GB, free: 162.1 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006875/1.404, allocations: 3.787 MB / 0.7934 GB, free: 160.4 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009114/1.413, allocations: 6.894 MB / 0.8002 GB, free: 155 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3746/1.788, allocations: 53.51 MB / 0.8524 GB, free: 112.8 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/1.788, allocations: 19.94 kB / 0.8524 GB, free: 112.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.0305/1.818, allocations: 11.74 MB / 0.8639 GB, free: 100.9 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/1.818, allocations: 32 kB / 0.8639 GB, free: 100.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02583/1.844, allocations: 9.092 MB / 0.8728 GB, free: 91.77 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06726/1.912, allocations: 5.847 MB / 0.8785 GB, free: 85.93 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009097/1.921, allocations: 2.18 MB / 0.8807 GB, free: 83.74 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/1.931, allocations: 12.25 MB / 0.8926 GB, free: 70.82 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00866/1.94, allocations: 417.6 kB / 0.893 GB, free: 70.44 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00263/1.942, allocations: 0.5035 MB / 0.8935 GB, free: 69.93 MB / 0.6043 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.01378/1.956, allocations: 5.278 MB / 0.8987 GB, free: 64.65 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01026/1.966, allocations: 6.84 MB / 0.9053 GB, free: 56.62 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3172/2.283, allocations: 48.69 MB / 0.9529 GB, free: 7.008 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.761e-05/2.283, allocations: 20 kB / 0.9529 GB, free: 6.988 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.03168/2.315, allocations: 11.52 MB / 0.9642 GB, free: 11.41 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-05/2.315, allocations: 34.19 kB / 0.9642 GB, free: 11.38 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2783/2.594, allocations: 8.847 MB / 0.9728 GB, free: 197.6 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02498/2.619, allocations: 2.416 MB / 0.9752 GB, free: 197.5 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008861/2.627, allocations: 2.174 MB / 0.9773 GB, free: 197.4 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009613/2.637, allocations: 12.15 MB / 0.9892 GB, free: 186.7 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007287/2.644, allocations: 413 kB / 0.9896 GB, free: 186.5 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001993/2.646, allocations: 0.5026 MB / 0.9901 GB, free: 186.4 MB / 0.6199 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: 280 * 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 (1063): * Single equations (assignments): 1053 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 6 * 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): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(4,5), (1,1), (1,1), (1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002686/2.649, allocations: 0.6844 MB / 0.9907 GB, free: 185.9 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00292/2.652, allocations: 0.8312 MB / 0.9916 GB, free: 185.9 MB / 0.6199 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 1203 equation(s) and 1152 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02322/2.675, allocations: 9.795 MB / 1.001 GB, free: 182.9 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.305993898073211]