Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple.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.01246/0.01246, allocations: 1.348 MB / 20.45 MB, free: 1.25 MB / 14.72 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.001639/0.001639, allocations: 79.25 kB / 24.02 MB, free: 2.586 MB / 14.72 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.002112/0.002112, allocations: 154.5 kB / 27.71 MB, free: 3.844 MB / 19.63 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.5/1.5, allocations: 177.1 MB / 208.4 MB, free: 7.672 MB / 190.1 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.013/1.013, allocations: 102.5 MB / 367.8 MB, free: 4.586 MB / 334.1 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.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,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.p_vap|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_CU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,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.p_vap|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_CU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.5365 GB, free: 7.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.455e-05, allocations: 2.281 kB / 0.5365 GB, free: 7.094 MB / 446.1 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_CU_simple): time 0.1942/0.1942, allocations: 71.85 MB / 0.6066 GB, free: 1.723 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.055/0.2492, allocations: 24.98 MB / 0.631 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00758/0.2568, allocations: 158.9 kB / 0.6312 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0122/0.269, allocations: 3.151 MB / 0.6343 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01889/0.2879, allocations: 5.06 MB / 0.6392 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01559/0.3035, allocations: 4.993 MB / 0.6441 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02653/0.33, allocations: 14.23 MB / 0.658 GB, free: 12.97 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01112/0.3411, allocations: 4.419 MB / 0.6623 GB, free: 8.477 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02331/0.3645, allocations: 7.69 MB / 0.6698 GB, free: 0.7695 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01325/0.3777, allocations: 5.095 MB / 0.6748 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.00508/0.3828, allocations: 0.9375 MB / 0.6757 GB, free: 10.72 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01216/0.3949, allocations: 2.819 MB / 0.6784 GB, free: 7.898 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.007514/0.4024, allocations: 3.064 MB / 0.6814 GB, free: 4.824 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0117/0.4141, allocations: 3.055 MB / 0.6844 GB, free: 1.762 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.4258/0.84, allocations: 14.84 MB / 0.6989 GB, free: 43.88 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.84, allocations: 3.531 kB / 0.6989 GB, free: 43.88 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.573e-06/0.84, allocations: 0.5312 kB / 0.6989 GB, free: 43.88 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0006185/0.8406, allocations: 0 / 0.6989 GB, free: 43.88 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.04153/0.8821, allocations: 10.87 MB / 0.7095 GB, free: 39.86 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.8822, allocations: 9.062 kB / 0.7095 GB, free: 39.86 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006415/0.8886, allocations: 1.15 MB / 0.7107 GB, free: 39.31 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01841/0.907, allocations: 6.94 MB / 0.7174 GB, free: 37.98 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/0.9074, allocations: 351.7 kB / 0.7178 GB, free: 37.97 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002215/0.9096, allocations: 443.4 kB / 0.7182 GB, free: 37.96 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03293/0.9426, allocations: 14.22 MB / 0.7321 GB, free: 30.96 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002167/0.9428, allocations: 49.84 kB / 0.7321 GB, free: 30.96 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001316/0.9441, allocations: 231.5 kB / 0.7324 GB, free: 30.96 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005502/0.9446, allocations: 420.3 kB / 0.7328 GB, free: 30.9 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02961/0.9743, allocations: 9.892 MB / 0.7424 GB, free: 27.46 MB / 0.5763 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.08178/1.056, allocations: 45.41 MB / 0.7868 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02749/1.084, allocations: 8.125 MB / 0.7947 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009384/1.093, allocations: 3.063 MB / 0.7977 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001684/1.095, allocations: 269.1 kB / 0.7979 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02483/1.119, allocations: 6.546 MB / 0.8043 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006567/1.126, allocations: 0.6989 MB / 0.805 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=865): time 3.778e-05/1.126, allocations: 2.672 kB / 0.805 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=866): time 0.1582/1.284, allocations: 56.48 MB / 0.8602 GB, free: 8.098 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001395/1.286, allocations: 1.815 MB / 0.862 GB, free: 5.867 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01415/1.3, allocations: 6.327 MB / 0.8681 GB, free: 15.56 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.002477/1.302, allocations: 97.7 kB / 0.8682 GB, free: 15.46 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.004277/1.307, allocations: 3.283 MB / 0.8714 GB, free: 12.18 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.006611/1.313, allocations: 2.936 MB / 0.8743 GB, free: 9.289 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0072/1.32, allocations: 1.89 MB / 0.8761 GB, free: 7.387 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.321, allocations: 309.1 kB / 0.8764 GB, free: 7.082 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009403/1.33, allocations: 4.147 MB / 0.8805 GB, free: 2.926 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01404/1.344, allocations: 7.93 MB / 0.8882 GB, free: 9.57 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3732/1.717, allocations: 51.46 MB / 0.9385 GB, free: 6 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/1.717, allocations: 24 kB / 0.9385 GB, free: 5.977 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.03652/1.754, allocations: 12.58 MB / 0.9508 GB, free: 9.836 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.754, allocations: 41.09 kB / 0.9508 GB, free: 9.797 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02589/1.78, allocations: 9.419 MB / 0.96 GB, free: 376 kB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05086/1.831, allocations: 4.169 MB / 0.9641 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0119/1.843, allocations: 2.545 MB / 0.9666 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3985/2.241, allocations: 12.09 MB / 0.9784 GB, free: 298.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/2.252, allocations: 444.8 kB / 0.9788 GB, free: 298.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00356/2.256, allocations: 0.5877 MB / 0.9794 GB, free: 298.6 MB / 0.7794 GB Warning: Assuming fixed start value for the following 4 variables: 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.01925/2.275, allocations: 5.836 MB / 0.9851 GB, free: 297.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0145/2.29, allocations: 7.889 MB / 0.9928 GB, free: 291.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3417/2.631, allocations: 51.35 MB / 1.043 GB, free: 254 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001195/2.631, allocations: 23.5 kB / 1.043 GB, free: 254 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.03191/2.663, allocations: 12.49 MB / 1.055 GB, free: 241.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.474e-05/2.663, allocations: 41.72 kB / 1.055 GB, free: 241.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02096/2.684, allocations: 9.321 MB / 1.064 GB, free: 232.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04789/2.732, allocations: 4.038 MB / 1.068 GB, free: 228.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/2.743, allocations: 2.512 MB / 1.071 GB, free: 225.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/2.753, allocations: 11.43 MB / 1.082 GB, free: 214 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009514/2.763, allocations: 444.4 kB / 1.082 GB, free: 213.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002704/2.765, allocations: 0.5816 MB / 1.083 GB, free: 213 MB / 0.7794 GB Warning: Assuming fixed start value for the following 4 variables: 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: 370 * Number of states: 0 () * Number of discrete variables: 7 ($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 (1214): * Single equations (assignments): 1206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 3 * 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): 5 systems {1, 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): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,20)} Notification: Performance of prepare postOptimizeDAE: time 0.005571/2.771, allocations: 0.7503 MB / 1.084 GB, free: 212.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004449/2.775, allocations: 0.8023 MB / 1.084 GB, free: 211.9 MB / 0.7794 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 1325 equation(s) and 1265 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03373/2.809, allocations: 11.15 MB / 1.095 GB, free: 201.4 MB / 0.7794 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.733879566192627] Failed to read output from testmodel.py, exit status != 0: 3.001810170710087 3.013504859 2.170428128 Calling exit ...