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.01041/0.01041, allocations: 1.773 MB / 18.82 MB, free: 4.246 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.001175/0.001175, allocations: 111.6 kB / 22.07 MB, free: 0.9922 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.001485/0.001485, allocations: 209.2 kB / 25.45 MB, free: 3.25 MB / 14.72 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.518/1.518, allocations: 230.6 MB / 259.3 MB, free: 13.14 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.129/1.129, allocations: 130.6 MB / 446.3 MB, free: 14.61 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_1ph_kA,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_kA",fmuType="cs",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="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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4151/0.4151, allocations: 46.15 MB / 0.6552 GB, free: 30.39 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.61, allocations: 89.06 MB / 0.7422 GB, free: 2.676 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA): time 0.03197/0.642, allocations: 26.02 MB / 0.7676 GB, free: 8.559 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04335/0.6853, allocations: 22.66 MB / 0.7897 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006455/0.6918, allocations: 146.9 kB / 0.7898 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00815/0.6999, allocations: 2.63 MB / 0.7924 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01318/0.7131, allocations: 3.605 MB / 0.7959 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0113/0.7244, allocations: 3.86 MB / 0.7997 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01832/0.7428, allocations: 9.914 MB / 0.8094 GB, free: 13.61 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006894/0.7496, allocations: 3.145 MB / 0.8124 GB, free: 10.39 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00953/0.7592, allocations: 4.161 MB / 0.8165 GB, free: 6.219 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009012/0.7682, allocations: 4.251 MB / 0.8207 GB, free: 1.949 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.003026/0.7712, allocations: 0.668 MB / 0.8213 GB, free: 1.281 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007273/0.7785, allocations: 2.449 MB / 0.8237 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.003564/0.782, allocations: 2.036 MB / 0.8257 GB, free: 12.79 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.007067/0.7891, allocations: 3.552 MB / 0.8292 GB, free: 9.219 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.02166/0.8108, allocations: 10.6 MB / 0.8395 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.8108, allocations: 0 / 0.8395 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.424e-06/0.8108, allocations: 0 / 0.8395 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004609/0.8112, allocations: 0 / 0.8395 GB, free: 14.57 MB / 0.6544 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.02521/0.8365, allocations: 7.447 MB / 0.8468 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.8365, allocations: 12.02 kB / 0.8468 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001435/0.8367, allocations: 98.58 kB / 0.8469 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001983/0.8386, allocations: 0.6094 MB / 0.8475 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003981/0.8426, allocations: 0.894 MB / 0.8484 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.8553, allocations: 5.593 MB / 0.8538 GB, free: 15.73 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003575/0.8556, allocations: 246.4 kB / 0.8541 GB, free: 15.49 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.8569, allocations: 316 kB / 0.8544 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02596/0.8828, allocations: 8.542 MB / 0.8627 GB, free: 5.617 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/0.883, allocations: 43.56 kB / 0.8627 GB, free: 5.574 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001268/0.8843, allocations: 160 kB / 0.8629 GB, free: 5.418 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003606/0.8846, allocations: 200.5 kB / 0.8631 GB, free: 5.219 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4556/1.34, allocations: 6.552 MB / 0.8695 GB, free: 111.3 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03619/1.376, allocations: 35.36 MB / 0.904 GB, free: 84.33 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01497/1.391, allocations: 5.696 MB / 0.9096 GB, free: 81.83 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004139/1.396, allocations: 1.882 MB / 0.9114 GB, free: 80.71 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005686/1.396, allocations: 211.7 kB / 0.9116 GB, free: 80.65 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.894e-05/1.396, allocations: 87.39 kB / 0.9117 GB, free: 80.57 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003568/1.4, allocations: 0.6293 MB / 0.9123 GB, free: 80.28 MB / 0.67 GB Notification: Performance of pre-optimization done (n=712): time 1.198e-05/1.4, allocations: 0 / 0.9123 GB, free: 80.28 MB / 0.67 GB Notification: Performance of matching and sorting (n=712): time 0.03782/1.438, allocations: 11.14 MB / 0.9232 GB, free: 74.89 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002839/1.438, allocations: 1.028 MB / 0.9242 GB, free: 73.67 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/1.45, allocations: 4.865 MB / 0.9289 GB, free: 71.19 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001462/1.451, allocations: 69.67 kB / 0.929 GB, free: 71.12 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002028/1.453, allocations: 2.448 MB / 0.9314 GB, free: 69.17 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002701/1.456, allocations: 2.415 MB / 0.9338 GB, free: 67.36 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003576/1.46, allocations: 1.474 MB / 0.9352 GB, free: 66.54 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.554e-05/1.46, allocations: 306.7 kB / 0.9355 GB, free: 66.23 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005216/1.465, allocations: 2.671 MB / 0.9381 GB, free: 64.77 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006349/1.471, allocations: 4.782 MB / 0.9428 GB, free: 60.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1161/1.587, allocations: 20.49 MB / 0.9628 GB, free: 48.39 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.547e-05/1.587, allocations: 20 kB / 0.9628 GB, free: 48.37 MB / 0.67 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01853/1.606, allocations: 8.461 MB / 0.9711 GB, free: 40.28 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/1.606, allocations: 32 kB / 0.9711 GB, free: 40.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0118/1.618, allocations: 6.154 MB / 0.9771 GB, free: 34.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/1.618, allocations: 209.1 kB / 0.9773 GB, free: 33.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006054/1.624, allocations: 2.014 MB / 0.9793 GB, free: 31.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/1.626, allocations: 3.123 MB / 0.9823 GB, free: 28.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005344/1.632, allocations: 325.2 kB / 0.9826 GB, free: 28.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.633, allocations: 491.7 kB / 0.9831 GB, free: 27.75 MB / 0.67 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.007464/1.64, allocations: 3.748 MB / 0.9868 GB, free: 24 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005933/1.646, allocations: 4.758 MB / 0.9914 GB, free: 18.32 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1161/1.762, allocations: 20.39 MB / 1.011 GB, free: 12.98 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.768e-05/1.762, allocations: 20 kB / 1.011 GB, free: 12.96 MB / 0.6857 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02005/1.783, allocations: 8.37 MB / 1.02 GB, free: 4.535 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 5.818e-05/1.783, allocations: 36.72 kB / 1.02 GB, free: 4.5 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01446/1.797, allocations: 6.068 MB / 1.025 GB, free: 14.36 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005351/1.798, allocations: 181.7 kB / 1.026 GB, free: 14.18 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007177/1.805, allocations: 2.012 MB / 1.028 GB, free: 12.16 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/1.807, allocations: 3.076 MB / 1.031 GB, free: 8.816 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004772/1.812, allocations: 323.8 kB / 1.031 GB, free: 8.5 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001254/1.814, allocations: 495.6 kB / 1.031 GB, free: 8.016 MB / 0.7013 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.002152/1.816, allocations: 0.6266 MB / 1.032 GB, free: 7.426 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002276/1.818, allocations: 0.6361 MB / 1.033 GB, free: 6.785 MB / 0.7013 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.01792/1.836, allocations: 9.134 MB / 1.042 GB, free: 13.86 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.545212675002404] Failed to read output from testmodel.py, exit status != 0: 1.844129761971999 1.870928771 1.054790552 Calling exit ...