Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.02637/0.02637, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.001901/0.001901, allocations: 76.78 kB / 24.88 MB, free: 6.824 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.002198/0.002198, allocations: 160.4 kB / 28.74 MB, free: 3.656 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.574/1.574, allocations: 177.2 MB / 209.6 MB, free: 2.402 MB / 186.7 MB " [Timeout remaining time 178] 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 1.161/1.161, allocations: 102.5 MB / 369.1 MB, free: 0.8555 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_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_dev_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_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 469.1 MB, free: 12.95 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.397e-05/3.614e-05, allocations: 3.719 kB / 469.1 MB, free: 12.94 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_CU_simple): time 0.4493/0.4494, allocations: 75.46 MB / 0.5318 GB, free: 68.07 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03841/0.4878, allocations: 25.8 MB / 0.557 GB, free: 50.87 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009584/0.4974, allocations: 157.3 kB / 0.5572 GB, free: 50.8 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.5075, allocations: 3.143 MB / 0.5603 GB, free: 49.33 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0177/0.5252, allocations: 5.068 MB / 0.5652 GB, free: 46.28 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01385/0.539, allocations: 4.967 MB / 0.5701 GB, free: 43.6 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02651/0.5655, allocations: 14.24 MB / 0.584 GB, free: 35.3 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008689/0.5742, allocations: 4.652 MB / 0.5885 GB, free: 31.8 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02044/0.5947, allocations: 7.69 MB / 0.596 GB, free: 24.12 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/0.6057, allocations: 5.108 MB / 0.601 GB, free: 19.01 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00383/0.6095, allocations: 0.9375 MB / 0.6019 GB, free: 18.07 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009824/0.6193, allocations: 2.82 MB / 0.6047 GB, free: 15.25 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004909/0.6243, allocations: 3.08 MB / 0.6077 GB, free: 12.16 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01133/0.6356, allocations: 3.065 MB / 0.6107 GB, free: 9.09 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0264/0.662, allocations: 14.9 MB / 0.6252 GB, free: 10.15 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.662, allocations: 0 / 0.6252 GB, free: 10.15 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.885e-06/0.662, allocations: 0 / 0.6252 GB, free: 10.15 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0005511/0.6625, allocations: 2.719 kB / 0.6252 GB, free: 10.15 MB / 0.4949 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.03734/0.6999, allocations: 13.34 MB / 0.6382 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.6999, allocations: 8.031 kB / 0.6383 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005581/0.7055, allocations: 1.501 MB / 0.6397 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01862/0.7241, allocations: 6.57 MB / 0.6461 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004793/0.7246, allocations: 356.8 kB / 0.6465 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002031/0.7266, allocations: 479.9 kB / 0.6469 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03776/0.7644, allocations: 14.76 MB / 0.6614 GB, free: 2.762 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003023/0.7647, allocations: 47.56 kB / 0.6614 GB, free: 2.715 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00212/0.7668, allocations: 232.5 kB / 0.6616 GB, free: 2.488 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007559/0.7676, allocations: 429.5 kB / 0.662 GB, free: 2.07 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02854/0.7961, allocations: 8.316 MB / 0.6701 GB, free: 9.758 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.1094/0.9055, allocations: 68.77 MB / 0.7373 GB, free: 2.621 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3911/1.297, allocations: 7.425 MB / 0.7446 GB, free: 186.9 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006813/1.303, allocations: 2.458 MB / 0.747 GB, free: 186.6 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/1.305, allocations: 296.8 kB / 0.7472 GB, free: 186.6 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02113/1.326, allocations: 6.754 MB / 0.7538 GB, free: 185.9 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006414/1.333, allocations: 0.7018 MB / 0.7545 GB, free: 185.9 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=865): time 8.062e-05/1.333, allocations: 1.438 kB / 0.7545 GB, free: 185.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=866): time 0.1208/1.453, allocations: 54.56 MB / 0.8078 GB, free: 150.2 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003808/1.454, allocations: 1.808 MB / 0.8096 GB, free: 148 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01134/1.465, allocations: 7.847 MB / 0.8172 GB, free: 141.1 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.002023/1.467, allocations: 97.7 kB / 0.8173 GB, free: 141 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003135/1.47, allocations: 3.868 MB / 0.8211 GB, free: 137.4 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004282/1.475, allocations: 3.262 MB / 0.8243 GB, free: 134.4 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004717/1.479, allocations: 2.38 MB / 0.8266 GB, free: 132.4 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.261e-05/1.479, allocations: 476.8 kB / 0.8271 GB, free: 132 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005873/1.485, allocations: 3.518 MB / 0.8305 GB, free: 128.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00883/1.494, allocations: 8.86 MB / 0.8392 GB, free: 118.6 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02223/1.516, allocations: 15.28 MB / 0.8541 GB, free: 101.9 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.211e-05/1.516, allocations: 24 kB / 0.8541 GB, free: 101.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02593/1.542, allocations: 11.7 MB / 0.8655 GB, free: 90.16 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/1.542, allocations: 40 kB / 0.8656 GB, free: 90.12 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01994/1.562, allocations: 8.073 MB / 0.8734 GB, free: 82.02 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04793/1.61, allocations: 4.234 MB / 0.8776 GB, free: 77.95 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/1.62, allocations: 2.478 MB / 0.88 GB, free: 75.48 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/1.631, allocations: 14.96 MB / 0.8946 GB, free: 59.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00819/1.639, allocations: 391.1 kB / 0.895 GB, free: 59.42 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00237/1.642, allocations: 0.5894 MB / 0.8956 GB, free: 58.83 MB / 0.6043 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.01305/1.655, allocations: 4.627 MB / 0.9001 GB, free: 54.21 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01084/1.665, allocations: 8.814 MB / 0.9087 GB, free: 43.45 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02505/1.691, allocations: 15.17 MB / 0.9235 GB, free: 26.79 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002202/1.691, allocations: 24.77 kB / 0.9235 GB, free: 26.77 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.03149/1.722, allocations: 11.63 MB / 0.9349 GB, free: 15.16 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/1.722, allocations: 45 kB / 0.9349 GB, free: 15.12 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02162/1.744, allocations: 7.979 MB / 0.9427 GB, free: 7.098 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04712/1.791, allocations: 4.112 MB / 0.9467 GB, free: 3.156 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009594/1.801, allocations: 2.454 MB / 0.9491 GB, free: 0.7031 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01657/1.817, allocations: 13.98 MB / 0.9628 GB, free: 2.02 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3656/2.183, allocations: 389.8 kB / 0.9631 GB, free: 178.2 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003496/2.186, allocations: 0.5783 MB / 0.9637 GB, free: 178.2 MB / 0.6199 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.005785/2.192, allocations: 0.831 MB / 0.9645 GB, free: 177.9 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004843/2.197, allocations: 0.9147 MB / 0.9654 GB, free: 177.9 MB / 0.6199 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.02692/2.224, allocations: 10.84 MB / 0.976 GB, free: 177.2 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.156889270991087]