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.01028/0.01028, 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.001203/0.001203, allocations: 103.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.001476/0.001476, 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.436/1.436, allocations: 230.6 MB / 262.9 MB, free: 6.031 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.038/1.038, allocations: 130.7 MB / 450.4 MB, free: 6.578 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: 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.03206/0.03206, allocations: 20.61 MB / 0.6363 GB, free: 5.316 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.204, allocations: 81.91 MB / 0.7163 GB, free: 3.309 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.5236/0.7276, allocations: 58.99 MB / 0.7739 GB, free: 10.96 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04008/0.7677, allocations: 22.95 MB / 0.7964 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009285/0.7769, allocations: 145.5 kB / 0.7965 GB, free: 10.48 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.7885, allocations: 2.644 MB / 0.7991 GB, free: 8.988 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01669/0.8052, allocations: 3.686 MB / 0.8027 GB, free: 6.02 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01154/0.8167, allocations: 3.921 MB / 0.8065 GB, free: 3.043 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0188/0.8355, allocations: 9.921 MB / 0.8162 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006978/0.8425, allocations: 3.091 MB / 0.8192 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/0.8531, allocations: 4.161 MB / 0.8233 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009851/0.863, allocations: 4.272 MB / 0.8274 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003356/0.8663, allocations: 0.668 MB / 0.8281 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008422/0.8747, allocations: 2.578 MB / 0.8306 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003702/0.8785, allocations: 2.034 MB / 0.8326 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007442/0.8859, allocations: 3.556 MB / 0.8361 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02105/0.9069, allocations: 10.64 MB / 0.8465 GB, free: 13.86 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.907, allocations: 1.5 kB / 0.8465 GB, free: 13.86 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.865e-06/0.907, allocations: 0 / 0.8465 GB, free: 13.86 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0003101/0.9073, allocations: 0 / 0.8465 GB, free: 13.86 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.01773/0.925, allocations: 7.377 MB / 0.8537 GB, free: 6.434 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.925, allocations: 8.031 kB / 0.8537 GB, free: 6.426 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001529/0.9252, allocations: 98.58 kB / 0.8538 GB, free: 6.328 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001126/0.9263, allocations: 0.6055 MB / 0.8544 GB, free: 5.711 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002942/0.9293, allocations: 0.8998 MB / 0.8552 GB, free: 4.812 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.9406, allocations: 5.393 MB / 0.8605 GB, free: 15.35 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.9409, allocations: 246.3 kB / 0.8607 GB, free: 15.11 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007111/0.9416, allocations: 314.7 kB / 0.861 GB, free: 14.81 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/0.9623, allocations: 8.54 MB / 0.8694 GB, free: 5.34 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.412e-05/0.9624, allocations: 39.62 kB / 0.8694 GB, free: 5.301 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000434/0.9628, allocations: 164 kB / 0.8696 GB, free: 5.141 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/0.9631, allocations: 203.2 kB / 0.8698 GB, free: 4.941 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01975/0.9828, allocations: 6.551 MB / 0.8762 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04663/1.029, allocations: 35.26 MB / 0.9106 GB, free: 10.02 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01724/1.047, allocations: 5.554 MB / 0.916 GB, free: 4.324 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005183/1.052, allocations: 1.892 MB / 0.9179 GB, free: 2.379 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007583/1.053, allocations: 208.2 kB / 0.9181 GB, free: 2.176 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.848e-05/1.053, allocations: 87.58 kB / 0.9182 GB, free: 2.086 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003796/1.057, allocations: 0.6298 MB / 0.9188 GB, free: 1.457 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 9.368e-06/1.057, allocations: 0.75 kB / 0.9188 GB, free: 1.457 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.03699/1.094, allocations: 10.99 MB / 0.9295 GB, free: 6.418 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005835/1.094, allocations: 1.03 MB / 0.9305 GB, free: 5.148 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008398/1.102, allocations: 4.86 MB / 0.9353 GB, free: 320 kB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.00113/1.104, allocations: 69.7 kB / 0.9353 GB, free: 244 kB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.00224/1.106, allocations: 2.44 MB / 0.9377 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.003232/1.109, allocations: 2.424 MB / 0.9401 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003219/1.112, allocations: 1.473 MB / 0.9415 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.112, allocations: 306.8 kB / 0.9418 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006222/1.119, allocations: 2.667 MB / 0.9444 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008255/1.127, allocations: 4.778 MB / 0.9491 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1261/1.253, allocations: 20.49 MB / 0.9691 GB, free: 12.07 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.471e-05/1.253, allocations: 26.69 kB / 0.9691 GB, free: 12.05 MB / 0.7482 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.0225/1.276, allocations: 8.444 MB / 0.9774 GB, free: 3.547 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 6.439e-05/1.276, allocations: 32 kB / 0.9774 GB, free: 3.516 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01579/1.291, allocations: 6.163 MB / 0.9834 GB, free: 13.28 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007029/1.292, allocations: 213.6 kB / 0.9836 GB, free: 13.07 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007526/1.3, allocations: 2.005 MB / 0.9856 GB, free: 11.06 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/1.303, allocations: 2.919 MB / 0.9884 GB, free: 7.918 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005019/1.308, allocations: 323.8 kB / 0.9887 GB, free: 7.602 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/1.309, allocations: 495.6 kB / 0.9892 GB, free: 7.117 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.009317/1.319, allocations: 3.755 MB / 0.9929 GB, free: 3.355 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00792/1.326, allocations: 4.747 MB / 0.9975 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1261/1.453, allocations: 20.4 MB / 1.017 GB, free: 8.309 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.535e-05/1.453, allocations: 23.94 kB / 1.017 GB, free: 8.285 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.01934/1.472, allocations: 8.367 MB / 1.026 GB, free: 15.85 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/1.472, allocations: 35.83 kB / 1.026 GB, free: 15.82 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01401/1.486, allocations: 6.079 MB / 1.032 GB, free: 9.664 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005494/1.487, allocations: 185 kB / 1.032 GB, free: 9.48 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007528/1.494, allocations: 2.004 MB / 1.034 GB, free: 7.473 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/1.497, allocations: 2.878 MB / 1.037 GB, free: 4.375 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005071/1.502, allocations: 315.9 kB / 1.037 GB, free: 4.066 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/1.504, allocations: 491.6 kB / 1.037 GB, free: 3.586 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.002798/1.506, allocations: 0.6172 MB / 1.038 GB, free: 2.969 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00246/1.509, allocations: 0.6516 MB / 1.039 GB, free: 2.312 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.01792/1.527, allocations: 9.129 MB / 1.047 GB, free: 9.352 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.562902620993555] Failed to read output from testmodel.py, exit status != 0: 1.927754785050638 1.9395643359999999 1.029665651 Calling exit ...