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.006263/0.006263, allocations: 1.439 MB / 21.29 MB, free: 3.258 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.0007355/0.0007355, allocations: 90.64 kB / 24.91 MB, free: 6.746 MB / 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.0007256/0.0007256, allocations: 169 kB / 28.62 MB, free: 4.301 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.8499/0.8499, allocations: 177.2 MB / 209.4 MB, free: 2.977 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.7497/0.7497, allocations: 102.5 MB / 368.7 MB, free: 1.477 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: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hEXvle2vle_L3_1ph_BU_ntu.shell.h|hEXvle2vle_L3_1ph_BU_ntu.shell.p|hEXvle2vle_L3_1ph_BU_ntu.tubes.h|hEXvle2vle_L3_1ph_BU_ntu.tubes.p|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_a|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_i",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hEXvle2vle_L3_1ph_BU_ntu.shell.h|hEXvle2vle_L3_1ph_BU_ntu.shell.p|hEXvle2vle_L3_1ph_BU_ntu.tubes.h|hEXvle2vle_L3_1ph_BU_ntu.tubes.p|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_a|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_i",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5374 GB, free: 39.82 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.339e-05, allocations: 3.25 kB / 0.5374 GB, free: 39.82 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.1214/0.1214, allocations: 69.18 MB / 0.605 GB, free: 6.777 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02841/0.1498, allocations: 21.83 MB / 0.6263 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00458/0.1544, allocations: 146.9 kB / 0.6264 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004788/0.1592, allocations: 2.579 MB / 0.629 GB, free: 14.14 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.007882/0.1671, allocations: 3.797 MB / 0.6327 GB, free: 10.32 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007064/0.1741, allocations: 3.98 MB / 0.6366 GB, free: 6.332 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0121/0.1862, allocations: 10.18 MB / 0.6465 GB, free: 12.12 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004922/0.1912, allocations: 3.339 MB / 0.6498 GB, free: 8.707 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00779/0.1989, allocations: 5.679 MB / 0.6553 GB, free: 3.016 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004777/0.2037, allocations: 3.481 MB / 0.6587 GB, free: 15.53 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001655/0.2054, allocations: 0.6641 MB / 0.6593 GB, free: 14.86 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.2088, allocations: 1.985 MB / 0.6613 GB, free: 12.88 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.2101, allocations: 2.063 MB / 0.6633 GB, free: 10.8 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.002398/0.2125, allocations: 2.209 MB / 0.6655 GB, free: 8.59 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.009574/0.2221, allocations: 10.46 MB / 0.6757 GB, free: 14.09 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2221, allocations: 4 kB / 0.6757 GB, free: 14.09 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2221, allocations: 0 / 0.6757 GB, free: 14.09 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001109/0.2222, allocations: 0 / 0.6757 GB, free: 14.09 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.008452/0.2306, allocations: 7.301 MB / 0.6828 GB, free: 6.711 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 7e-05/0.2307, allocations: 8.031 kB / 0.6828 GB, free: 6.703 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.2323, allocations: 0.894 MB / 0.6837 GB, free: 5.805 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006375/0.2387, allocations: 5.399 MB / 0.689 GB, free: 324 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.2388, allocations: 250.4 kB / 0.6892 GB, free: 72 kB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/0.2392, allocations: 320.1 kB / 0.6895 GB, free: 15.75 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.2504, allocations: 10.05 MB / 0.6993 GB, free: 4.312 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.105e-05/0.2504, allocations: 43.56 kB / 0.6994 GB, free: 4.27 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/0.2507, allocations: 164 kB / 0.6995 GB, free: 4.109 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.2508, allocations: 204.5 kB / 0.6997 GB, free: 3.906 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.2611, allocations: 6.524 MB / 0.7061 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02314/0.2842, allocations: 32.85 MB / 0.7382 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008755/0.293, allocations: 5.528 MB / 0.7436 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002317/0.2953, allocations: 1.882 MB / 0.7454 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003528/0.2956, allocations: 181.6 kB / 0.7456 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.527e-05/0.2957, allocations: 92.92 kB / 0.7457 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001973/0.2977, allocations: 0.6169 MB / 0.7463 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=712): time 1.521e-05/0.2977, allocations: 0 / 0.7463 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=712): time 0.01836/0.316, allocations: 10.98 MB / 0.757 GB, free: 7.805 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003432/0.3164, allocations: 1.028 MB / 0.758 GB, free: 6.535 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005317/0.3217, allocations: 4.865 MB / 0.7627 GB, free: 1.684 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002845/0.322, allocations: 69.7 kB / 0.7628 GB, free: 1.609 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.2821/0.6041, allocations: 2.451 MB / 0.7652 GB, free: 178.5 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002091/0.6062, allocations: 2.38 MB / 0.7675 GB, free: 177.5 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001791/0.608, allocations: 1.457 MB / 0.7689 GB, free: 177.3 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.013e-05/0.608, allocations: 302.1 kB / 0.7692 GB, free: 177 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003252/0.6113, allocations: 2.672 MB / 0.7718 GB, free: 176.3 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003763/0.615, allocations: 5.232 MB / 0.777 GB, free: 172 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06057/0.6756, allocations: 20.51 MB / 0.797 GB, free: 163.2 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-05/0.6757, allocations: 17.5 kB / 0.797 GB, free: 163.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01279/0.6885, allocations: 8.452 MB / 0.8053 GB, free: 158.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.6885, allocations: 33.59 kB / 0.8053 GB, free: 158.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007426/0.6959, allocations: 6.16 MB / 0.8113 GB, free: 155.7 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/0.6963, allocations: 212.9 kB / 0.8115 GB, free: 155.7 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003105/0.6994, allocations: 2.005 MB / 0.8135 GB, free: 153.8 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.7009, allocations: 2.86 MB / 0.8163 GB, free: 150.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/0.7038, allocations: 323.7 kB / 0.8166 GB, free: 150.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004513/0.7042, allocations: 495.6 kB / 0.817 GB, free: 150 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.005421/0.7096, allocations: 3.75 MB / 0.8207 GB, free: 146.2 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003382/0.713, allocations: 5.202 MB / 0.8258 GB, free: 140 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05607/0.7691, allocations: 20.42 MB / 0.8457 GB, free: 119 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.826e-05/0.7691, allocations: 20 kB / 0.8457 GB, free: 119 MB / 0.6512 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.009833/0.7789, allocations: 8.367 MB / 0.8539 GB, free: 110.6 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.779, allocations: 32 kB / 0.8539 GB, free: 110.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006715/0.7857, allocations: 6.075 MB / 0.8599 GB, free: 104.4 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.7859, allocations: 185.6 kB / 0.8601 GB, free: 104.2 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003114/0.789, allocations: 2.001 MB / 0.862 GB, free: 102.2 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.7901, allocations: 2.818 MB / 0.8648 GB, free: 99.17 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/0.7928, allocations: 316.2 kB / 0.8651 GB, free: 98.86 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004126/0.7932, allocations: 487.7 kB / 0.8655 GB, free: 98.39 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.001414/0.7946, allocations: 0.6134 MB / 0.8661 GB, free: 97.81 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008319/0.7954, allocations: 0.64 MB / 0.8667 GB, free: 97.16 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.008455/0.8039, allocations: 9.164 MB / 0.8757 GB, free: 88.32 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.6396028604358435] Failed to read output from testmodel.py, exit status != 0: 0.9501789808273315 0.959055948 0.735185959 Calling exit ...