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.009132/0.009132, allocations: 1.435 MB / 21.29 MB, free: 3.266 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.001171/0.001171, allocations: 92.64 kB / 24.9 MB, free: 7.262 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.00149/0.00149, allocations: 168.9 kB / 28.62 MB, free: 4.457 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.872/0.872, allocations: 177.1 MB / 209.4 MB, free: 2.992 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.7048/0.7048, allocations: 102.5 MB / 368.7 MB, free: 1.504 MB / 330.8 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.5.2 (/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 1.162e-06/1.162e-06, allocations: 0 / 0.5374 GB, free: 39.83 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.29e-05, allocations: 2.281 kB / 0.5374 GB, free: 39.82 MB / 490.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_CU_simple): time 0.1148/0.1148, allocations: 71.81 MB / 0.6075 GB, free: 4.176 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02964/0.1444, allocations: 24.99 MB / 0.6319 GB, free: 11.11 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004526/0.1489, allocations: 162.8 kB / 0.6321 GB, free: 10.95 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004871/0.1538, allocations: 3.163 MB / 0.6352 GB, free: 7.77 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.008207/0.162, allocations: 5.048 MB / 0.6401 GB, free: 2.691 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00833/0.1704, allocations: 4.99 MB / 0.645 GB, free: 13.69 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01431/0.1847, allocations: 14.25 MB / 0.6589 GB, free: 15.39 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006111/0.1908, allocations: 4.419 MB / 0.6632 GB, free: 10.9 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.2019, allocations: 7.686 MB / 0.6707 GB, free: 3.191 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006598/0.2085, allocations: 5.1 MB / 0.6757 GB, free: 14.08 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001711/0.2103, allocations: 0.9375 MB / 0.6766 GB, free: 13.14 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005598/0.2159, allocations: 2.815 MB / 0.6794 GB, free: 10.32 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002092/0.2179, allocations: 3.064 MB / 0.6824 GB, free: 7.25 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003955/0.2219, allocations: 3.055 MB / 0.6853 GB, free: 4.188 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01547/0.2374, allocations: 14.86 MB / 0.6999 GB, free: 5.289 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2374, allocations: 0 / 0.6999 GB, free: 5.289 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2374, allocations: 0 / 0.6999 GB, free: 5.289 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0003271/0.2377, allocations: 0 / 0.6999 GB, free: 5.289 MB / 0.5887 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.01714/0.2549, allocations: 10.87 MB / 0.7105 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/0.2549, allocations: 8.031 kB / 0.7105 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.2574, allocations: 1.15 MB / 0.7116 GB, free: 9.16 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009642/0.267, allocations: 6.938 MB / 0.7184 GB, free: 2.145 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.2672, allocations: 352.9 kB / 0.7187 GB, free: 1.797 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005363/0.2678, allocations: 443.9 kB / 0.7191 GB, free: 1.363 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0181/0.2859, allocations: 14.21 MB / 0.733 GB, free: 1.344 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.023e-05/0.286, allocations: 55.5 kB / 0.7331 GB, free: 1.289 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004609/0.2864, allocations: 231.9 kB / 0.7333 GB, free: 1.062 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002869/0.2867, allocations: 426.9 kB / 0.7337 GB, free: 0.6445 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/0.3019, allocations: 9.89 MB / 0.7434 GB, free: 6.738 MB / 0.6355 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.3039/0.6058, allocations: 45.41 MB / 0.7877 GB, free: 142.5 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01393/0.6198, allocations: 8.115 MB / 0.7956 GB, free: 140.1 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00426/0.624, allocations: 3.052 MB / 0.7986 GB, free: 138.7 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006075/0.6246, allocations: 274.5 kB / 0.7989 GB, free: 138.7 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01001/0.6346, allocations: 6.544 MB / 0.8053 GB, free: 135.4 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002977/0.6376, allocations: 0.6947 MB / 0.8059 GB, free: 135.3 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=865): time 1.045e-05/0.6376, allocations: 3.938 kB / 0.8059 GB, free: 135.3 MB / 0.6512 GB Notification: Performance of matching and sorting (n=866): time 0.0562/0.6938, allocations: 56.48 MB / 0.8611 GB, free: 93.33 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004083/0.6942, allocations: 1.808 MB / 0.8629 GB, free: 91.11 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00644/0.7007, allocations: 6.333 MB / 0.869 GB, free: 84.91 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001356/0.702, allocations: 101.7 kB / 0.8691 GB, free: 84.8 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.7035, allocations: 3.274 MB / 0.8723 GB, free: 81.82 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001658/0.7051, allocations: 2.938 MB / 0.8752 GB, free: 79.31 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001669/0.7068, allocations: 1.893 MB / 0.8771 GB, free: 77.41 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.012e-05/0.7068, allocations: 305.1 kB / 0.8773 GB, free: 77.11 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004173/0.711, allocations: 4.151 MB / 0.8814 GB, free: 72.95 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005102/0.7161, allocations: 7.933 MB / 0.8891 GB, free: 63.58 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1597/0.8758, allocations: 51.45 MB / 0.9394 GB, free: 11.98 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.164e-05/0.8758, allocations: 28 kB / 0.9394 GB, free: 11.95 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.01659/0.8924, allocations: 12.58 MB / 0.9517 GB, free: 15.32 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.8925, allocations: 44.59 kB / 0.9517 GB, free: 15.27 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01158/0.9041, allocations: 9.426 MB / 0.961 GB, free: 5.801 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02336/0.9274, allocations: 4.164 MB / 0.965 GB, free: 1.656 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006696/0.9341, allocations: 2.538 MB / 0.9675 GB, free: 15.12 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008208/0.9423, allocations: 12.1 MB / 0.9793 GB, free: 2.395 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005456/0.9478, allocations: 443.3 kB / 0.9797 GB, free: 1.969 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00079/0.9486, allocations: 0.5816 MB / 0.9803 GB, free: 1.387 MB / 0.6824 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.008515/0.9571, allocations: 5.837 MB / 0.986 GB, free: 11.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006373/0.9635, allocations: 7.897 MB / 0.9937 GB, free: 2.176 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4737/1.437, allocations: 51.33 MB / 1.044 GB, free: 252.5 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.48e-05/1.437, allocations: 23.47 kB / 1.044 GB, free: 252.5 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02067/1.458, allocations: 12.49 MB / 1.056 GB, free: 249.8 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/1.458, allocations: 41.91 kB / 1.056 GB, free: 249.8 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01282/1.471, allocations: 9.323 MB / 1.065 GB, free: 246.3 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02299/1.494, allocations: 4.043 MB / 1.069 GB, free: 246.1 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006764/1.501, allocations: 2.519 MB / 1.072 GB, free: 245.9 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007159/1.508, allocations: 11.43 MB / 1.083 GB, free: 236.1 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006004/1.514, allocations: 450.6 kB / 1.083 GB, free: 235.9 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.515, allocations: 0.5817 MB / 1.084 GB, free: 235.8 MB / 0.7449 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.002921/1.518, allocations: 0.7466 MB / 1.085 GB, free: 235.2 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002333/1.52, allocations: 0.7946 MB / 1.085 GB, free: 235.2 MB / 0.7449 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.01338/1.534, allocations: 11.15 MB / 1.096 GB, free: 229.4 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.407906102016568] Failed to read output from testmodel.py, exit status != 0: 1.6854103906080127 1.692687444 1.453817085 Calling exit ...