Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01751/0.01751, 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.001829/0.001829, allocations: 104.6 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.00258/0.00258, allocations: 213.5 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.477/1.477, allocations: 230.6 MB / 262.1 MB, free: 5.828 MB / 206.1 MB " [Timeout remaining time 178] 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 1.072/1.072, allocations: 130.7 MB / 449.7 MB, free: 6.426 MB / 350.1 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.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_simple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_simple",fmuType="me",version="2.0",platforms={"static"}) [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.06777/0.06777, allocations: 20.98 MB / 0.6358 GB, free: 4.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.2314, allocations: 81.91 MB / 0.7158 GB, free: 2.688 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.5054/0.7368, allocations: 55.62 MB / 0.7701 GB, free: 14.05 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04191/0.7787, allocations: 23.99 MB / 0.7936 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007672/0.7864, allocations: 138.8 kB / 0.7937 GB, free: 13.3 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009581/0.796, allocations: 2.871 MB / 0.7965 GB, free: 11.38 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01588/0.8119, allocations: 4.348 MB / 0.8008 GB, free: 7.945 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01325/0.8251, allocations: 4.399 MB / 0.8051 GB, free: 4.59 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02102/0.8461, allocations: 12.48 MB / 0.8172 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008298/0.8544, allocations: 3.893 MB / 0.821 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0105/0.8649, allocations: 5.06 MB / 0.826 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009866/0.8748, allocations: 5.087 MB / 0.831 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003459/0.8782, allocations: 0.849 MB / 0.8318 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009141/0.8874, allocations: 2.598 MB / 0.8343 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005075/0.8925, allocations: 2.689 MB / 0.8369 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008236/0.9007, allocations: 3.296 MB / 0.8402 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02575/0.9264, allocations: 13.34 MB / 0.8532 GB, free: 5.754 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.9264, allocations: 6.641 kB / 0.8532 GB, free: 5.75 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.344e-06/0.9265, allocations: 0 / 0.8532 GB, free: 5.75 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004482/0.9269, allocations: 0 / 0.8532 GB, free: 5.75 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.02715/0.9541, allocations: 9.787 MB / 0.8628 GB, free: 11.91 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.9541, allocations: 8.031 kB / 0.8628 GB, free: 11.9 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002299/0.9564, allocations: 0.7175 MB / 0.8635 GB, free: 11.18 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/0.9611, allocations: 1.016 MB / 0.8645 GB, free: 10.16 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01563/0.9767, allocations: 6.143 MB / 0.8705 GB, free: 3.945 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004603/0.9772, allocations: 314.4 kB / 0.8708 GB, free: 3.641 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001703/0.9789, allocations: 383.9 kB / 0.8711 GB, free: 3.266 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03054/1.009, allocations: 12.61 MB / 0.8834 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002175/1.01, allocations: 42.28 kB / 0.8835 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001691/1.011, allocations: 203.9 kB / 0.8837 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005954/1.012, allocations: 406.1 kB / 0.8841 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02518/1.037, allocations: 8.84 MB / 0.8927 GB, free: 11.66 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.06977/1.107, allocations: 39.64 MB / 0.9314 GB, free: 2.871 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02129/1.128, allocations: 7.172 MB / 0.9384 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006883/1.135, allocations: 2.825 MB / 0.9412 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/1.136, allocations: 246.2 kB / 0.9414 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01836/1.155, allocations: 5.889 MB / 0.9472 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003782/1.158, allocations: 0.5916 MB / 0.9477 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=765): time 4.671e-05/1.158, allocations: 0 / 0.9477 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=767): time 0.1171/1.276, allocations: 47.85 MB / 0.9945 GB, free: 1.598 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001154/1.277, allocations: 1.687 MB / 0.9961 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/1.288, allocations: 5.669 MB / 1.002 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001519/1.29, allocations: 93.7 kB / 1.002 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003625/1.293, allocations: 2.836 MB / 1.005 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.004334/1.298, allocations: 2.637 MB / 1.007 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005132/1.303, allocations: 1.686 MB / 1.009 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.303, allocations: 305.1 kB / 1.009 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009289/1.312, allocations: 3.813 MB / 1.013 GB, free: 14.4 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0145/1.327, allocations: 7.144 MB / 1.02 GB, free: 5.969 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5929/1.92, allocations: 46.25 MB / 1.065 GB, free: 344.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.647e-05/1.92, allocations: 20 kB / 1.065 GB, free: 344.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02841/1.948, allocations: 11.71 MB / 1.076 GB, free: 340.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.984e-05/1.948, allocations: 36.62 kB / 1.076 GB, free: 340.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02074/1.969, allocations: 9.008 MB / 1.085 GB, free: 337.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04407/2.013, allocations: 4.349 MB / 1.089 GB, free: 337.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009039/2.022, allocations: 2.264 MB / 1.092 GB, free: 336.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007851/2.03, allocations: 7.886 MB / 1.099 GB, free: 329.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006695/2.037, allocations: 405.4 kB / 1.1 GB, free: 329.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002142/2.039, allocations: 0.5038 MB / 1.1 GB, free: 329.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01215/2.051, allocations: 5.291 MB / 1.105 GB, free: 324 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009932/2.061, allocations: 7.087 MB / 1.112 GB, free: 315.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2696/2.33, allocations: 46.05 MB / 1.157 GB, free: 269 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.986e-05/2.33, allocations: 20.55 kB / 1.157 GB, free: 269 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02709/2.358, allocations: 11.57 MB / 1.169 GB, free: 257.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.85e-05/2.358, allocations: 36 kB / 1.169 GB, free: 257.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02015/2.378, allocations: 8.903 MB / 1.177 GB, free: 248.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04282/2.421, allocations: 4.253 MB / 1.181 GB, free: 244.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007631/2.428, allocations: 2.164 MB / 1.184 GB, free: 242.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007097/2.435, allocations: 6.723 MB / 1.19 GB, free: 235.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006842/2.442, allocations: 415.3 kB / 1.191 GB, free: 234.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001719/2.444, allocations: 0.4997 MB / 1.191 GB, free: 234.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.003178/2.447, allocations: 0.6667 MB / 1.192 GB, free: 233.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00271/2.45, allocations: 0.7125 MB / 1.192 GB, free: 233.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.0185/2.468, allocations: 9.597 MB / 1.202 GB, free: 224.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.303337602876127] Failed to read output from testmodel.py, exit status != 0: 2.6170003432780504 2.629298373 1.69996937 Calling exit ...