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.008333/0.008333, 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.0007652/0.0007652, allocations: 78.2 kB / 26.19 MB, free: 6.078 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.0008634/0.0008634, allocations: 168.6 kB / 30.12 MB, free: 2.184 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.9822/0.9822, allocations: 177.1 MB / 211.1 MB, free: 3.469 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.6271/0.6271, allocations: 102.5 MB / 370.6 MB, free: 272 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.763e-06/1.763e-06, allocations: 0 / 471.3 MB, free: 18.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.677e-05, allocations: 2.859 kB / 471.3 MB, free: 18.76 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.1168/0.1168, allocations: 75.37 MB / 0.5338 GB, free: 12.21 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03294/0.1498, allocations: 26.45 MB / 0.5596 GB, free: 1.691 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004689/0.1544, allocations: 142.9 kB / 0.5598 GB, free: 1.551 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005227/0.1597, allocations: 2.962 MB / 0.5627 GB, free: 14.57 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009776/0.1694, allocations: 4.975 MB / 0.5675 GB, free: 9.57 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009519/0.179, allocations: 4.95 MB / 0.5724 GB, free: 4.609 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01518/0.1941, allocations: 13.41 MB / 0.5855 GB, free: 7.156 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005708/0.1999, allocations: 4.256 MB / 0.5896 GB, free: 2.836 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.362/0.5618, allocations: 52.46 MB / 0.6409 GB, free: 72.67 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007786/0.5696, allocations: 4.604 MB / 0.6454 GB, free: 72.67 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002624/0.5722, allocations: 0.8483 MB / 0.6462 GB, free: 72.67 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006348/0.5786, allocations: 3.086 MB / 0.6492 GB, free: 72.67 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002207/0.5808, allocations: 2.689 MB / 0.6518 GB, free: 72.67 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.004597/0.5854, allocations: 2.769 MB / 0.6545 GB, free: 72.67 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01338/0.5988, allocations: 9.346 MB / 0.6636 GB, free: 71.96 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.5988, allocations: 0 / 0.6636 GB, free: 71.96 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5988, allocations: 2.656 kB / 0.6637 GB, free: 71.96 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001986/0.599, allocations: 0 / 0.6637 GB, free: 71.96 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.01122/0.6102, allocations: 10.52 MB / 0.6739 GB, free: 68.06 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.6102, allocations: 9.312 kB / 0.6739 GB, free: 68.06 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.6125, allocations: 1.305 MB / 0.6752 GB, free: 67.56 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005427/0.6179, allocations: 4.895 MB / 0.68 GB, free: 66.4 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.6182, allocations: 437.2 kB / 0.6804 GB, free: 66.27 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005937/0.6188, allocations: 453.5 kB / 0.6808 GB, free: 66.26 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.6298, allocations: 10.17 MB / 0.6908 GB, free: 59.3 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-05/0.6299, allocations: 43.56 kB / 0.6908 GB, free: 59.3 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004448/0.6304, allocations: 209.1 kB / 0.691 GB, free: 59.3 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003397/0.6307, allocations: 352.2 kB / 0.6913 GB, free: 59.26 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008428/0.6391, allocations: 4.367 MB / 0.6956 GB, free: 57.97 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.02917/0.6683, allocations: 48.38 MB / 0.7429 GB, free: 15.9 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008718/0.677, allocations: 4.955 MB / 0.7477 GB, free: 13.66 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.6787, allocations: 1.256 MB / 0.7489 GB, free: 13.11 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007707/0.6794, allocations: 397.5 kB / 0.7493 GB, free: 13 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00628/0.6857, allocations: 4.043 MB / 0.7533 GB, free: 11.09 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=794): time 8.426e-06/0.6857, allocations: 2.406 kB / 0.7533 GB, free: 11.09 MB / 0.5418 GB Notification: Performance of matching and sorting (n=797): time 0.03495/0.7207, allocations: 14.36 MB / 0.7673 GB, free: 2.281 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002994/0.721, allocations: 1.941 MB / 0.7692 GB, free: 15.89 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005032/0.726, allocations: 4.834 MB / 0.7739 GB, free: 11.83 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0007535/0.7267, allocations: 100.4 kB / 0.774 GB, free: 11.73 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.002152/0.7289, allocations: 3.086 MB / 0.777 GB, free: 8.852 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002428/0.7313, allocations: 2.795 MB / 0.7797 GB, free: 6.223 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002008/0.7333, allocations: 1.811 MB / 0.7815 GB, free: 4.57 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7335, allocations: 480.8 kB / 0.782 GB, free: 4.098 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/0.7355, allocations: 1.282 MB / 0.7832 GB, free: 2.801 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004019/0.7395, allocations: 5.769 MB / 0.7888 GB, free: 11.59 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008408/0.7479, allocations: 7.478 MB / 0.7962 GB, free: 3.395 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.161e-05/0.748, allocations: 18.66 kB / 0.7962 GB, free: 3.379 MB / 0.573 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01122/0.7592, allocations: 6.707 MB / 0.8027 GB, free: 13.09 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 5.544e-05/0.7592, allocations: 35.94 kB / 0.8028 GB, free: 13.05 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007091/0.7663, allocations: 4.434 MB / 0.8071 GB, free: 8.621 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03344/0.7998, allocations: 5.698 MB / 0.8126 GB, free: 3.227 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005763/0.8055, allocations: 2.121 MB / 0.8147 GB, free: 1.23 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007584/0.8131, allocations: 14.75 MB / 0.8291 GB, free: 1.848 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005178/0.8183, allocations: 349.4 kB / 0.8295 GB, free: 1.512 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006663/0.819, allocations: 447.6 kB / 0.8299 GB, free: 1.074 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.0037/0.8227, allocations: 1.49 MB / 0.8313 GB, free: 15.58 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003874/0.8265, allocations: 5.737 MB / 0.8369 GB, free: 8.41 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007636/0.8342, allocations: 7.404 MB / 0.8442 GB, free: 296 kB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.235e-05/0.8342, allocations: 16 kB / 0.8442 GB, free: 280 kB / 0.6199 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01237/0.8466, allocations: 6.544 MB / 0.8506 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.8466, allocations: 32 kB / 0.8506 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006782/0.8534, allocations: 4.267 MB / 0.8548 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/0.8651, allocations: 2.218 MB / 0.8569 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005179/0.8703, allocations: 2.117 MB / 0.859 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007348/0.8776, allocations: 14.71 MB / 0.8734 GB, free: 2.391 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00502/0.8826, allocations: 352.3 kB / 0.8737 GB, free: 2.051 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007314/0.8834, allocations: 447.6 kB / 0.8741 GB, free: 1.613 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 (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.002239/0.8856, allocations: 0.7631 MB / 0.8749 GB, free: 0.9766 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001839/0.8874, allocations: 0.8307 MB / 0.8757 GB, free: 148 kB / 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.2662/1.154, allocations: 7.963 MB / 0.8835 GB, free: 177 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.834947134833783]