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.0133/0.0133, allocations: 1.757 MB / 20.59 MB, free: 1.277 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.001491/0.001491, allocations: 110.2 kB / 24.19 MB, free: 2.656 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.001828/0.001828, allocations: 207.9 kB / 27.92 MB, free: 4 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.462/1.462, allocations: 230.6 MB / 262.1 MB, free: 6.211 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.068/1.068, allocations: 130.7 MB / 449.6 MB, free: 6.852 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.03433/0.03433, allocations: 20.79 MB / 0.6362 GB, free: 4.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.218, allocations: 81.91 MB / 0.7162 GB, free: 2.664 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.5682/0.7862, allocations: 58.97 MB / 0.7738 GB, free: 10.94 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0423/0.8285, allocations: 25.05 MB / 0.7983 GB, free: 9.102 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008398/0.8369, allocations: 138.6 kB / 0.7984 GB, free: 9.039 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009574/0.8465, allocations: 3.022 MB / 0.8013 GB, free: 6.949 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01827/0.8648, allocations: 4.331 MB / 0.8056 GB, free: 3.504 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01585/0.8806, allocations: 4.425 MB / 0.8099 GB, free: 128 kB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02319/0.9038, allocations: 12.5 MB / 0.8221 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01071/0.9145, allocations: 3.687 MB / 0.8257 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01454/0.9291, allocations: 5.034 MB / 0.8306 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01165/0.9407, allocations: 5.348 MB / 0.8358 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004362/0.9451, allocations: 0.8477 MB / 0.8367 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01154/0.9566, allocations: 3.479 MB / 0.8401 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005988/0.9626, allocations: 2.693 MB / 0.8427 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0111/0.9737, allocations: 4.233 MB / 0.8468 GB, free: 12.99 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02794/1.002, allocations: 13.48 MB / 0.86 GB, free: 15.47 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.002, allocations: 2.656 kB / 0.86 GB, free: 15.47 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.293e-06/1.002, allocations: 0 / 0.86 GB, free: 15.47 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004619/1.002, allocations: 0 / 0.86 GB, free: 15.47 MB / 0.6388 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.03088/1.033, allocations: 9.801 MB / 0.8696 GB, free: 5.617 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.033, allocations: 11.97 kB / 0.8696 GB, free: 5.605 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004969/1.038, allocations: 1.013 MB / 0.8706 GB, free: 4.59 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0174/1.055, allocations: 6.124 MB / 0.8765 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004705/1.056, allocations: 310.4 kB / 0.8768 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/1.058, allocations: 386.6 kB / 0.8772 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02823/1.086, allocations: 10.77 MB / 0.8877 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.973e-05/1.086, allocations: 39.62 kB / 0.8878 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006296/1.087, allocations: 207.9 kB / 0.888 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004654/1.087, allocations: 398.2 kB / 0.8883 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02382/1.111, allocations: 8.88 MB / 0.897 GB, free: 8.457 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.06523/1.176, allocations: 42.12 MB / 0.9381 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02086/1.197, allocations: 7.186 MB / 0.9452 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006599/1.204, allocations: 2.827 MB / 0.9479 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/1.205, allocations: 280.7 kB / 0.9482 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01709/1.222, allocations: 5.886 MB / 0.9539 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003335/1.225, allocations: 0.5917 MB / 0.9545 GB, free: 12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=765): time 1.84e-05/1.225, allocations: 0 / 0.9545 GB, free: 12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=767): time 0.08716/1.312, allocations: 47.85 MB / 1.001 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009206/1.313, allocations: 1.686 MB / 1.003 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008915/1.322, allocations: 5.557 MB / 1.008 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001443/1.324, allocations: 89.7 kB / 1.008 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002717/1.326, allocations: 2.845 MB / 1.011 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.003583/1.33, allocations: 2.64 MB / 1.014 GB, free: 14.58 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002862/1.333, allocations: 1.691 MB / 1.015 GB, free: 12.88 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.333, allocations: 301.1 kB / 1.016 GB, free: 12.58 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006877/1.34, allocations: 3.811 MB / 1.019 GB, free: 8.762 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009315/1.349, allocations: 6.28 MB / 1.026 GB, free: 1.465 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6498/1.999, allocations: 46.24 MB / 1.071 GB, free: 344.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-05/1.999, allocations: 19.81 kB / 1.071 GB, free: 344.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02529/2.024, allocations: 11.7 MB / 1.082 GB, free: 340.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/2.024, allocations: 36.12 kB / 1.082 GB, free: 340.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01809/2.043, allocations: 9.018 MB / 1.091 GB, free: 337.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04624/2.089, allocations: 4.344 MB / 1.095 GB, free: 336.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009034/2.098, allocations: 2.264 MB / 1.097 GB, free: 334.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007292/2.105, allocations: 7.918 MB / 1.105 GB, free: 326.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007004/2.112, allocations: 406.6 kB / 1.106 GB, free: 325.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001662/2.114, allocations: 0.4997 MB / 1.106 GB, free: 325.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01006/2.124, allocations: 5.301 MB / 1.111 GB, free: 320.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007433/2.131, allocations: 6.23 MB / 1.117 GB, free: 312.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2646/2.396, allocations: 46.04 MB / 1.162 GB, free: 265.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.544e-05/2.396, allocations: 20 kB / 1.162 GB, free: 265.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02046/2.416, allocations: 11.56 MB / 1.174 GB, free: 254.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/2.416, allocations: 36 kB / 1.174 GB, free: 254.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01478/2.431, allocations: 8.903 MB / 1.182 GB, free: 245.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04398/2.475, allocations: 4.258 MB / 1.186 GB, free: 241.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007385/2.483, allocations: 2.164 MB / 1.189 GB, free: 239.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006526/2.489, allocations: 6.765 MB / 1.195 GB, free: 232.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006668/2.496, allocations: 408.6 kB / 1.196 GB, free: 231.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/2.497, allocations: 0.5036 MB / 1.196 GB, free: 231.1 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.002407/2.5, allocations: 0.6669 MB / 1.197 GB, free: 230.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001891/2.502, allocations: 0.7112 MB / 1.197 GB, free: 230.1 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.01378/2.515, allocations: 9.563 MB / 1.207 GB, free: 220.9 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.3854086741339415] Failed to read output from testmodel.py, exit status != 0: 2.6612308020703495 2.670591506 1.666341823 Calling exit ...