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.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.013/0.013, allocations: 1.745 MB / 21.38 MB, free: 480 kB / 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.001425/0.001425, allocations: 95.92 kB / 24.96 MB, free: 2.059 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.001833/0.001833, allocations: 210.5 kB / 28.68 MB, free: 3.348 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.493/1.493, allocations: 230.6 MB / 262.9 MB, free: 5.828 MB / 206.1 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.082/1.082, allocations: 130.7 MB / 450.4 MB, free: 6.402 MB / 350.1 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 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_CH_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.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_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.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") [Timeout 800] "Notification: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06458/0.06458, allocations: 20.6 MB / 0.6367 GB, free: 4.578 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.2473, allocations: 81.9 MB / 0.7167 GB, free: 2.605 MB / 0.5294 GB 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): time 0.5393/0.7866, allocations: 55.59 MB / 0.771 GB, free: 14.22 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03941/0.826, allocations: 23.98 MB / 0.7944 GB, free: 13.52 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008788/0.8348, allocations: 138.9 kB / 0.7945 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009343/0.8442, allocations: 2.89 MB / 0.7974 GB, free: 11.46 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01551/0.8597, allocations: 4.344 MB / 0.8016 GB, free: 8.02 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01277/0.8724, allocations: 4.431 MB / 0.8059 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02138/0.8938, allocations: 12.47 MB / 0.8181 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007333/0.9011, allocations: 3.683 MB / 0.8217 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/0.9122, allocations: 5.065 MB / 0.8266 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01086/0.9231, allocations: 5.332 MB / 0.8319 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003457/0.9265, allocations: 0.8477 MB / 0.8327 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009495/0.936, allocations: 2.658 MB / 0.8353 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005142/0.9412, allocations: 2.691 MB / 0.8379 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008294/0.9495, allocations: 3.299 MB / 0.8411 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02409/0.9736, allocations: 13.36 MB / 0.8542 GB, free: 5.656 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.9736, allocations: 0 / 0.8542 GB, free: 5.656 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9736, allocations: 0 / 0.8542 GB, free: 5.656 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004244/0.974, allocations: 2.656 kB / 0.8542 GB, free: 5.656 MB / 0.6232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1530 * Number of variables: 1530 Notification: Performance of Generate backend data structure: time 0.02656/1.001, allocations: 9.786 MB / 0.8637 GB, free: 11.82 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.001, allocations: 8.031 kB / 0.8637 GB, free: 11.81 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004299/1.005, allocations: 1.017 MB / 0.8647 GB, free: 10.79 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/1.02, allocations: 6.146 MB / 0.8707 GB, free: 4.578 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003984/1.02, allocations: 303.7 kB / 0.871 GB, free: 4.281 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001712/1.022, allocations: 393.2 kB / 0.8714 GB, free: 3.902 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0285/1.05, allocations: 12.61 MB / 0.8837 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/1.05, allocations: 43.56 kB / 0.8838 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006843/1.051, allocations: 198.6 kB / 0.8839 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004824/1.051, allocations: 402.2 kB / 0.8843 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02517/1.077, allocations: 8.882 MB / 0.893 GB, free: 12.26 MB / 0.67 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.0635/1.14, allocations: 38.98 MB / 0.9311 GB, free: 4.152 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02191/1.162, allocations: 7.178 MB / 0.9381 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007347/1.169, allocations: 2.821 MB / 0.9408 GB, free: 9.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/1.171, allocations: 250.1 kB / 0.9411 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01844/1.189, allocations: 5.89 MB / 0.9468 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003657/1.193, allocations: 0.5762 MB / 0.9474 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=765): time 2.359e-05/1.193, allocations: 2.156 kB / 0.9474 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=767): time 0.105/1.298, allocations: 47.84 MB / 0.9941 GB, free: 2.891 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001032/1.299, allocations: 1.683 MB / 0.9957 GB, free: 0.8125 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01003/1.309, allocations: 5.406 MB / 1.001 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001577/1.31, allocations: 97.7 kB / 1.001 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003129/1.314, allocations: 2.855 MB / 1.004 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.004075/1.318, allocations: 2.636 MB / 1.006 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003636/1.321, allocations: 1.691 MB / 1.008 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.321, allocations: 301.1 kB / 1.008 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00775/1.329, allocations: 3.813 MB / 1.012 GB, free: 15.93 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/1.341, allocations: 7.15 MB / 1.019 GB, free: 7.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.64/1.981, allocations: 46.24 MB / 1.064 GB, free: 346.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-05/1.981, allocations: 19.69 kB / 1.064 GB, free: 346.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02791/2.009, allocations: 11.69 MB / 1.076 GB, free: 342.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/2.009, allocations: 39.94 kB / 1.076 GB, free: 342.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01802/2.027, allocations: 9.011 MB / 1.085 GB, free: 339.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04786/2.075, allocations: 4.342 MB / 1.089 GB, free: 338.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009454/2.085, allocations: 2.268 MB / 1.091 GB, free: 338.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008073/2.093, allocations: 7.846 MB / 1.099 GB, free: 331.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007197/2.1, allocations: 401.1 kB / 1.099 GB, free: 331.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001869/2.102, allocations: 0.5066 MB / 1.1 GB, free: 330.7 MB / 0.8263 GB Warning: Assuming fixed start value for the following 2 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 PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01061/2.112, allocations: 5.298 MB / 1.105 GB, free: 325.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008266/2.121, allocations: 7.087 MB / 1.112 GB, free: 317.5 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2667/2.387, allocations: 46.05 MB / 1.157 GB, free: 270.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.804e-05/2.387, allocations: 20 kB / 1.157 GB, free: 270.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02682/2.414, allocations: 11.55 MB / 1.168 GB, free: 259.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.294e-05/2.414, allocations: 38.19 kB / 1.168 GB, free: 259.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01978/2.434, allocations: 8.896 MB / 1.177 GB, free: 250.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04762/2.482, allocations: 4.261 MB / 1.181 GB, free: 246.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008055/2.49, allocations: 2.174 MB / 1.183 GB, free: 244.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00709/2.497, allocations: 6.657 MB / 1.189 GB, free: 237.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007209/2.504, allocations: 413.5 kB / 1.19 GB, free: 236.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002014/2.506, allocations: 0.5036 MB / 1.19 GB, free: 236.4 MB / 0.8263 GB Warning: Assuming fixed start value for the following 2 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 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: 313 * 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 (1063): * Single equations (assignments): 1056 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 2 * 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): 1 system {(4,3,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,17)} Notification: Performance of prepare postOptimizeDAE: time 0.003941/2.51, allocations: 0.658 MB / 1.191 GB, free: 235.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00308/2.513, allocations: 0.7009 MB / 1.192 GB, free: 235.4 MB / 0.8263 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 1165 equation(s) and 1114 variable(s). Error: ($cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441, $cse442, $cse443) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(hex.tubes.p, -1.0, {}, pressureSink_ph1.fluidOut.vleFluidPointer) has size 12 but 8 variables ($cse280, $cse281, $cse282, $cse283, hex.shell.liq.transp.Pr, hex.shell.liq.transp.lambda, hex.shell.liq.transp.eta, hex.shell.liq.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01915/2.532, allocations: 9.553 MB / 1.201 GB, free: 226.3 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.494309085072018] Failed to read output from testmodel.py, exit status != 0: 2.699029131908901 2.710320401 1.732743308 Calling exit ...