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.01384/0.01384, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001436/0.001436, allocations: 99.84 kB / 24.18 MB, free: 2.438 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.001784/0.001784, allocations: 213.1 kB / 27.9 MB, free: 3.742 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.541/1.541, allocations: 230.6 MB / 262.1 MB, free: 5.832 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.119/1.119, allocations: 130.7 MB / 449.6 MB, free: 6.395 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.06479/0.06479, allocations: 20.99 MB / 0.6363 GB, free: 4.195 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.2409, allocations: 81.9 MB / 0.7163 GB, free: 2.191 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.5522/0.7932, allocations: 55.62 MB / 0.7706 GB, free: 14.06 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04275/0.8359, allocations: 24 MB / 0.7941 GB, free: 13.33 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009311/0.8452, allocations: 138 kB / 0.7942 GB, free: 13.27 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.8553, allocations: 2.864 MB / 0.797 GB, free: 11.28 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0175/0.8728, allocations: 4.342 MB / 0.8012 GB, free: 7.836 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01422/0.887, allocations: 4.415 MB / 0.8055 GB, free: 4.477 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02472/0.9117, allocations: 12.47 MB / 0.8177 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/0.9218, allocations: 3.9 MB / 0.8215 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01412/0.936, allocations: 5.058 MB / 0.8265 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01198/0.9479, allocations: 5.091 MB / 0.8314 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004473/0.9524, allocations: 0.8503 MB / 0.8323 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01059/0.963, allocations: 2.599 MB / 0.8348 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005946/0.969, allocations: 2.687 MB / 0.8374 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01015/0.9791, allocations: 3.3 MB / 0.8407 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02655/1.006, allocations: 13.34 MB / 0.8537 GB, free: 5.395 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.006, allocations: 0 / 0.8537 GB, free: 5.395 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.204e-06/1.006, allocations: 0 / 0.8537 GB, free: 5.395 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004481/1.006, allocations: 0 / 0.8537 GB, free: 5.395 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.03213/1.038, allocations: 9.791 MB / 0.8632 GB, free: 11.55 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/1.038, allocations: 8.031 kB / 0.8632 GB, free: 11.54 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00554/1.044, allocations: 1.017 MB / 0.8642 GB, free: 10.52 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01768/1.062, allocations: 6.137 MB / 0.8702 GB, free: 4.316 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005517/1.062, allocations: 311.1 kB / 0.8705 GB, free: 4.016 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002166/1.064, allocations: 387.9 kB / 0.8709 GB, free: 3.637 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03212/1.096, allocations: 12.61 MB / 0.8832 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002837/1.097, allocations: 43.56 kB / 0.8833 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002011/1.099, allocations: 196 kB / 0.8834 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007203/1.099, allocations: 401 kB / 0.8838 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02648/1.126, allocations: 8.854 MB / 0.8925 GB, free: 12.03 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.06419/1.19, allocations: 38.99 MB / 0.9306 GB, free: 3.91 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02125/1.211, allocations: 7.163 MB / 0.9375 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007055/1.218, allocations: 2.828 MB / 0.9403 GB, free: 9.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/1.22, allocations: 246.1 kB / 0.9405 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01763/1.237, allocations: 5.892 MB / 0.9463 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003796/1.241, allocations: 0.5775 MB / 0.9469 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=765): time 2.682e-05/1.241, allocations: 2.625 kB / 0.9469 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=767): time 0.1016/1.343, allocations: 47.84 MB / 0.9936 GB, free: 2.66 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00101/1.344, allocations: 1.679 MB / 0.9952 GB, free: 0.5898 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009491/1.353, allocations: 5.526 MB / 1.001 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001605/1.355, allocations: 89.7 kB / 1.001 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002918/1.358, allocations: 2.851 MB / 1.003 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.004043/1.362, allocations: 2.641 MB / 1.006 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003101/1.365, allocations: 1.688 MB / 1.008 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.365, allocations: 307.7 kB / 1.008 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007487/1.372, allocations: 3.813 MB / 1.012 GB, free: 15.59 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01059/1.383, allocations: 7.145 MB / 1.019 GB, free: 7.16 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6614/2.044, allocations: 46.24 MB / 1.064 GB, free: 344.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.759e-05/2.045, allocations: 19.86 kB / 1.064 GB, free: 344.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02729/2.072, allocations: 11.7 MB / 1.075 GB, free: 340.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/2.072, allocations: 31.22 kB / 1.075 GB, free: 340.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01878/2.091, allocations: 9.014 MB / 1.084 GB, free: 337.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04348/2.134, allocations: 4.341 MB / 1.088 GB, free: 337.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009104/2.143, allocations: 2.267 MB / 1.091 GB, free: 337.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008148/2.151, allocations: 7.841 MB / 1.098 GB, free: 330.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006672/2.158, allocations: 407.6 kB / 1.099 GB, free: 330.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001817/2.16, allocations: 0.5049 MB / 1.099 GB, free: 330.2 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.01124/2.171, allocations: 5.302 MB / 1.104 GB, free: 325.3 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008734/2.18, allocations: 7.092 MB / 1.111 GB, free: 316.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2657/2.446, allocations: 46.04 MB / 1.156 GB, free: 270.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.037e-05/2.446, allocations: 20 kB / 1.156 GB, free: 270.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02651/2.472, allocations: 11.56 MB / 1.168 GB, free: 259.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.373e-05/2.472, allocations: 39.98 kB / 1.168 GB, free: 259.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01965/2.492, allocations: 8.89 MB / 1.176 GB, free: 250.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04241/2.534, allocations: 4.265 MB / 1.18 GB, free: 245.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007565/2.542, allocations: 2.164 MB / 1.183 GB, free: 243.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/2.549, allocations: 6.657 MB / 1.189 GB, free: 236.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006248/2.555, allocations: 412.5 kB / 1.189 GB, free: 236.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001643/2.556, allocations: 0.5019 MB / 1.19 GB, free: 235.9 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.003122/2.56, allocations: 0.6682 MB / 1.191 GB, free: 235.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002909/2.562, allocations: 0.7003 MB / 1.191 GB, free: 234.9 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.01815/2.581, allocations: 9.581 MB / 1.201 GB, free: 225.7 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.657736899331212] Failed to read output from testmodel.py, exit status != 0: 2.7520362879149616 2.763980083 1.7553739959999999 Calling exit ...