Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu.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.01694/0.01694, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.001793/0.001793, allocations: 77.78 kB / 24.88 MB, free: 6.828 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.002948/0.002948, allocations: 177 kB / 28.74 MB, free: 3.656 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 1.536/1.536, allocations: 177.1 MB / 209.6 MB, free: 2.359 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.201/1.201, allocations: 102.4 MB / 369.1 MB, free: 0.8359 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|plateHEX.flow_a.h|plateHEX.flow_b.h|plateHEX.thinWall.PI_1ph_in.outputI|plateHEX.thinWall.PI_2ph.outputI|plateHEX.thinWall.nTU.Q_flow_s.1.|plateHEX.thinWall.nTU.Q_flow_s.2.|plateHEX.thinWall.nTU.Q_flow_s.3.|plateHEX.thinWall.nTU.T_w_i.1.|plateHEX.thinWall.nTU.T_w_o.1.|plateHEX.thinWall.nTU.yps.1.|plateHEX.thinWall.nTU.yps.2.|plateHEX.thinWall.nTU.yps.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu") translateModel(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|plateHEX.flow_a.h|plateHEX.flow_b.h|plateHEX.thinWall.PI_1ph_in.outputI|plateHEX.thinWall.PI_2ph.outputI|plateHEX.thinWall.nTU.Q_flow_s.1.|plateHEX.thinWall.nTU.Q_flow_s.2.|plateHEX.thinWall.nTU.Q_flow_s.3.|plateHEX.thinWall.nTU.T_w_i.1.|plateHEX.thinWall.nTU.T_w_o.1.|plateHEX.thinWall.nTU.yps.1.|plateHEX.thinWall.nTU.yps.2.|plateHEX.thinWall.nTU.yps.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 469.1 MB, free: 12.94 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.851e-05/4.035e-05, allocations: 7.797 kB / 469.1 MB, free: 12.93 MB / 442.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_PlateHEXvle2vle_L3_2ph_ntu): time 0.5613/0.5614, allocations: 74.18 MB / 0.5306 GB, free: 68.78 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.04194/0.6033, allocations: 26.45 MB / 0.5564 GB, free: 51.11 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009322/0.6126, allocations: 146.3 kB / 0.5566 GB, free: 51.05 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.01087/0.6235, allocations: 2.809 MB / 0.5593 GB, free: 49.72 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01774/0.6413, allocations: 4.11 MB / 0.5633 GB, free: 47.09 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01862/0.6599, allocations: 5.328 MB / 0.5685 GB, free: 44.01 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02689/0.6868, allocations: 12.33 MB / 0.5805 GB, free: 37.34 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007419/0.6942, allocations: 3.459 MB / 0.5839 GB, free: 34.67 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0176/0.7118, allocations: 6.592 MB / 0.5904 GB, free: 29.89 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009887/0.7217, allocations: 4.046 MB / 0.5943 GB, free: 25.84 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003127/0.7248, allocations: 0.8711 MB / 0.5952 GB, free: 24.96 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009415/0.7342, allocations: 2.236 MB / 0.5973 GB, free: 22.73 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003896/0.7381, allocations: 2.619 MB / 0.5999 GB, free: 20.11 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009414/0.7475, allocations: 2.693 MB / 0.6025 GB, free: 17.41 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0238/0.7713, allocations: 13.7 MB / 0.6159 GB, free: 3.664 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.7713, allocations: 0 / 0.6159 GB, free: 3.664 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.366e-06/0.7713, allocations: 4 kB / 0.6159 GB, free: 3.66 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0006576/0.772, allocations: 0 / 0.6159 GB, free: 3.66 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.03039/0.8024, allocations: 9.49 MB / 0.6252 GB, free: 10.11 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.8024, allocations: 8.031 kB / 0.6252 GB, free: 10.1 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004919/0.8074, allocations: 1.298 MB / 0.6265 GB, free: 8.797 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01568/0.823, allocations: 6.073 MB / 0.6324 GB, free: 2.668 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003767/0.8234, allocations: 303.5 kB / 0.6327 GB, free: 2.371 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001763/0.8252, allocations: 394.6 kB / 0.6331 GB, free: 1.988 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03262/0.8578, allocations: 12.54 MB / 0.6453 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.8579, allocations: 48.22 kB / 0.6454 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005753/0.8585, allocations: 196 kB / 0.6455 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006418/0.8591, allocations: 461.8 kB / 0.646 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02355/0.8827, allocations: 7.012 MB / 0.6528 GB, free: 11.94 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09941/0.9821, allocations: 76.02 MB / 0.7271 GB, free: 12.85 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02007/1.002, allocations: 6.132 MB / 0.7331 GB, free: 6.449 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006381/1.009, allocations: 1.998 MB / 0.735 GB, free: 4.355 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/1.01, allocations: 280.3 kB / 0.7353 GB, free: 4.082 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/1.01, allocations: 96.09 kB / 0.7354 GB, free: 3.977 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=844): time 8.185e-06/1.01, allocations: 3.938 kB / 0.7354 GB, free: 3.973 MB / 0.6043 GB Notification: Performance of matching and sorting (n=844): time 0.2676/1.278, allocations: 13.06 MB / 0.7481 GB, free: 187.2 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002833/1.278, allocations: 1.088 MB / 0.7492 GB, free: 185.9 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/1.289, allocations: 6.721 MB / 0.7557 GB, free: 185.2 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001709/1.291, allocations: 79.17 kB / 0.7558 GB, free: 185.1 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003151/1.294, allocations: 3.303 MB / 0.759 GB, free: 182.9 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004401/1.299, allocations: 3.225 MB / 0.7622 GB, free: 180.8 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005749/1.304, allocations: 2.288 MB / 0.7644 GB, free: 179.9 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.221e-05/1.305, allocations: 479.3 kB / 0.7649 GB, free: 179.4 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006707/1.311, allocations: 2.817 MB / 0.7676 GB, free: 178.4 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0109/1.322, allocations: 7.248 MB / 0.7747 GB, free: 172.1 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02191/1.344, allocations: 12.59 MB / 0.787 GB, free: 163.7 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001549/1.344, allocations: 19.19 kB / 0.787 GB, free: 163.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.03102/1.375, allocations: 10.41 MB / 0.7972 GB, free: 158.8 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/1.375, allocations: 41.17 kB / 0.7972 GB, free: 158.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0236/1.399, allocations: 7.463 MB / 0.8045 GB, free: 152.2 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07592/1.475, allocations: 6.681 MB / 0.811 GB, free: 147.4 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008306/1.483, allocations: 2.125 MB / 0.8131 GB, free: 145.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008442/1.492, allocations: 8.75 MB / 0.8217 GB, free: 136.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007003/1.499, allocations: 0.8382 MB / 0.8225 GB, free: 135.3 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002099/1.501, allocations: 0.5725 MB / 0.823 GB, free: 134.7 MB / 0.6043 GB Warning: Assuming fixed start value for the following 6 variables: plateHEX.flow_a.h:VARIABLE(start = plateHEX.flow_a.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.flow_b.h:VARIABLE(start = plateHEX.flow_b.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.thinWall.nTU.T_w_i[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_i_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real [3] plateHEX.thinWall.nTU.T_w_o[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] plateHEX.thinWall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real plateHEX.thinWall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01088/1.512, allocations: 3.816 MB / 0.8268 GB, free: 130.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008605/1.52, allocations: 7.216 MB / 0.8338 GB, free: 122 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01891/1.539, allocations: 12.48 MB / 0.846 GB, free: 108.1 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000146/1.539, allocations: 20 kB / 0.846 GB, free: 108.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.02952/1.569, allocations: 10.26 MB / 0.856 GB, free: 97.84 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.908e-05/1.569, allocations: 43.88 kB / 0.8561 GB, free: 97.79 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02144/1.59, allocations: 7.291 MB / 0.8632 GB, free: 90.44 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009328/1.6, allocations: 1.731 MB / 0.8649 GB, free: 88.74 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007649/1.607, allocations: 2.161 MB / 0.867 GB, free: 86.58 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009343/1.617, allocations: 10.46 MB / 0.8772 GB, free: 75.59 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007717/1.624, allocations: 0.7099 MB / 0.8779 GB, free: 74.87 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002251/1.627, allocations: 0.566 MB / 0.8785 GB, free: 74.3 MB / 0.6043 GB Warning: Assuming fixed start value for the following 6 variables: plateHEX.flow_a.h:VARIABLE(start = plateHEX.flow_a.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.flow_b.h:VARIABLE(start = plateHEX.flow_b.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.thinWall.nTU.T_w_i[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_i_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real [3] plateHEX.thinWall.nTU.T_w_o[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] plateHEX.thinWall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real plateHEX.thinWall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 344 * Number of states: 0 () * Number of discrete variables: 4 (plateHEX.thinWall.nTU.smallShellFlow[2],plateHEX.thinWall.nTU.smallShellFlow[3],plateHEX.thinWall.nTU.smallShellFlow[1],plateHEX.thinWall.nTU.mass) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1109): * Single equations (assignments): 1103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,15), (1,14), (2,8), (2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.004265/1.631, allocations: 0.7804 MB / 0.8792 GB, free: 73.53 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004806/1.636, allocations: 0.7648 MB / 0.88 GB, free: 72.76 MB / 0.6043 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 1148 equation(s) and 1106 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (plateHEX.thinWall.nTU.O1_in.q, plateHEX.thinWall.nTU.O1_in.cp, plateHEX.thinWall.nTU.O1_in.cv, plateHEX.thinWall.nTU.O1_in.beta, plateHEX.thinWall.nTU.O1_in.kappa, plateHEX.thinWall.nTU.O1_in.drhodp_hxi, plateHEX.thinWall.nTU.O1_in.drhodh_pxi, _, plateHEX.thinWall.nTU.O1_in.w, plateHEX.thinWall.nTU.O1_in.gamma) = ($cse364, $cse365, $cse366, $cse367, $cse368, $cse369, $cse370, $cse371, $cse372, $cse373) has size 9 but 6 variables (plateHEX.flow_a.fluidOut.VLEAdditional.cp_l, plateHEX.flow_a.fluidOut.VLEAdditional.cp_v, plateHEX.flow_a.fluidOut.VLEAdditional.beta_l, plateHEX.flow_a.fluidOut.VLEAdditional.beta_v, plateHEX.flow_a.fluidOut.VLEAdditional.kappa_l, plateHEX.flow_a.fluidOut.VLEAdditional.kappa_v) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02162/1.657, allocations: 9.693 MB / 0.8894 GB, free: 63.62 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.833275779965334]