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.00749/0.00749, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.0009363/0.0009363, allocations: 91.45 kB / 24.16 MB, free: 400 kB / 18.57 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.001127/0.001127, allocations: 161 kB / 27.85 MB, free: 5.5 MB / 18.57 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 0.8736/0.8736, allocations: 177.2 MB / 208.6 MB, free: 2.965 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7063/0.7063, allocations: 102.5 MB / 367.9 MB, free: 1.492 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5362 GB, free: 40.04 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.716e-05, allocations: 4.469 kB / 0.5362 GB, free: 40.04 MB / 490.8 MB 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.1159/0.1159, allocations: 69.25 MB / 0.6038 GB, free: 7.23 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02958/0.1455, allocations: 23.72 MB / 0.627 GB, free: 15.44 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003987/0.1495, allocations: 139 kB / 0.6271 GB, free: 15.3 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004237/0.1537, allocations: 2.887 MB / 0.6299 GB, free: 12.4 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.006871/0.1606, allocations: 4.458 MB / 0.6343 GB, free: 7.914 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007088/0.1677, allocations: 4.475 MB / 0.6387 GB, free: 3.43 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0137/0.1814, allocations: 12.77 MB / 0.6511 GB, free: 6.609 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006348/0.1877, allocations: 3.919 MB / 0.655 GB, free: 2.621 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.199, allocations: 6.848 MB / 0.6617 GB, free: 11.76 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004923/0.204, allocations: 4.562 MB / 0.6661 GB, free: 7.188 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0009365/0.2049, allocations: 0.8477 MB / 0.6669 GB, free: 6.34 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004106/0.209, allocations: 2.628 MB / 0.6695 GB, free: 3.707 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001576/0.2106, allocations: 2.765 MB / 0.6722 GB, free: 0.9336 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0025/0.2131, allocations: 2.716 MB / 0.6749 GB, free: 14.21 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.2259, allocations: 13.43 MB / 0.688 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2259, allocations: 0 / 0.688 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2259, allocations: 0 / 0.688 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001534/0.226, allocations: 0 / 0.688 GB, free: 0.7383 MB / 0.573 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.01193/0.238, allocations: 9.702 MB / 0.6974 GB, free: 6.945 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.238, allocations: 11.97 kB / 0.6975 GB, free: 6.934 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006567/0.2387, allocations: 0.7202 MB / 0.6982 GB, free: 6.203 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.2403, allocations: 1.017 MB / 0.6992 GB, free: 5.18 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006912/0.2472, allocations: 6.138 MB / 0.7051 GB, free: 14.95 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.2474, allocations: 303.8 kB / 0.7054 GB, free: 14.66 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004357/0.2478, allocations: 391.9 kB / 0.7058 GB, free: 14.27 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.2615, allocations: 12.62 MB / 0.7181 GB, free: 124 kB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.789e-05/0.2616, allocations: 47.56 kB / 0.7182 GB, free: 76 kB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003634/0.2619, allocations: 196 kB / 0.7184 GB, free: 15.88 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002751/0.2622, allocations: 402.2 kB / 0.7188 GB, free: 15.48 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/0.2749, allocations: 8.846 MB / 0.7274 GB, free: 6.621 MB / 0.6199 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.3362/0.6111, allocations: 39.51 MB / 0.766 GB, free: 169.8 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.6242, allocations: 7.157 MB / 0.773 GB, free: 168.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004511/0.6287, allocations: 2.827 MB / 0.7757 GB, free: 167.4 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00064/0.6293, allocations: 252.5 kB / 0.776 GB, free: 167.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009228/0.6385, allocations: 5.892 MB / 0.7817 GB, free: 165 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002484/0.641, allocations: 0.5907 MB / 0.7823 GB, free: 164.9 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=765): time 1.504e-05/0.641, allocations: 1.078 kB / 0.7823 GB, free: 164.9 MB / 0.6512 GB Notification: Performance of matching and sorting (n=767): time 0.05089/0.6919, allocations: 47.85 MB / 0.829 GB, free: 132.9 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002979/0.6922, allocations: 1.678 MB / 0.8307 GB, free: 130.8 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005706/0.6979, allocations: 5.67 MB / 0.8362 GB, free: 125.2 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/0.6992, allocations: 93.7 kB / 0.8363 GB, free: 125.1 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.7005, allocations: 2.82 MB / 0.839 GB, free: 122.6 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001537/0.7021, allocations: 2.605 MB / 0.8416 GB, free: 120.3 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001641/0.7037, allocations: 1.673 MB / 0.8432 GB, free: 118.6 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.7038, allocations: 305.1 kB / 0.8435 GB, free: 118.3 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004162/0.7079, allocations: 3.805 MB / 0.8472 GB, free: 114.5 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004979/0.7129, allocations: 7.155 MB / 0.8542 GB, free: 106.1 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1347/0.8476, allocations: 46.26 MB / 0.8994 GB, free: 59.91 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.115e-05/0.8476, allocations: 17.75 kB / 0.8994 GB, free: 59.89 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01595/0.8636, allocations: 11.71 MB / 0.9108 GB, free: 48.13 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.8636, allocations: 40.06 kB / 0.9109 GB, free: 48.09 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01026/0.8739, allocations: 9.003 MB / 0.9197 GB, free: 39.03 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02244/0.8963, allocations: 4.358 MB / 0.9239 GB, free: 34.7 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005616/0.9019, allocations: 2.257 MB / 0.9261 GB, free: 32.44 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004568/0.9065, allocations: 7.886 MB / 0.9338 GB, free: 24.22 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004975/0.9115, allocations: 400.3 kB / 0.9342 GB, free: 23.83 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005836/0.9121, allocations: 0.5064 MB / 0.9347 GB, free: 23.33 MB / 0.6512 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.006857/0.9189, allocations: 5.293 MB / 0.9399 GB, free: 18.02 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004643/0.9236, allocations: 7.094 MB / 0.9468 GB, free: 9.637 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1394/1.063, allocations: 46.05 MB / 0.9918 GB, free: 10.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.77e-05/1.063, allocations: 21.5 kB / 0.9918 GB, free: 10.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01725/1.08, allocations: 11.56 MB / 1.003 GB, free: 14.97 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/1.08, allocations: 39.94 kB / 1.003 GB, free: 14.93 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01153/1.092, allocations: 8.892 MB / 1.012 GB, free: 5.98 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02324/1.115, allocations: 4.263 MB / 1.016 GB, free: 1.734 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005267/1.12, allocations: 2.163 MB / 1.018 GB, free: 15.57 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005646/1.126, allocations: 6.719 MB / 1.025 GB, free: 8.488 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004552/1.13, allocations: 408.5 kB / 1.025 GB, free: 8.09 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000698/1.131, allocations: 0.5019 MB / 1.026 GB, free: 7.59 MB / 0.7293 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.002025/1.133, allocations: 0.6688 MB / 1.026 GB, free: 6.957 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/1.135, allocations: 0.7022 MB / 1.027 GB, free: 6.25 MB / 0.7293 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.301/1.436, allocations: 9.588 MB / 1.036 GB, free: 241.9 MB / 0.7293 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.256201040931046] Failed to read output from testmodel.py, exit status != 0: 1.6016963683068752 1.609375861 1.382013055 Calling exit ...