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.008503/0.008503, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.0007765/0.0007765, allocations: 86.52 kB / 25.15 MB, free: 7.469 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.0008745/0.0008745, allocations: 168.8 kB / 29.06 MB, free: 3.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 0.9604/0.9604, allocations: 177.2 MB / 210 MB, free: 3.586 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6422/0.6422, allocations: 102.5 MB / 369.5 MB, free: 388 kB / 330.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/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 1.0.0 (/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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 470 MB, free: 18.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.641e-05, allocations: 5.656 kB / 470 MB, free: 18.96 MB / 410.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.1248/0.1249, allocations: 76.05 MB / 0.5332 GB, free: 11.81 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03407/0.1589, allocations: 26.61 MB / 0.5592 GB, free: 1.125 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005655/0.1646, allocations: 142.9 kB / 0.5594 GB, free: 0.9844 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005702/0.1703, allocations: 2.966 MB / 0.5623 GB, free: 14 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.1808, allocations: 4.981 MB / 0.5671 GB, free: 8.996 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009201/0.19, allocations: 4.934 MB / 0.572 GB, free: 4.051 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01561/0.2056, allocations: 13.43 MB / 0.5851 GB, free: 6.582 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006968/0.2126, allocations: 4.264 MB / 0.5892 GB, free: 2.254 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3848/0.5974, allocations: 52.47 MB / 0.6405 GB, free: 72.36 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006915/0.6043, allocations: 4.608 MB / 0.645 GB, free: 72.36 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002323/0.6066, allocations: 0.8536 MB / 0.6458 GB, free: 72.36 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005912/0.6125, allocations: 3.089 MB / 0.6488 GB, free: 72.36 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001773/0.6143, allocations: 2.69 MB / 0.6514 GB, free: 72.36 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002673/0.617, allocations: 2.763 MB / 0.6541 GB, free: 72.36 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.6283, allocations: 9.344 MB / 0.6633 GB, free: 71.64 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.6283, allocations: 3.656 kB / 0.6633 GB, free: 71.64 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6283, allocations: 0 / 0.6633 GB, free: 71.64 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001459/0.6285, allocations: 0 / 0.6633 GB, free: 71.64 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: 1569 * Number of variables: 1569 Notification: Performance of Generate backend data structure: time 0.01074/0.6392, allocations: 10.42 MB / 0.6734 GB, free: 67.74 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.6393, allocations: 13.5 kB / 0.6735 GB, free: 67.74 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.6414, allocations: 1.309 MB / 0.6747 GB, free: 67.25 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005942/0.6474, allocations: 5.04 MB / 0.6797 GB, free: 66.09 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/0.6477, allocations: 434.4 kB / 0.6801 GB, free: 65.95 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005776/0.6483, allocations: 454.7 kB / 0.6805 GB, free: 65.95 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.6601, allocations: 10.58 MB / 0.6908 GB, free: 58.79 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.118e-05/0.6602, allocations: 41.59 kB / 0.6909 GB, free: 58.79 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003934/0.6606, allocations: 217.3 kB / 0.6911 GB, free: 58.79 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002917/0.6609, allocations: 346.5 kB / 0.6914 GB, free: 58.74 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009144/0.67, allocations: 4.955 MB / 0.6963 GB, free: 57.49 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.02506/0.6951, allocations: 49.47 MB / 0.7446 GB, free: 12.66 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008578/0.7037, allocations: 5.339 MB / 0.7498 GB, free: 10.18 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.7055, allocations: 1.459 MB / 0.7512 GB, free: 9.516 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007373/0.7062, allocations: 407.9 kB / 0.7516 GB, free: 9.391 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006715/0.7129, allocations: 4.271 MB / 0.7558 GB, free: 7.152 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=794): time 7.093e-06/0.7129, allocations: 0 / 0.7558 GB, free: 7.152 MB / 0.5418 GB Notification: Performance of matching and sorting (n=797): time 0.05822/0.7712, allocations: 40.62 MB / 0.7954 GB, free: 2.559 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006282/0.7718, allocations: 1.934 MB / 0.7973 GB, free: 180 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006862/0.7787, allocations: 4.927 MB / 0.8021 GB, free: 11.22 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.004066/0.7827, allocations: 101.7 kB / 0.8022 GB, free: 11.12 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002222/0.7849, allocations: 3.045 MB / 0.8052 GB, free: 8.074 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.002166/0.7871, allocations: 2.761 MB / 0.8079 GB, free: 5.352 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001846/0.789, allocations: 1.786 MB / 0.8096 GB, free: 3.559 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.7891, allocations: 480.8 kB / 0.8101 GB, free: 3.086 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002513/0.7916, allocations: 1.61 MB / 0.8117 GB, free: 1.461 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004794/0.7964, allocations: 6.051 MB / 0.8176 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.8069, allocations: 8.334 MB / 0.8257 GB, free: 0.5352 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-05/0.807, allocations: 16 kB / 0.8257 GB, free: 0.5195 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01288/0.8198, allocations: 7.411 MB / 0.833 GB, free: 9.52 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.8199, allocations: 36.56 kB / 0.833 GB, free: 9.484 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008222/0.8281, allocations: 5.021 MB / 0.8379 GB, free: 4.461 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0323/0.8604, allocations: 5.701 MB / 0.8435 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0058/0.8662, allocations: 2.142 MB / 0.8456 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007712/0.8739, allocations: 14.93 MB / 0.8602 GB, free: 13.38 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005226/0.8791, allocations: 369.5 kB / 0.8605 GB, free: 13.02 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/0.8802, allocations: 0.5074 MB / 0.861 GB, free: 12.52 MB / 0.6512 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.004473/0.8846, allocations: 1.805 MB / 0.8628 GB, free: 10.7 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004658/0.8893, allocations: 6.013 MB / 0.8686 GB, free: 3.059 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2943/1.184, allocations: 8.248 MB / 0.8767 GB, free: 171.2 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.482e-05/1.184, allocations: 17.69 kB / 0.8767 GB, free: 171.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01229/1.196, allocations: 7.227 MB / 0.8838 GB, free: 170.9 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/1.196, allocations: 35.11 kB / 0.8838 GB, free: 170.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008104/1.204, allocations: 4.829 MB / 0.8885 GB, free: 170.7 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01166/1.216, allocations: 2.228 MB / 0.8907 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005671/1.221, allocations: 2.136 MB / 0.8928 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00541/1.227, allocations: 14.87 MB / 0.9073 GB, free: 156.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004668/1.231, allocations: 380.6 kB / 0.9077 GB, free: 156.5 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000866/1.232, allocations: 0.5024 MB / 0.9082 GB, free: 156.5 MB / 0.6512 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.002346/1.235, allocations: 0.7724 MB / 0.9089 GB, free: 156.2 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002272/1.237, allocations: 0.8304 MB / 0.9097 GB, free: 156.2 MB / 0.6512 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.01157/1.248, allocations: 8.22 MB / 0.9177 GB, free: 155.7 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.9982135659083724]