Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.005897/0.005897, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0008366/0.0008366, 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.0007405/0.0007405, allocations: 160.5 kB / 27.85 MB, free: 5.098 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.8847/0.8847, allocations: 177.2 MB / 208.6 MB, free: 2.961 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.7292/0.7292, allocations: 102.5 MB / 367.9 MB, free: 1.461 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_PlateHEXvle2vle_L3_2ph_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_PlateHEXvle2vle_L3_2ph_ntu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_PlateHEXvle2vle_L3_2ph_ntu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.5362 GB, free: 40.11 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.741e-05, allocations: 2.281 kB / 0.5362 GB, free: 40.11 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_PlateHEXvle2vle_L3_2ph_ntu): time 0.1249/0.125, allocations: 70.45 MB / 0.605 GB, free: 6.031 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03458/0.1595, allocations: 25.74 MB / 0.6301 GB, free: 12.22 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006586/0.1661, allocations: 146.9 kB / 0.6302 GB, free: 12.08 MB / 0.5262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.00846/0.1746, allocations: 2.816 MB / 0.633 GB, free: 9.246 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01494/0.1895, allocations: 4.107 MB / 0.637 GB, free: 5.113 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0152/0.2047, allocations: 5.339 MB / 0.6422 GB, free: 15.77 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.0193/0.224, allocations: 12.3 MB / 0.6542 GB, free: 3.418 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006875/0.2309, allocations: 3.334 MB / 0.6575 GB, free: 16 kB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01522/0.2461, allocations: 6.583 MB / 0.6639 GB, free: 9.418 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007483/0.2536, allocations: 4.027 MB / 0.6679 GB, free: 5.379 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.002759/0.2564, allocations: 0.875 MB / 0.6687 GB, free: 4.504 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006638/0.263, allocations: 2.242 MB / 0.6709 GB, free: 2.258 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.003787/0.2668, allocations: 2.605 MB / 0.6734 GB, free: 15.64 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.006741/0.2735, allocations: 2.685 MB / 0.6761 GB, free: 12.95 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0197/0.2932, allocations: 13.66 MB / 0.6894 GB, free: 15.26 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.2932, allocations: 0 / 0.6894 GB, free: 15.26 MB / 0.5887 GB Notification: Performance of FrontEnd: time 3.296e-06/0.2932, allocations: 4 kB / 0.6894 GB, free: 15.25 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0006521/0.2939, allocations: 4 kB / 0.6894 GB, free: 15.25 MB / 0.5887 GB 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.02255/0.3164, allocations: 8.183 MB / 0.6974 GB, free: 6.98 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3165, allocations: 8.031 kB / 0.6974 GB, free: 6.973 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001943/0.3184, allocations: 0.7386 MB / 0.6981 GB, free: 6.223 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002628/0.3211, allocations: 0.9988 MB / 0.6991 GB, free: 5.219 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/0.3328, allocations: 6.264 MB / 0.7052 GB, free: 14.86 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/0.333, allocations: 299.6 kB / 0.7055 GB, free: 14.57 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.3342, allocations: 367.9 kB / 0.7059 GB, free: 14.21 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01952/0.3537, allocations: 11.85 MB / 0.7174 GB, free: 0.9648 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/0.3538, allocations: 47.56 kB / 0.7175 GB, free: 0.918 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007747/0.3546, allocations: 196 kB / 0.7177 GB, free: 0.7266 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00057/0.3552, allocations: 461.8 kB / 0.7181 GB, free: 280 kB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0197/0.3749, allocations: 8.049 MB / 0.726 GB, free: 8.207 MB / 0.6199 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3557/0.7306, allocations: 42.9 MB / 0.7679 GB, free: 147 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/0.7436, allocations: 6.566 MB / 0.7743 GB, free: 146.3 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004452/0.7481, allocations: 2.313 MB / 0.7765 GB, free: 145.1 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008346/0.7489, allocations: 254.3 kB / 0.7768 GB, free: 145.1 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.255e-05/0.749, allocations: 102.5 kB / 0.7769 GB, free: 145 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=844): time 1.142e-05/0.749, allocations: 0.6875 kB / 0.7769 GB, free: 145 MB / 0.6512 GB Notification: Performance of matching and sorting (n=844): time 0.03459/0.7836, allocations: 13.62 MB / 0.7902 GB, free: 139.6 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002469/0.7839, allocations: 1.08 MB / 0.7912 GB, free: 138.3 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/0.7947, allocations: 5.412 MB / 0.7965 GB, free: 135.6 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001759/0.7965, allocations: 79.36 kB / 0.7966 GB, free: 135.5 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001994/0.7985, allocations: 2.696 MB / 0.7992 GB, free: 133.4 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.003866/0.8024, allocations: 2.823 MB / 0.802 GB, free: 131.3 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00529/0.8077, allocations: 1.721 MB / 0.8037 GB, free: 130.3 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.8077, allocations: 305.1 kB / 0.8039 GB, free: 130 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005201/0.8129, allocations: 3.322 MB / 0.8072 GB, free: 128.1 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006368/0.8193, allocations: 6.2 MB / 0.8132 GB, free: 122.5 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07201/0.8913, allocations: 23.36 MB / 0.8361 GB, free: 102.5 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.617e-05/0.8914, allocations: 24 kB / 0.8361 GB, free: 102.5 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.02062/0.912, allocations: 11.23 MB / 0.8471 GB, free: 91.29 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/0.912, allocations: 37.41 kB / 0.8471 GB, free: 91.25 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01388/0.9259, allocations: 8.666 MB / 0.8556 GB, free: 82.54 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03365/0.9595, allocations: 6.113 MB / 0.8615 GB, free: 76.7 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005881/0.9654, allocations: 2.136 MB / 0.8636 GB, free: 74.57 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00651/0.9719, allocations: 7.726 MB / 0.8712 GB, free: 66.52 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007871/0.9798, allocations: 0.903 MB / 0.872 GB, free: 65.84 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002506/0.9823, allocations: 0.5725 MB / 0.8726 GB, free: 65.27 MB / 0.6512 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[1] 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[1] 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.009591/0.9919, allocations: 4.815 MB / 0.8773 GB, free: 60.46 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006068/0.998, allocations: 6.162 MB / 0.8833 GB, free: 53.07 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0693/1.067, allocations: 22.94 MB / 0.9057 GB, free: 29.13 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.048e-05/1.067, allocations: 24 kB / 0.9057 GB, free: 29.11 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.02023/1.088, allocations: 11.04 MB / 0.9165 GB, free: 17.98 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/1.088, allocations: 36 kB / 0.9166 GB, free: 17.94 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01418/1.102, allocations: 8.466 MB / 0.9248 GB, free: 9.383 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003252/1.105, allocations: 1.34 MB / 0.9261 GB, free: 8.031 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004751/1.11, allocations: 2.157 MB / 0.9282 GB, free: 5.871 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006031/1.116, allocations: 8.95 MB / 0.937 GB, free: 12.43 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005609/1.121, allocations: 0.7221 MB / 0.9377 GB, free: 11.79 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002098/1.124, allocations: 0.566 MB / 0.9382 GB, free: 11.22 MB / 0.6668 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[1] 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[1] 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.002881/1.126, allocations: 0.7073 MB / 0.9389 GB, free: 10.51 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003156/1.13, allocations: 0.7059 MB / 0.9396 GB, free: 9.797 MB / 0.6668 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.01759/1.147, allocations: 10.26 MB / 0.9496 GB, free: 15.73 MB / 0.6824 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.029160223901272] Failed to read output from testmodel.py, exit status != 0: 1.3471621638163924 1.355868514 1.060565043 Calling exit ...