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.006034/0.006034, allocations: 1.442 MB / 20.53 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.0007294/0.0007294, allocations: 87.47 kB / 24.15 MB, free: 404 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.0008412/0.0008412, allocations: 160.2 kB / 27.85 MB, free: 5.5 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.8822/0.8822, allocations: 177.2 MB / 208.6 MB, free: 2.973 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.762/0.762, allocations: 102.5 MB / 367.9 MB, free: 1.496 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.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: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.5362 GB, free: 40.07 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.555e-05, allocations: 2.281 kB / 0.5362 GB, free: 40.06 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.Basics.ControlVolumes.SolidVolumes.Check.Test_NTU_CounterParallelCross_Comparison): time 0.1244/0.1245, allocations: 75.84 MB / 0.6103 GB, free: 0.5781 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03698/0.1614, allocations: 28.17 MB / 0.6378 GB, free: 4.328 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01027/0.1717, allocations: 190.6 kB / 0.638 GB, free: 4.141 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.005756/0.1775, allocations: 3.045 MB / 0.641 GB, free: 1.078 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.1882, allocations: 5.676 MB / 0.6465 GB, free: 11.37 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01126/0.1995, allocations: 7.363 MB / 0.6537 GB, free: 3.992 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.02132/0.2208, allocations: 18.3 MB / 0.6716 GB, free: 1.637 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/0.2231, allocations: 0.5709 MB / 0.6721 GB, free: 1.027 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01915/0.2423, allocations: 9.449 MB / 0.6813 GB, free: 7.559 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.2526, allocations: 6.607 MB / 0.6878 GB, free: 0.9336 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.003227/0.2558, allocations: 1.273 MB / 0.689 GB, free: 15.66 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01568/0.2715, allocations: 5.398 MB / 0.6943 GB, free: 10.95 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.003966/0.2755, allocations: 4.494 MB / 0.6987 GB, free: 6.445 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.007192/0.2827, allocations: 4.216 MB / 0.7028 GB, free: 2.219 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.01908/0.3017, allocations: 19.95 MB / 0.7223 GB, free: 14.21 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3017, allocations: 0 / 0.7223 GB, free: 14.21 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3017, allocations: 0 / 0.7223 GB, free: 14.21 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.000669/0.3024, allocations: 7.938 kB / 0.7223 GB, free: 14.2 MB / 0.6199 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.02328/0.3257, allocations: 12.64 MB / 0.7347 GB, free: 1.457 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.3258, allocations: 8.031 kB / 0.7347 GB, free: 1.449 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0015/0.3273, allocations: 1.32 MB / 0.7359 GB, free: 120 kB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00289/0.3301, allocations: 1.51 MB / 0.7374 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/0.3406, allocations: 7.764 MB / 0.745 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/0.341, allocations: 0.5285 MB / 0.7455 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007823/0.3417, allocations: 0.6486 MB / 0.7462 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3524/0.6942, allocations: 20.35 MB / 0.766 GB, free: 163.2 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003951/0.6946, allocations: 103.6 kB / 0.7661 GB, free: 163.1 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002217/0.6968, allocations: 327.8 kB / 0.7664 GB, free: 163.1 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001963/0.6987, allocations: 1.417 MB / 0.7678 GB, free: 163.1 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03354/0.7323, allocations: 15.79 MB / 0.7832 GB, free: 157.7 MB / 0.6512 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.0796/0.8119, allocations: 84.05 MB / 0.8653 GB, free: 84.3 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02217/0.834, allocations: 13.01 MB / 0.878 GB, free: 74.02 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007053/0.8411, allocations: 4.348 MB / 0.8823 GB, free: 69.56 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008366/0.8419, allocations: 315.8 kB / 0.8826 GB, free: 69.25 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.983e-05/0.842, allocations: 142.4 kB / 0.8827 GB, free: 69.1 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1361): time 9.809e-06/0.842, allocations: 0 / 0.8827 GB, free: 69.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1361): time 0.04334/0.8854, allocations: 21.71 MB / 0.9039 GB, free: 47.37 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/0.8855, allocations: 1.069 MB / 0.905 GB, free: 46.06 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008638/0.8942, allocations: 7.515 MB / 0.9123 GB, free: 38.77 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.002623/0.8968, allocations: 136.4 kB / 0.9124 GB, free: 38.63 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00218/0.899, allocations: 4.689 MB / 0.917 GB, free: 34.47 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.006314/0.9053, allocations: 4.643 MB / 0.9215 GB, free: 30.15 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004924/0.9102, allocations: 3.08 MB / 0.9245 GB, free: 27.06 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.9103, allocations: 309.1 kB / 0.9248 GB, free: 26.75 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008232/0.9185, allocations: 6.063 MB / 0.9308 GB, free: 20.69 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01086/0.9294, allocations: 11.07 MB / 0.9416 GB, free: 7.316 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02417/0.9535, allocations: 18.45 MB / 0.9596 GB, free: 2.812 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001652/0.9537, allocations: 44 kB / 0.9596 GB, free: 2.77 MB / 0.6668 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.03919/0.9929, allocations: 19.84 MB / 0.979 GB, free: 15.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.993, allocations: 78.66 kB / 0.9791 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0288/1.022, allocations: 14.58 MB / 0.9933 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01226/1.034, allocations: 4.042 MB / 0.9973 GB, free: 12.45 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01088/1.045, allocations: 4.124 MB / 1.001 GB, free: 8.336 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/1.058, allocations: 16.33 MB / 1.017 GB, free: 7.172 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/1.068, allocations: 1.857 MB / 1.019 GB, free: 5.312 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003403/1.072, allocations: 1.003 MB / 1.02 GB, free: 4.309 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01819/1.09, allocations: 8.437 MB / 1.028 GB, free: 11.87 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.3179/1.408, allocations: 11 MB / 1.039 GB, free: 233.9 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02388/1.432, allocations: 18.33 MB / 1.057 GB, free: 224.2 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000187/1.432, allocations: 46 kB / 1.057 GB, free: 224.2 MB / 0.7449 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.03773/1.47, allocations: 18.47 MB / 1.075 GB, free: 217.6 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 7.677e-05/1.47, allocations: 79.41 kB / 1.075 GB, free: 217.6 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02148/1.491, allocations: 13.04 MB / 1.088 GB, free: 213.2 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007743/1.492, allocations: 437.7 kB / 1.088 GB, free: 213.1 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/1.502, allocations: 4.359 MB / 1.092 GB, free: 212.7 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00552/1.508, allocations: 9.948 MB / 1.102 GB, free: 203.2 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00949/1.517, allocations: 1.503 MB / 1.104 GB, free: 202.4 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002892/1.52, allocations: 1.003 MB / 1.105 GB, free: 201.4 MB / 0.7449 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.003549/1.524, allocations: 1.115 MB / 1.106 GB, free: 200.4 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003558/1.527, allocations: 1.03 MB / 1.107 GB, free: 199.5 MB / 0.7449 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.02424/1.551, allocations: 22.23 MB / 1.128 GB, free: 178 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.463783515617251] Failed to read output from testmodel.py, exit status != 0: 1.7218831554055214 1.730335001 1.426755791 Calling exit ...