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.01524/0.01524, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.00161/0.00161, allocations: 104.8 kB / 24.98 MB, free: 2.184 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.002152/0.002152, allocations: 206 kB / 28.71 MB, free: 3.461 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.449/1.449, allocations: 230.6 MB / 262.9 MB, free: 6.203 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.043/1.043, allocations: 130.7 MB / 450.5 MB, free: 6.562 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="cs",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="cs",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.03155/0.03155, allocations: 20.62 MB / 0.6364 GB, free: 5.277 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1894, allocations: 81.9 MB / 0.7163 GB, free: 3.281 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.4897/0.6791, allocations: 58.96 MB / 0.7739 GB, free: 11.02 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03759/0.7167, allocations: 25.04 MB / 0.7984 GB, free: 9.184 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008101/0.7248, allocations: 139.5 kB / 0.7985 GB, free: 9.121 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.00864/0.7334, allocations: 3.018 MB / 0.8015 GB, free: 7.129 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01383/0.7472, allocations: 4.337 MB / 0.8057 GB, free: 3.676 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01165/0.7589, allocations: 4.428 MB / 0.81 GB, free: 308 kB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02106/0.7799, allocations: 12.49 MB / 0.8222 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007538/0.7875, allocations: 3.687 MB / 0.8258 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01071/0.7982, allocations: 5.046 MB / 0.8307 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.8084, allocations: 5.344 MB / 0.836 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002928/0.8113, allocations: 0.8502 MB / 0.8368 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008942/0.8202, allocations: 3.479 MB / 0.8402 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004782/0.825, allocations: 2.689 MB / 0.8428 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008525/0.8336, allocations: 4.233 MB / 0.8469 GB, free: 13.42 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02511/0.8587, allocations: 13.49 MB / 0.8601 GB, free: 15.89 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8587, allocations: 0 / 0.8601 GB, free: 15.89 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8587, allocations: 2.688 kB / 0.8601 GB, free: 15.89 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004262/0.8591, allocations: 0 / 0.8601 GB, free: 15.89 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.02764/0.8867, allocations: 9.784 MB / 0.8697 GB, free: 6.051 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.8868, allocations: 12.03 kB / 0.8697 GB, free: 6.039 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001619/0.887, allocations: 120 kB / 0.8698 GB, free: 5.922 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00239/0.8893, allocations: 0.7242 MB / 0.8705 GB, free: 5.188 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004486/0.8938, allocations: 1.012 MB / 0.8715 GB, free: 4.172 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/0.9088, allocations: 6.126 MB / 0.8775 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004205/0.9092, allocations: 311.7 kB / 0.8778 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001658/0.9109, allocations: 391.9 kB / 0.8782 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02717/0.938, allocations: 10.76 MB / 0.8887 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/0.9382, allocations: 47.56 kB / 0.8887 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008886/0.9391, allocations: 203.9 kB / 0.8889 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000488/0.9395, allocations: 408.8 kB / 0.8893 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02689/0.9664, allocations: 8.875 MB / 0.898 GB, free: 8.039 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.08551/1.052, allocations: 42.11 MB / 0.9391 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03293/1.085, allocations: 7.181 MB / 0.9461 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009379/1.094, allocations: 2.83 MB / 0.9489 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001536/1.096, allocations: 283.2 kB / 0.9491 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0292/1.125, allocations: 5.885 MB / 0.9549 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005124/1.13, allocations: 0.5956 MB / 0.9555 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=765): time 2.526e-05/1.13, allocations: 0 / 0.9555 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=767): time 0.1009/1.231, allocations: 47.84 MB / 1.002 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001045/1.232, allocations: 1.692 MB / 1.004 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01161/1.244, allocations: 5.549 MB / 1.009 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001637/1.245, allocations: 97.69 kB / 1.009 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003355/1.249, allocations: 2.84 MB / 1.012 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.004456/1.253, allocations: 2.637 MB / 1.015 GB, free: 14.16 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00441/1.258, allocations: 1.694 MB / 1.016 GB, free: 12.46 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.258, allocations: 301.1 kB / 1.017 GB, free: 12.16 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009255/1.267, allocations: 3.809 MB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01338/1.28, allocations: 6.29 MB / 1.026 GB, free: 1.035 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5918/1.872, allocations: 46.23 MB / 1.072 GB, free: 344.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.979e-05/1.872, allocations: 19.84 kB / 1.072 GB, free: 344.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02572/1.898, allocations: 11.7 MB / 1.083 GB, free: 341 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.531e-05/1.898, allocations: 33.97 kB / 1.083 GB, free: 341 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01847/1.916, allocations: 9.013 MB / 1.092 GB, free: 337.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04594/1.962, allocations: 4.347 MB / 1.096 GB, free: 336.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009164/1.972, allocations: 2.264 MB / 1.098 GB, free: 334.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007287/1.979, allocations: 7.921 MB / 1.106 GB, free: 325.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006576/1.985, allocations: 410.9 kB / 1.106 GB, free: 325.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001899/1.987, allocations: 0.4997 MB / 1.107 GB, free: 325.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.01013/1.997, allocations: 5.307 MB / 1.112 GB, free: 319.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00847/2.006, allocations: 6.227 MB / 1.118 GB, free: 312.5 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2731/2.279, allocations: 46.03 MB / 1.163 GB, free: 265.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.222e-05/2.279, allocations: 23.38 kB / 1.163 GB, free: 265.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02809/2.307, allocations: 11.56 MB / 1.175 GB, free: 254.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/2.307, allocations: 37 kB / 1.175 GB, free: 254.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02044/2.328, allocations: 8.9 MB / 1.183 GB, free: 245.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04477/2.372, allocations: 4.259 MB / 1.187 GB, free: 240.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007977/2.38, allocations: 2.164 MB / 1.19 GB, free: 238.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006925/2.387, allocations: 6.761 MB / 1.196 GB, free: 231.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007041/2.394, allocations: 410 kB / 1.197 GB, free: 231.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/2.396, allocations: 0.5036 MB / 1.197 GB, free: 230.8 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.003387/2.4, allocations: 0.6655 MB / 1.198 GB, free: 230.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002781/2.402, allocations: 0.7083 MB / 1.198 GB, free: 229.8 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.02203/2.424, allocations: 9.562 MB / 1.208 GB, free: 220.6 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.226161073078401] Failed to read output from testmodel.py, exit status != 0: 2.597039201995358 2.609400223 1.745865733 Calling exit ...