Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01235/0.01235, 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.008419/0.008419, allocations: 77.55 kB / 24.44 MB, free: 7.562 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.001722/0.001722, allocations: 172 kB / 28.2 MB, free: 4.664 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.481/1.481, allocations: 177.1 MB / 209 MB, free: 2.82 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.136/1.136, allocations: 102.5 MB / 368.3 MB, free: 1.273 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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 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_dev_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_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 468.3 MB, free: 13.47 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.415e-05, allocations: 2.312 kB / 468.3 MB, free: 13.47 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.4696/0.4696, allocations: 70.43 MB / 0.5261 GB, free: 71.33 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03826/0.5079, allocations: 25.55 MB / 0.5511 GB, free: 54.83 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007914/0.5158, allocations: 144.2 kB / 0.5512 GB, free: 54.77 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.009538/0.5253, allocations: 2.949 MB / 0.5541 GB, free: 53.39 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01807/0.5434, allocations: 4.963 MB / 0.5589 GB, free: 50.42 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01452/0.5579, allocations: 4.934 MB / 0.5637 GB, free: 47.76 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02392/0.5819, allocations: 13.41 MB / 0.5768 GB, free: 40.36 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009633/0.5915, allocations: 4.259 MB / 0.581 GB, free: 37.14 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01766/0.6091, allocations: 7.18 MB / 0.588 GB, free: 31.8 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009682/0.6188, allocations: 4.725 MB / 0.5926 GB, free: 27.07 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00384/0.6227, allocations: 0.9023 MB / 0.5935 GB, free: 26.17 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09617/0.7188, allocations: 18.6 MB / 0.6117 GB, free: 9.543 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00507/0.7239, allocations: 2.807 MB / 0.6144 GB, free: 6.727 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00889/0.7328, allocations: 2.86 MB / 0.6172 GB, free: 3.859 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0309/0.7637, allocations: 14.59 MB / 0.6315 GB, free: 5.234 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.7637, allocations: 0 / 0.6315 GB, free: 5.234 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7637, allocations: 0 / 0.6315 GB, free: 5.234 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0005036/0.7642, allocations: 0 / 0.6315 GB, free: 5.234 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.03352/0.7977, allocations: 10 MB / 0.6412 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.7978, allocations: 8.031 kB / 0.6412 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00732/0.8051, allocations: 1.388 MB / 0.6426 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0171/0.8222, allocations: 6.761 MB / 0.6492 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007789/0.823, allocations: 433.9 kB / 0.6496 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002473/0.8255, allocations: 455.9 kB / 0.65 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0336/0.8591, allocations: 12.67 MB / 0.6624 GB, free: 3.84 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.8592, allocations: 39.62 kB / 0.6624 GB, free: 3.801 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001297/0.8605, allocations: 208 kB / 0.6626 GB, free: 3.598 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005641/0.8611, allocations: 354.6 kB / 0.663 GB, free: 3.25 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02786/0.889, allocations: 9.029 MB / 0.6718 GB, free: 10.22 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.06859/0.9575, allocations: 39.9 MB / 0.7108 GB, free: 1.219 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02292/0.9805, allocations: 7.43 MB / 0.718 GB, free: 9.637 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007379/0.9878, allocations: 2.886 MB / 0.7208 GB, free: 6.68 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001908/0.9898, allocations: 418.2 kB / 0.7212 GB, free: 6.277 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02009/1.01, allocations: 5.994 MB / 0.7271 GB, free: 140 kB / 0.5887 GB Notification: Performance of pre-optimization done (n=794): time 1.879e-05/1.01, allocations: 0 / 0.7271 GB, free: 140 kB / 0.5887 GB Notification: Performance of matching and sorting (n=797): time 0.3371/1.347, allocations: 49.3 MB / 0.7752 GB, free: 172.8 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003797/1.347, allocations: 1.632 MB / 0.7768 GB, free: 170.8 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00914/1.357, allocations: 5.59 MB / 0.7823 GB, free: 168.8 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001517/1.358, allocations: 97.86 kB / 0.7824 GB, free: 168.7 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/1.36, allocations: 2.847 MB / 0.7852 GB, free: 166.6 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.002948/1.363, allocations: 2.705 MB / 0.7878 GB, free: 164.5 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002991/1.366, allocations: 1.667 MB / 0.7894 GB, free: 163.9 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/1.366, allocations: 305.6 kB / 0.7897 GB, free: 163.6 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006855/1.373, allocations: 3.782 MB / 0.7934 GB, free: 162 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009092/1.382, allocations: 6.893 MB / 0.8002 GB, free: 156.6 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3651/1.747, allocations: 53.5 MB / 0.8524 GB, free: 114.7 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-05/1.747, allocations: 23.94 kB / 0.8524 GB, free: 114.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02808/1.775, allocations: 11.74 MB / 0.8639 GB, free: 102.8 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.009e-05/1.775, allocations: 35.94 kB / 0.8639 GB, free: 102.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02015/1.796, allocations: 9.102 MB / 0.8728 GB, free: 93.66 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06809/1.864, allocations: 5.843 MB / 0.8785 GB, free: 87.82 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009359/1.873, allocations: 2.185 MB / 0.8806 GB, free: 85.63 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009415/1.882, allocations: 12.24 MB / 0.8926 GB, free: 72.71 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007356/1.89, allocations: 411.8 kB / 0.893 GB, free: 72.31 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001913/1.892, allocations: 0.5114 MB / 0.8935 GB, free: 71.8 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.01131/1.903, allocations: 5.276 MB / 0.8987 GB, free: 66.52 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00906/1.912, allocations: 6.843 MB / 0.9053 GB, free: 58.49 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3076/2.22, allocations: 48.69 MB / 0.9529 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.18e-05/2.22, allocations: 22.66 kB / 0.9529 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.03229/2.252, allocations: 11.52 MB / 0.9642 GB, free: 13.28 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 8.363e-05/2.252, allocations: 28 kB / 0.9642 GB, free: 13.25 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3362/2.588, allocations: 8.841 MB / 0.9728 GB, free: 198.7 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02309/2.611, allocations: 2.428 MB / 0.9752 GB, free: 198.7 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009018/2.62, allocations: 2.166 MB / 0.9773 GB, free: 198.6 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009697/2.63, allocations: 12.16 MB / 0.9892 GB, free: 188.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008147/2.638, allocations: 413.4 kB / 0.9896 GB, free: 188.4 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002495/2.641, allocations: 0.5015 MB / 0.9901 GB, free: 188.3 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.003979/2.645, allocations: 0.6806 MB / 0.9907 GB, free: 187.8 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005013/2.65, allocations: 0.8256 MB / 0.9915 GB, free: 187.8 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.02772/2.678, allocations: 9.8 MB / 1.001 GB, free: 184.8 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.390437453053892]