Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Basics.ControlVolumes.SolidVolumes.Check.Test_NTU_CounterParallelCross_Comparison.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.01717/0.01717, allocations: 1.761 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.001281/0.001281, allocations: 111.5 kB / 24.19 MB, free: 2.688 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.001604/0.001604, allocations: 207.9 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.484/1.484, allocations: 230.6 MB / 262.1 MB, free: 6.012 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.083/1.083, allocations: 130.7 MB / 449.7 MB, free: 6.617 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.Basics.ControlVolumes.SolidVolumes.Check.Test_NTU_CounterParallelCross_Comparison,fileNamePrefix="ClaRa_ClaRa_Basics_ControlVolumes_SolidVolumes_Check_Test_NTU_CounterParallelCross_Comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.ControlVolumes.SolidVolumes.Check.Test_NTU_CounterParallelCross_Comparison,fileNamePrefix="ClaRa_ClaRa_Basics_ControlVolumes_SolidVolumes_Check_Test_NTU_CounterParallelCross_Comparison",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.03365/0.03365, allocations: 20.79 MB / 0.6358 GB, free: 5.125 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.2059, allocations: 81.9 MB / 0.7158 GB, free: 3.125 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.Basics.ControlVolumes.SolidVolumes.Check.Test_NTU_CounterParallelCross_Comparison): time 0.5459/0.7518, allocations: 67.23 MB / 0.7814 GB, free: 4.797 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05117/0.803, allocations: 29.3 MB / 0.81 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01052/0.8135, allocations: 193.2 kB / 0.8102 GB, free: 15.05 MB / 0.5919 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.01025/0.8237, allocations: 3.12 MB / 0.8133 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01952/0.8433, allocations: 5.508 MB / 0.8187 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01856/0.8618, allocations: 7.246 MB / 0.8257 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03275/0.8946, allocations: 17.87 MB / 0.8432 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.897, allocations: 0.5826 MB / 0.8437 GB, free: 128 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01476/0.9118, allocations: 6.852 MB / 0.8504 GB, free: 9.254 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01521/0.927, allocations: 7.63 MB / 0.8579 GB, free: 1.602 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.005689/0.9327, allocations: 1.273 MB / 0.8591 GB, free: 336 kB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03721/0.9699, allocations: 5.863 MB / 0.8649 GB, free: 11.48 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.008327/0.9782, allocations: 4.362 MB / 0.8691 GB, free: 7.102 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01539/0.9936, allocations: 6.652 MB / 0.8756 GB, free: 428 kB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.03542/1.029, allocations: 19.89 MB / 0.895 GB, free: 12.46 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.029, allocations: 0 / 0.895 GB, free: 12.46 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.633e-06/1.029, allocations: 0 / 0.895 GB, free: 12.46 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0007452/1.03, allocations: 0 / 0.895 GB, free: 12.46 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3002 * Number of variables: 3002 Notification: Performance of Generate backend data structure: time 0.04278/1.073, allocations: 12.77 MB / 0.9075 GB, free: 15.64 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.073, allocations: 11.97 kB / 0.9075 GB, free: 15.63 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00445/1.077, allocations: 1.322 MB / 0.9088 GB, free: 14.3 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006789/1.084, allocations: 1.51 MB / 0.9103 GB, free: 12.78 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01956/1.103, allocations: 7.735 MB / 0.9178 GB, free: 4.984 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008797/1.104, allocations: 0.5285 MB / 0.9184 GB, free: 4.453 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003374/1.108, allocations: 0.6521 MB / 0.919 GB, free: 3.801 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05035/1.158, allocations: 20.36 MB / 0.9389 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002517/1.158, allocations: 103.1 kB / 0.939 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001096/1.159, allocations: 326.5 kB / 0.9393 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001702/1.161, allocations: 1.421 MB / 0.9407 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04406/1.205, allocations: 15.82 MB / 0.9561 GB, free: 11.9 MB / 0.7325 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.1196/1.325, allocations: 89.12 MB / 1.043 GB, free: 56 kB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03935/1.364, allocations: 13.04 MB / 1.056 GB, free: 2.684 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3317/1.696, allocations: 4.348 MB / 1.06 GB, free: 344.8 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/1.697, allocations: 374.8 kB / 1.06 GB, free: 344.8 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/1.697, allocations: 143.1 kB / 1.061 GB, free: 344.7 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1361): time 1.064e-05/1.697, allocations: 0 / 1.061 GB, free: 344.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1361): time 0.06252/1.76, allocations: 21.71 MB / 1.082 GB, free: 340.4 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002578/1.76, allocations: 1.071 MB / 1.083 GB, free: 339.1 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009712/1.77, allocations: 7.26 MB / 1.09 GB, free: 336.6 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.00214/1.772, allocations: 134.5 kB / 1.09 GB, free: 336.5 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002671/1.774, allocations: 4.722 MB / 1.095 GB, free: 333.2 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.005304/1.78, allocations: 4.706 MB / 1.099 GB, free: 329.7 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004887/1.785, allocations: 3.113 MB / 1.102 GB, free: 327.9 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 5.333e-05/1.785, allocations: 305.1 kB / 1.103 GB, free: 327.6 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0109/1.796, allocations: 6.064 MB / 1.109 GB, free: 321.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01553/1.811, allocations: 11.07 MB / 1.119 GB, free: 308.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02743/1.839, allocations: 18.46 MB / 1.137 GB, free: 288.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001962/1.839, allocations: 46.56 kB / 1.137 GB, free: 288.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.04968/1.888, allocations: 19.83 MB / 1.157 GB, free: 268.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002001/1.889, allocations: 76 kB / 1.157 GB, free: 268.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03829/1.927, allocations: 14.59 MB / 1.171 GB, free: 254 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02277/1.95, allocations: 4.052 MB / 1.175 GB, free: 250 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01463/1.964, allocations: 4.122 MB / 1.179 GB, free: 245.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/1.979, allocations: 16.35 MB / 1.195 GB, free: 228.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/1.991, allocations: 1.854 MB / 1.197 GB, free: 227 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003284/1.994, allocations: 1.003 MB / 1.198 GB, free: 226 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01953/2.014, allocations: 8.441 MB / 1.206 GB, free: 217.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0165/2.03, allocations: 11.01 MB / 1.217 GB, free: 204.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02769/2.058, allocations: 18.32 MB / 1.235 GB, free: 183.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001642/2.058, allocations: 51.5 kB / 1.235 GB, free: 183.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.04224/2.1, allocations: 18.47 MB / 1.253 GB, free: 165 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/2.1, allocations: 76 kB / 1.253 GB, free: 165 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03074/2.131, allocations: 13.06 MB / 1.266 GB, free: 151.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/2.132, allocations: 433.6 kB / 1.266 GB, free: 151.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01602/2.148, allocations: 4.358 MB / 1.27 GB, free: 147.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008155/2.157, allocations: 9.964 MB / 1.28 GB, free: 136.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01168/2.168, allocations: 1.514 MB / 1.282 GB, free: 134.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00365/2.172, allocations: 0.9993 MB / 1.282 GB, free: 133.9 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 750 * Number of states: 0 () * Number of discrete variables: 12 (NTU_parallel.nTU.smallShellFlow[3],NTU_parallel.nTU.smallShellFlow[1],NTU_parallel.nTU.mass,NTU_cross.nTU.smallShellFlow[3],NTU_cross.nTU.smallShellFlow[1],NTU_cross.nTU.mass,NTU_counter.nTU.smallShellFlow[3],NTU_counter.nTU.smallShellFlow[1],NTU_counter.nTU.mass,NTU_parallel.nTU.smallShellFlow[2],NTU_cross.nTU.smallShellFlow[2],NTU_counter.nTU.smallShellFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1952): * Single equations (assignments): 1939 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(4,43), (3,14), (1,12), (3,14), (3,14), (1,12), (3,14)} Notification: Performance of prepare postOptimizeDAE: time 0.00614/2.178, allocations: 1.113 MB / 1.284 GB, free: 132.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005228/2.183, allocations: 1.028 MB / 1.285 GB, free: 131.7 MB / 0.8263 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 1561 equation(s) and 1528 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (NTU_cross.nTU.I1_out.VLE.d_l, NTU_cross.nTU.I1_out.VLE.h_l, NTU_cross.nTU.I1_out.VLE.p_l, NTU_cross.nTU.I1_out.VLE.s_l, NTU_cross.nTU.I1_out.VLE.T_l, _, NTU_cross.nTU.I1_out.VLE.d_v, NTU_cross.nTU.I1_out.VLE.h_v, NTU_cross.nTU.I1_out.VLE.p_v, NTU_cross.nTU.I1_out.VLE.s_v, NTU_cross.nTU.I1_out.VLE.T_v, _) = ($cse540, $cse541, $cse542, $cse543, $cse544, $cse545, $cse546, $cse547, $cse548, $cse549, $cse550, $cse551) has size 10 but 2 variables (NTU_counter.nTU.cp_i[1], NTU_counter.nTU.summary.C_flow_i[1]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03624/2.22, allocations: 22.03 MB / 1.306 GB, free: 109.8 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.4250315490644425] Failed to read output from testmodel.py, exit status != 0: 2.6839470209088176 2.694840919 1.6631431429999999 Calling exit ...