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.01371/0.01371, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.001529/0.001529, allocations: 81.44 kB / 26.19 MB, free: 6.074 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.001734/0.001734, allocations: 169.9 kB / 30.12 MB, free: 2.18 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.026/1.026, allocations: 177.2 MB / 211.1 MB, free: 2.277 MB / 186.7 MB " [Timeout remaining time 179] 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 0.745/0.745, allocations: 102.4 MB / 370.6 MB, free: 0.7656 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 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_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.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 471.2 MB, free: 12.29 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.442e-05, allocations: 8.984 kB / 471.3 MB, free: 12.29 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.3173/0.3173, allocations: 75.34 MB / 0.5338 GB, free: 69.09 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02791/0.3452, allocations: 26.46 MB / 0.5596 GB, free: 50.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004939/0.3502, allocations: 143.6 kB / 0.5598 GB, free: 50.91 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007927/0.3581, allocations: 2.961 MB / 0.5626 GB, free: 49.53 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01477/0.3728, allocations: 4.988 MB / 0.5675 GB, free: 46.54 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009384/0.3822, allocations: 4.943 MB / 0.5723 GB, free: 43.55 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01594/0.3982, allocations: 13.4 MB / 0.5854 GB, free: 35.52 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005713/0.4039, allocations: 4.258 MB / 0.5896 GB, free: 32.29 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.151/0.5549, allocations: 52.47 MB / 0.6408 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008992/0.5639, allocations: 4.602 MB / 0.6453 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002144/0.5661, allocations: 0.8515 MB / 0.6462 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007155/0.5732, allocations: 3.08 MB / 0.6492 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002083/0.5753, allocations: 2.69 MB / 0.6518 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003385/0.5787, allocations: 2.765 MB / 0.6545 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.5909, allocations: 9.343 MB / 0.6636 GB, free: 7.172 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5909, allocations: 0 / 0.6636 GB, free: 7.172 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5909, allocations: 0 / 0.6636 GB, free: 7.172 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001182/0.591, allocations: 2.688 kB / 0.6636 GB, free: 7.172 MB / 0.5262 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.01206/0.6031, allocations: 10.52 MB / 0.6739 GB, free: 12.55 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6031, allocations: 12.03 kB / 0.6739 GB, free: 12.54 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.605, allocations: 1.306 MB / 0.6752 GB, free: 11.23 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005462/0.6104, allocations: 4.892 MB / 0.68 GB, free: 6.258 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/0.6107, allocations: 431.2 kB / 0.6804 GB, free: 5.809 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000512/0.6112, allocations: 459.9 kB / 0.6808 GB, free: 5.359 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.6221, allocations: 10.17 MB / 0.6907 GB, free: 9.266 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.207e-05/0.6221, allocations: 39.62 kB / 0.6908 GB, free: 9.227 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003837/0.6225, allocations: 208 kB / 0.691 GB, free: 9.023 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005125/0.623, allocations: 354.6 kB / 0.6913 GB, free: 8.676 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007556/0.6306, allocations: 4.373 MB / 0.6956 GB, free: 4.309 MB / 0.5574 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.03338/0.664, allocations: 48.4 MB / 0.7429 GB, free: 2.453 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2401/0.9041, allocations: 4.943 MB / 0.7477 GB, free: 152.2 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002276/0.9063, allocations: 1.25 MB / 0.7489 GB, free: 151.9 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008735/0.9072, allocations: 400.9 kB / 0.7493 GB, free: 151.8 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008274/0.9155, allocations: 4.045 MB / 0.7532 GB, free: 151.2 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=794): time 1.267e-05/0.9155, allocations: 0 / 0.7532 GB, free: 151.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=797): time 0.04147/0.957, allocations: 14.36 MB / 0.7673 GB, free: 150.4 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003221/0.9573, allocations: 1.931 MB / 0.7692 GB, free: 148.1 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00536/0.9627, allocations: 4.833 MB / 0.7739 GB, free: 147.5 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001453/0.9641, allocations: 109.1 kB / 0.774 GB, free: 147.5 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001744/0.9658, allocations: 3.083 MB / 0.777 GB, free: 146.5 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.002541/0.9684, allocations: 2.798 MB / 0.7797 GB, free: 145 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002176/0.9706, allocations: 1.813 MB / 0.7815 GB, free: 144.9 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.9706, allocations: 477.3 kB / 0.7819 GB, free: 144.4 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.9725, allocations: 1.289 MB / 0.7832 GB, free: 144.4 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/0.9755, allocations: 5.757 MB / 0.7888 GB, free: 139 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006904/0.9824, allocations: 7.486 MB / 0.7961 GB, free: 133.5 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.973e-05/0.9825, allocations: 24.59 kB / 0.7962 GB, free: 133.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01024/0.9927, allocations: 6.701 MB / 0.8027 GB, free: 127.7 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.9928, allocations: 32 kB / 0.8027 GB, free: 127.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006403/0.9992, allocations: 4.444 MB / 0.8071 GB, free: 123.8 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03282/1.032, allocations: 5.693 MB / 0.8126 GB, free: 118.4 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005269/1.037, allocations: 2.121 MB / 0.8147 GB, free: 116.5 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005401/1.043, allocations: 14.75 MB / 0.8291 GB, free: 101.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005328/1.048, allocations: 350.2 kB / 0.8294 GB, free: 101.2 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008695/1.049, allocations: 463.6 kB / 0.8299 GB, free: 100.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.003602/1.052, allocations: 1.477 MB / 0.8313 GB, free: 99.44 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002832/1.055, allocations: 5.73 MB / 0.8369 GB, free: 92.38 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006595/1.062, allocations: 7.406 MB / 0.8442 GB, free: 85.01 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.198e-05/1.062, allocations: 16 kB / 0.8442 GB, free: 84.99 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.009728/1.072, allocations: 6.542 MB / 0.8506 GB, free: 79.43 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/1.072, allocations: 32 kB / 0.8506 GB, free: 79.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005761/1.077, allocations: 4.272 MB / 0.8548 GB, free: 75.63 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01192/1.089, allocations: 2.231 MB / 0.8569 GB, free: 73.55 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005414/1.095, allocations: 2.111 MB / 0.859 GB, free: 71.62 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005037/1.1, allocations: 14.7 MB / 0.8734 GB, free: 56.57 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005075/1.105, allocations: 359.7 kB / 0.8737 GB, free: 56.36 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/1.106, allocations: 446.8 kB / 0.8741 GB, free: 55.96 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: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 280 * Number of states: 0 () * Number of discrete variables: 8 (valve_shell1.pressureLoss.normIsValid,$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) * 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.002135/1.108, allocations: 0.7619 MB / 0.8749 GB, free: 55.33 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00203/1.11, allocations: 0.8311 MB / 0.8757 GB, free: 54.5 MB / 0.6043 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.00981/1.12, allocations: 7.964 MB / 0.8835 GB, free: 47.5 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.136317975819111]