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.009383/0.009383, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.0009252/0.0009252, allocations: 91.45 kB / 24.16 MB, free: 396 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.000881/0.000881, allocations: 165.8 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.8262/0.8262, allocations: 177.1 MB / 208.6 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.6997/0.6997, allocations: 102.5 MB / 367.9 MB, free: 1.492 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.633e-06/1.633e-06, allocations: 0 / 0.5362 GB, free: 40.08 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.087e-05, allocations: 5.031 kB / 0.5362 GB, free: 40.07 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.1203/0.1203, allocations: 69.17 MB / 0.6038 GB, free: 7.281 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02971/0.15, allocations: 21.84 MB / 0.6251 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004805/0.1548, allocations: 142.9 kB / 0.6252 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.006108/0.1609, allocations: 2.575 MB / 0.6277 GB, free: 14.65 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.1716, allocations: 3.793 MB / 0.6314 GB, free: 10.83 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007705/0.1793, allocations: 3.992 MB / 0.6353 GB, free: 6.832 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01504/0.1943, allocations: 10.18 MB / 0.6453 GB, free: 12.62 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006883/0.2012, allocations: 3.343 MB / 0.6485 GB, free: 9.203 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01282/0.214, allocations: 5.675 MB / 0.6541 GB, free: 3.516 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00604/0.2201, allocations: 3.478 MB / 0.6575 GB, free: 28 kB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001729/0.2218, allocations: 0.668 MB / 0.6581 GB, free: 15.36 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004963/0.2267, allocations: 1.988 MB / 0.6601 GB, free: 13.37 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.002396/0.2291, allocations: 2.063 MB / 0.6621 GB, free: 11.3 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.004081/0.2332, allocations: 2.205 MB / 0.6642 GB, free: 9.086 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.2457, allocations: 10.46 MB / 0.6745 GB, free: 14.59 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.2457, allocations: 4 kB / 0.6745 GB, free: 14.59 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2457, allocations: 4 kB / 0.6745 GB, free: 14.58 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003188/0.246, allocations: 0 / 0.6745 GB, free: 14.58 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.01281/0.2588, allocations: 7.285 MB / 0.6816 GB, free: 7.219 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.2589, allocations: 12.03 kB / 0.6816 GB, free: 7.207 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007664/0.2597, allocations: 0.5977 MB / 0.6822 GB, free: 6.598 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.2614, allocations: 0.9018 MB / 0.6831 GB, free: 5.691 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00895/0.2704, allocations: 5.397 MB / 0.6883 GB, free: 208 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.2706, allocations: 246.4 kB / 0.6886 GB, free: 15.96 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006574/0.2712, allocations: 315.9 kB / 0.6889 GB, free: 15.65 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01556/0.2868, allocations: 10.05 MB / 0.6987 GB, free: 4.207 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.766e-05/0.2869, allocations: 43.62 kB / 0.6987 GB, free: 4.164 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004762/0.2873, allocations: 163.9 kB / 0.6989 GB, free: 4.004 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001534/0.2875, allocations: 200.5 kB / 0.6991 GB, free: 3.805 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01235/0.2998, allocations: 6.536 MB / 0.7054 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03086/0.3307, allocations: 33.36 MB / 0.738 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/0.341, allocations: 5.536 MB / 0.7434 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003116/0.3441, allocations: 1.874 MB / 0.7453 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004942/0.3446, allocations: 185.6 kB / 0.7454 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.911e-05/0.3447, allocations: 92.94 kB / 0.7455 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002528/0.3472, allocations: 0.6284 MB / 0.7461 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=712): time 1.397e-05/0.3472, allocations: 4 kB / 0.7461 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=712): time 0.02247/0.3697, allocations: 10.98 MB / 0.7569 GB, free: 7.145 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003575/0.37, allocations: 1.028 MB / 0.7579 GB, free: 5.875 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007342/0.3774, allocations: 4.968 MB / 0.7627 GB, free: 0.9297 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001056/0.3784, allocations: 77.7 kB / 0.7628 GB, free: 0.8477 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.2728/0.6513, allocations: 2.422 MB / 0.7652 GB, free: 179 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002361/0.6536, allocations: 2.383 MB / 0.7675 GB, free: 177.7 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002063/0.6557, allocations: 1.462 MB / 0.7689 GB, free: 177.5 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 4.301e-05/0.6557, allocations: 305.2 kB / 0.7692 GB, free: 177.2 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00368/0.6594, allocations: 2.669 MB / 0.7718 GB, free: 176.1 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004146/0.6636, allocations: 5.23 MB / 0.7769 GB, free: 171.8 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06231/0.7259, allocations: 20.5 MB / 0.7969 GB, free: 162.8 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.48e-05/0.7259, allocations: 21.78 kB / 0.797 GB, free: 162.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01455/0.7405, allocations: 8.454 MB / 0.8052 GB, free: 158.3 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.7405, allocations: 36.88 kB / 0.8053 GB, free: 158.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00766/0.7482, allocations: 6.163 MB / 0.8113 GB, free: 155.3 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000386/0.7486, allocations: 210.8 kB / 0.8115 GB, free: 155.2 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/0.752, allocations: 2.015 MB / 0.8134 GB, free: 153.1 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.7536, allocations: 2.904 MB / 0.8163 GB, free: 150 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003242/0.7569, allocations: 319.2 kB / 0.8166 GB, free: 149.7 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000647/0.7575, allocations: 499.8 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.005545/0.763, allocations: 3.753 MB / 0.8207 GB, free: 145.5 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004068/0.7671, allocations: 5.204 MB / 0.8258 GB, free: 139.2 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05661/0.8237, allocations: 20.4 MB / 0.8457 GB, free: 118.3 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.148e-05/0.8238, allocations: 24 kB / 0.8457 GB, free: 118.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.01326/0.837, allocations: 8.372 MB / 0.8539 GB, free: 109.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.8371, allocations: 38.23 kB / 0.854 GB, free: 109.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007977/0.845, allocations: 6.077 MB / 0.8599 GB, free: 103.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.8453, allocations: 177.7 kB / 0.8601 GB, free: 103.4 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0036/0.8489, allocations: 2.008 MB / 0.862 GB, free: 101.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.8503, allocations: 2.856 MB / 0.8648 GB, free: 98.35 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003774/0.854, allocations: 320 kB / 0.8651 GB, free: 98.04 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/0.8552, allocations: 487.7 kB / 0.8656 GB, free: 97.56 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.002006/0.8572, allocations: 0.6231 MB / 0.8662 GB, free: 96.98 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001848/0.8591, allocations: 0.64 MB / 0.8668 GB, free: 96.34 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.01039/0.8695, allocations: 9.161 MB / 0.8758 GB, free: 87.49 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.589970748871565] Failed to read output from testmodel.py, exit status != 0: 1.0303651597350836 1.041370868 0.793538129 Calling exit ...