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.01057/0.01057, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001389/0.001389, allocations: 109.5 kB / 24.19 MB, free: 2.688 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.001756/0.001756, allocations: 206.6 kB / 27.92 MB, free: 4.027 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.525/1.525, allocations: 230.6 MB / 262.1 MB, free: 6.023 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.555 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="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: 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.03295/0.03295, allocations: 20.79 MB / 0.6358 GB, free: 5.129 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.2099, allocations: 81.9 MB / 0.7157 GB, free: 3.137 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_1ph_kA): time 0.5759/0.7858, allocations: 59 MB / 0.7734 GB, free: 10.9 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04366/0.8295, allocations: 22.95 MB / 0.7958 GB, free: 10.49 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01227/0.8417, allocations: 144.2 kB / 0.7959 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.8525, allocations: 2.646 MB / 0.7985 GB, free: 8.922 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.8666, allocations: 3.681 MB / 0.8021 GB, free: 5.953 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01116/0.8778, allocations: 3.926 MB / 0.8059 GB, free: 2.973 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01899/0.8968, allocations: 9.907 MB / 0.8156 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006998/0.9038, allocations: 3.095 MB / 0.8186 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01127/0.915, allocations: 4.161 MB / 0.8227 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009734/0.9248, allocations: 4.277 MB / 0.8269 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002959/0.9277, allocations: 0.6641 MB / 0.8275 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008257/0.936, allocations: 2.586 MB / 0.83 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004035/0.94, allocations: 2.036 MB / 0.832 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008623/0.9486, allocations: 3.55 MB / 0.8355 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02182/0.9705, allocations: 10.64 MB / 0.8459 GB, free: 13.76 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.9705, allocations: 4 kB / 0.8459 GB, free: 13.75 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9705, allocations: 0 / 0.8459 GB, free: 13.75 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0003751/0.9709, allocations: 0 / 0.8459 GB, free: 13.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: 1318 * Number of variables: 1318 Notification: Performance of Generate backend data structure: time 0.01862/0.9895, allocations: 7.382 MB / 0.8531 GB, free: 6.324 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/0.9895, allocations: 12.03 kB / 0.8531 GB, free: 6.312 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001255/0.9908, allocations: 0.5977 MB / 0.8537 GB, free: 5.703 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/0.9936, allocations: 0.8901 MB / 0.8545 GB, free: 4.809 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/1.007, allocations: 5.395 MB / 0.8598 GB, free: 15.35 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/1.007, allocations: 253 kB / 0.8601 GB, free: 15.11 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009055/1.008, allocations: 308 kB / 0.8603 GB, free: 14.8 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02167/1.03, allocations: 8.535 MB / 0.8687 GB, free: 5.34 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.674e-05/1.03, allocations: 42.28 kB / 0.8687 GB, free: 5.301 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004954/1.03, allocations: 167.9 kB / 0.8689 GB, free: 5.137 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002274/1.031, allocations: 196.5 kB / 0.8691 GB, free: 4.941 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02087/1.051, allocations: 6.556 MB / 0.8755 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05077/1.102, allocations: 35.27 MB / 0.9099 GB, free: 10.01 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01668/1.119, allocations: 5.546 MB / 0.9153 GB, free: 4.324 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005157/1.124, allocations: 1.885 MB / 0.9172 GB, free: 2.383 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008003/1.125, allocations: 216.1 kB / 0.9174 GB, free: 2.172 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.942e-05/1.125, allocations: 94.22 kB / 0.9175 GB, free: 2.078 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003908/1.129, allocations: 0.6298 MB / 0.9181 GB, free: 1.449 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 1.167e-05/1.129, allocations: 0 / 0.9181 GB, free: 1.449 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.03954/1.168, allocations: 10.99 MB / 0.9288 GB, free: 6.414 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007817/1.169, allocations: 1.022 MB / 0.9298 GB, free: 5.152 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009305/1.179, allocations: 4.87 MB / 0.9346 GB, free: 316 kB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001244/1.18, allocations: 73.7 kB / 0.9346 GB, free: 236 kB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.002428/1.182, allocations: 2.437 MB / 0.937 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.003506/1.186, allocations: 2.419 MB / 0.9394 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002931/1.189, allocations: 1.474 MB / 0.9408 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.189, allocations: 305.1 kB / 0.9411 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00591/1.195, allocations: 2.673 MB / 0.9437 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008431/1.203, allocations: 4.777 MB / 0.9484 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1304/1.334, allocations: 20.49 MB / 0.9684 GB, free: 12.06 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.462e-05/1.334, allocations: 20 kB / 0.9684 GB, free: 12.04 MB / 0.7482 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02208/1.356, allocations: 8.453 MB / 0.9767 GB, free: 3.527 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/1.356, allocations: 32 kB / 0.9767 GB, free: 3.496 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01536/1.371, allocations: 6.156 MB / 0.9827 GB, free: 13.27 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007087/1.372, allocations: 209.6 kB / 0.9829 GB, free: 13.06 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007687/1.379, allocations: 2.016 MB / 0.9849 GB, free: 11.04 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003203/1.383, allocations: 2.905 MB / 0.9877 GB, free: 7.914 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005132/1.388, allocations: 331.9 kB / 0.988 GB, free: 7.59 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001644/1.389, allocations: 487.6 kB / 0.9885 GB, free: 7.113 MB / 0.7638 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.009707/1.399, allocations: 3.758 MB / 0.9922 GB, free: 3.348 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008751/1.408, allocations: 4.747 MB / 0.9968 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1279/1.536, allocations: 20.41 MB / 1.017 GB, free: 8.293 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.434e-05/1.536, allocations: 16 kB / 1.017 GB, free: 8.277 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02179/1.558, allocations: 8.377 MB / 1.025 GB, free: 15.84 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/1.558, allocations: 36.25 kB / 1.025 GB, free: 15.8 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01514/1.573, allocations: 6.079 MB / 1.031 GB, free: 9.648 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005008/1.573, allocations: 181.7 kB / 1.031 GB, free: 9.465 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00738/1.581, allocations: 2.006 MB / 1.033 GB, free: 7.457 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002824/1.584, allocations: 2.868 MB / 1.036 GB, free: 4.367 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/1.588, allocations: 320 kB / 1.036 GB, free: 4.055 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001392/1.59, allocations: 491.7 kB / 1.037 GB, free: 3.574 MB / 0.8107 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.002123/1.592, allocations: 0.6183 MB / 1.037 GB, free: 2.953 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002364/1.594, allocations: 0.64 MB / 1.038 GB, free: 2.309 MB / 0.8107 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.01858/1.613, allocations: 9.14 MB / 1.047 GB, free: 9.332 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.844875150127336] Failed to read output from testmodel.py, exit status != 0: 1.9839829241391271 1.999607199 1.025137902 Calling exit ...