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.01064/0.01064, allocations: 1.76 MB / 20.59 MB, free: 1.285 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.001333/0.001333, allocations: 108.4 kB / 24.19 MB, free: 2.691 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.001695/0.001695, allocations: 205.2 kB / 27.92 MB, free: 4.027 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.46/1.46, allocations: 230.6 MB / 262.1 MB, free: 6 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.09/1.09, allocations: 130.7 MB / 449.7 MB, free: 6.738 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_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: 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.03405/0.03405, allocations: 20.8 MB / 0.6357 GB, free: 5.117 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.2178, allocations: 81.9 MB / 0.7157 GB, free: 3.121 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_PlateHEXvle2vle_L3_2ph_ntu): time 0.5369/0.7547, allocations: 60.53 MB / 0.7748 GB, free: 9.754 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04764/0.8024, allocations: 27.03 MB / 0.8012 GB, free: 6.383 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009374/0.8117, allocations: 149.5 kB / 0.8014 GB, free: 6.316 MB / 0.5763 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.009053/0.8208, allocations: 2.914 MB / 0.8042 GB, free: 4.273 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01586/0.8366, allocations: 3.983 MB / 0.8081 GB, free: 1.02 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01516/0.8518, allocations: 5.252 MB / 0.8132 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02464/0.8764, allocations: 12.01 MB / 0.825 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007017/0.8835, allocations: 3.093 MB / 0.828 GB, free: 148 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01174/0.8952, allocations: 4.742 MB / 0.8326 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01073/0.9059, allocations: 4.798 MB / 0.8373 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003633/0.9096, allocations: 0.8776 MB / 0.8382 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/0.9197, allocations: 2.85 MB / 0.8409 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005422/0.9251, allocations: 2.547 MB / 0.8434 GB, free: 312 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01078/0.9359, allocations: 4.334 MB / 0.8477 GB, free: 11.95 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02508/0.9609, allocations: 13.78 MB / 0.8611 GB, free: 14.13 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.961, allocations: 4 kB / 0.8611 GB, free: 14.12 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.583e-06/0.961, allocations: 0 / 0.8611 GB, free: 14.12 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004367/0.9614, allocations: 0 / 0.8611 GB, free: 14.12 MB / 0.6388 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.02489/0.9863, allocations: 8.274 MB / 0.8692 GB, free: 5.797 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.9863, allocations: 8.031 kB / 0.8692 GB, free: 5.789 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002225/0.9886, allocations: 0.7386 MB / 0.8699 GB, free: 5.039 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/0.9921, allocations: 0.9937 MB / 0.8709 GB, free: 4.043 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/1.007, allocations: 6.25 MB / 0.877 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004458/1.007, allocations: 298.2 kB / 0.8773 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001855/1.009, allocations: 378.6 kB / 0.8777 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02859/1.038, allocations: 10.84 MB / 0.8882 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/1.038, allocations: 54.41 kB / 0.8883 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006082/1.039, allocations: 190.7 kB / 0.8885 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005653/1.039, allocations: 465.8 kB / 0.8889 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02393/1.063, allocations: 8.07 MB / 0.8968 GB, free: 8.402 MB / 0.67 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.0647/1.128, allocations: 45.38 MB / 0.9411 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01963/1.147, allocations: 6.595 MB / 0.9476 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005841/1.153, allocations: 2.307 MB / 0.9498 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.154, allocations: 288.2 kB / 0.9501 GB, free: 360 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/1.155, allocations: 109.1 kB / 0.9502 GB, free: 248 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=844): time 7.454e-06/1.155, allocations: 2.656 kB / 0.9502 GB, free: 248 kB / 0.7169 GB Notification: Performance of matching and sorting (n=844): time 0.04893/1.203, allocations: 13.6 MB / 0.9635 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009708/1.204, allocations: 1.088 MB / 0.9645 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01512/1.22, allocations: 5.302 MB / 0.9697 GB, free: 11.95 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.001697/1.221, allocations: 81.7 kB / 0.9698 GB, free: 11.87 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.002808/1.224, allocations: 2.712 MB / 0.9724 GB, free: 9.137 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.004232/1.228, allocations: 2.861 MB / 0.9752 GB, free: 6.25 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003456/1.232, allocations: 1.738 MB / 0.9769 GB, free: 4.5 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.232, allocations: 301.1 kB / 0.9772 GB, free: 4.203 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006811/1.239, allocations: 3.315 MB / 0.9805 GB, free: 0.8711 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009703/1.248, allocations: 5.798 MB / 0.9861 GB, free: 10.02 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1453/1.394, allocations: 23.35 MB / 1.009 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.25e-05/1.394, allocations: 28 kB / 1.009 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.03138/1.425, allocations: 11.23 MB / 1.02 GB, free: 6.438 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/1.425, allocations: 43.94 kB / 1.02 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02504/1.45, allocations: 8.651 MB / 1.028 GB, free: 13.65 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07444/1.525, allocations: 6.11 MB / 1.034 GB, free: 7.523 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008473/1.533, allocations: 2.129 MB / 1.036 GB, free: 5.391 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/1.547, allocations: 7.767 MB / 1.044 GB, free: 13.28 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008069/1.555, allocations: 0.9073 MB / 1.045 GB, free: 12.37 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002341/1.557, allocations: 0.5699 MB / 1.045 GB, free: 11.8 MB / 0.8263 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.01406/1.571, allocations: 4.821 MB / 1.05 GB, free: 6.973 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01122/1.582, allocations: 5.75 MB / 1.056 GB, free: 100 kB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4718/2.054, allocations: 22.91 MB / 1.078 GB, free: 353.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.224e-05/2.054, allocations: 21.03 kB / 1.078 GB, free: 353.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.02888/2.083, allocations: 11.05 MB / 1.089 GB, free: 350.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/2.083, allocations: 41.44 kB / 1.089 GB, free: 350.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01934/2.103, allocations: 8.467 MB / 1.097 GB, free: 347.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006287/2.109, allocations: 1.342 MB / 1.099 GB, free: 347.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007056/2.116, allocations: 2.159 MB / 1.101 GB, free: 347 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008706/2.125, allocations: 9 MB / 1.11 GB, free: 339.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006486/2.131, allocations: 0.7243 MB / 1.11 GB, free: 339.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001661/2.133, allocations: 0.5625 MB / 1.111 GB, free: 339.4 MB / 0.8419 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.002721/2.136, allocations: 0.71 MB / 1.111 GB, free: 338.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002984/2.139, allocations: 0.6985 MB / 1.112 GB, free: 338.7 MB / 0.8419 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.01806/2.157, allocations: 10.18 MB / 1.122 GB, free: 333.5 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.100460866000503] Failed to read output from testmodel.py, exit status != 0: 2.306336050853133 2.317153482 1.353387572 Calling exit ...