Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA.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.005824/0.005824, allocations: 1.446 MB / 20.54 MB, free: 4 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.0009434/0.0009434, allocations: 91.45 kB / 24.16 MB, free: 388 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.001122/0.001122, allocations: 164.9 kB / 27.86 MB, free: 5.496 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.8413/0.8413, allocations: 177.2 MB / 208.6 MB, free: 2.992 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.7076/0.7076, allocations: 102.5 MB / 367.9 MB, free: 1.488 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_1ph_kA,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_kA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_kA",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.5362 GB, free: 40.05 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.299e-05, allocations: 2.281 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_1ph_kA): time 0.1093/0.1093, allocations: 69.18 MB / 0.6038 GB, free: 7.289 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02576/0.135, allocations: 21.83 MB / 0.6251 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003765/0.1388, allocations: 142.9 kB / 0.6252 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004421/0.1432, allocations: 2.571 MB / 0.6277 GB, free: 14.67 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.007351/0.1506, allocations: 3.793 MB / 0.6314 GB, free: 10.85 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007613/0.1582, allocations: 3.996 MB / 0.6353 GB, free: 6.848 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01142/0.1696, allocations: 10.18 MB / 0.6453 GB, free: 12.64 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003959/0.1736, allocations: 3.339 MB / 0.6485 GB, free: 9.227 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006081/0.1797, allocations: 5.679 MB / 0.6541 GB, free: 3.535 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004084/0.1837, allocations: 3.482 MB / 0.6575 GB, free: 44 kB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0008167/0.1846, allocations: 0.668 MB / 0.6581 GB, free: 15.37 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.188, allocations: 1.985 MB / 0.6601 GB, free: 13.39 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.1893, allocations: 2.067 MB / 0.6621 GB, free: 11.31 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.1911, allocations: 2.209 MB / 0.6642 GB, free: 9.098 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.00989/0.201, allocations: 10.46 MB / 0.6745 GB, free: 14.61 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.201, allocations: 0 / 0.6745 GB, free: 14.61 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.493e-06/0.201, allocations: 0 / 0.6745 GB, free: 14.61 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001362/0.2012, allocations: 0 / 0.6745 GB, free: 14.61 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: 1318 * Number of variables: 1318 Notification: Performance of Generate backend data structure: time 0.009503/0.2107, allocations: 7.289 MB / 0.6816 GB, free: 7.238 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.2107, allocations: 15.97 kB / 0.6816 GB, free: 7.223 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005701/0.2113, allocations: 0.5977 MB / 0.6822 GB, free: 6.613 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.2128, allocations: 0.9018 MB / 0.6831 GB, free: 5.707 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00656/0.2194, allocations: 5.385 MB / 0.6883 GB, free: 236 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.2196, allocations: 262.4 kB / 0.6886 GB, free: 15.97 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/0.2199, allocations: 312 kB / 0.6889 GB, free: 15.67 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01231/0.2322, allocations: 10.05 MB / 0.6987 GB, free: 4.219 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.467e-05/0.2323, allocations: 43.61 kB / 0.6987 GB, free: 4.176 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000272/0.2326, allocations: 164 kB / 0.6989 GB, free: 4.016 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/0.2327, allocations: 196.5 kB / 0.6991 GB, free: 3.82 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.2434, allocations: 6.536 MB / 0.7054 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02548/0.2689, allocations: 33.36 MB / 0.738 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009729/0.2786, allocations: 5.536 MB / 0.7434 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002638/0.2813, allocations: 1.874 MB / 0.7453 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/0.2816, allocations: 181.7 kB / 0.7454 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.485e-05/0.2817, allocations: 84.94 kB / 0.7455 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002776/0.2845, allocations: 0.6363 MB / 0.7461 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=712): time 9.348e-06/0.2845, allocations: 0 / 0.7461 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of matching and sorting (n=712): time 0.01866/0.3032, allocations: 10.98 MB / 0.7569 GB, free: 7.16 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003098/0.3035, allocations: 1.039 MB / 0.7579 GB, free: 5.879 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005133/0.3086, allocations: 4.957 MB / 0.7627 GB, free: 0.9453 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002712/0.3089, allocations: 73.7 kB / 0.7628 GB, free: 0.8672 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.2561/0.565, allocations: 2.43 MB / 0.7652 GB, free: 178.9 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002163/0.5672, allocations: 2.383 MB / 0.7675 GB, free: 177.7 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/0.5689, allocations: 1.461 MB / 0.7689 GB, free: 177.5 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.116e-05/0.5689, allocations: 305.3 kB / 0.7692 GB, free: 177.2 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003241/0.5722, allocations: 2.668 MB / 0.7718 GB, free: 176 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003639/0.5758, allocations: 5.232 MB / 0.7769 GB, free: 171.7 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05888/0.6347, allocations: 20.51 MB / 0.7969 GB, free: 162.8 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.993e-05/0.6347, allocations: 17.5 kB / 0.797 GB, free: 162.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01125/0.646, allocations: 8.454 MB / 0.8052 GB, free: 158.3 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.646, allocations: 40.64 kB / 0.8053 GB, free: 158.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006644/0.6527, allocations: 6.161 MB / 0.8113 GB, free: 155.3 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003069/0.653, allocations: 211.8 kB / 0.8115 GB, free: 155.2 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/0.6559, allocations: 2.015 MB / 0.8134 GB, free: 153.1 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.6572, allocations: 2.903 MB / 0.8163 GB, free: 150 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.6594, allocations: 325.5 kB / 0.8166 GB, free: 149.7 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004148/0.6599, allocations: 495.6 kB / 0.8171 GB, free: 149.2 MB / 0.6512 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005685/0.6655, allocations: 3.745 MB / 0.8207 GB, free: 145.5 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00503/0.6706, allocations: 5.204 MB / 0.8258 GB, free: 139.2 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06017/0.7307, allocations: 20.41 MB / 0.8457 GB, free: 118.3 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.137e-05/0.7308, allocations: 16 kB / 0.8457 GB, free: 118.3 MB / 0.6512 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.01243/0.7432, allocations: 8.37 MB / 0.8539 GB, free: 109.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.7432, allocations: 39.92 kB / 0.854 GB, free: 109.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007511/0.7508, allocations: 6.075 MB / 0.8599 GB, free: 103.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/0.751, allocations: 185.6 kB / 0.8601 GB, free: 103.5 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003632/0.7546, allocations: 2.005 MB / 0.862 GB, free: 101.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.7559, allocations: 2.855 MB / 0.8648 GB, free: 98.37 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003401/0.7593, allocations: 315.9 kB / 0.8651 GB, free: 98.06 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008477/0.7602, allocations: 491.7 kB / 0.8656 GB, free: 97.58 MB / 0.6512 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 286 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (991): * Single equations (assignments): 989 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001539/0.7617, allocations: 0.6187 MB / 0.8662 GB, free: 97 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/0.7632, allocations: 0.64 MB / 0.8668 GB, free: 96.36 MB / 0.6512 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 1136 equation(s) and 1082 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (valve_shell1.fluidIn.q, valve_shell1.fluidIn.cp, valve_shell1.fluidIn.cv, valve_shell1.fluidIn.beta, valve_shell1.fluidIn.kappa, valve_shell1.fluidIn.drhodp_hxi, valve_shell1.fluidIn.drhodh_pxi, _, valve_shell1.fluidIn.w, valve_shell1.fluidIn.gamma) = ($cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441) has size 9 but 8 variables ($cse189, $cse190, $cse191, $cse192, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.Pr, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.lambda, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.eta, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009829/0.773, allocations: 9.165 MB / 0.8758 GB, free: 87.51 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.481132329441607] Failed to read output from testmodel.py, exit status != 0: 0.927038892172277 0.936745014 0.733985121 Calling exit ...