Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple.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.005962/0.005962, allocations: 1.442 MB / 20.54 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.0006552/0.0006552, 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.0007158/0.0007158, allocations: 160.5 kB / 27.85 MB, free: 5.496 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.8776/0.8776, allocations: 177.2 MB / 208.6 MB, free: 2.984 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.7503/0.7503, 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.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_MassDefect_Test_Pipe_L2_Simple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_MassDefect_Test_Pipe_L2_Simple",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 1.312 kB / 0.5362 GB, free: 40.04 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/2.11e-05, allocations: 6.094 kB / 0.5362 GB, free: 40.04 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.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple): time 0.1127/0.1127, allocations: 56.92 MB / 0.5918 GB, free: 3.613 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01726/0.13, allocations: 15.9 MB / 0.6073 GB, free: 3.66 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.1313, allocations: 55.56 kB / 0.6074 GB, free: 3.605 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.1338, allocations: 1.417 MB / 0.6088 GB, free: 2.184 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.136, allocations: 1.55 MB / 0.6103 GB, free: 0.625 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.1392, allocations: 1.788 MB / 0.612 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002884/0.142, allocations: 3.635 MB / 0.6156 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007374/0.1428, allocations: 0.8817 MB / 0.6164 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.1444, allocations: 1.886 MB / 0.6183 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.1456, allocations: 1.449 MB / 0.6197 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.1457, allocations: 200 kB / 0.6199 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.1475, allocations: 1.111 MB / 0.621 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004901/0.148, allocations: 0.8293 MB / 0.6218 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005061/0.1485, allocations: 0.7246 MB / 0.6225 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002855/0.1514, allocations: 3.82 MB / 0.6262 GB, free: 244 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1514, allocations: 3.984 kB / 0.6262 GB, free: 240 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1514, allocations: 3.938 kB / 0.6262 GB, free: 236 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.1514, allocations: 0 / 0.6262 GB, free: 236 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002941/0.1543, allocations: 2.883 MB / 0.629 GB, free: 13.3 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1544, allocations: 12.03 kB / 0.629 GB, free: 13.29 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/0.1545, allocations: 191.3 kB / 0.6292 GB, free: 13.09 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.155, allocations: 327 kB / 0.6295 GB, free: 12.77 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/0.1579, allocations: 2.553 MB / 0.632 GB, free: 10.18 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.158, allocations: 78.36 kB / 0.6321 GB, free: 10.11 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.1581, allocations: 96.38 kB / 0.6322 GB, free: 10.01 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.161, allocations: 2.665 MB / 0.6348 GB, free: 6.984 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.161, allocations: 19.81 kB / 0.6348 GB, free: 6.965 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.1611, allocations: 47.98 kB / 0.6349 GB, free: 6.918 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.258e-05/0.1612, allocations: 69.22 kB / 0.6349 GB, free: 6.848 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.1637, allocations: 1.792 MB / 0.6367 GB, free: 5.059 MB / 0.5262 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.006404/0.1701, allocations: 10.48 MB / 0.6469 GB, free: 10.18 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/0.1727, allocations: 1.705 MB / 0.6486 GB, free: 8.41 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007003/0.1734, allocations: 0.5869 MB / 0.6492 GB, free: 7.801 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.1736, allocations: 80.48 kB / 0.6492 GB, free: 7.719 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002075/0.1757, allocations: 1.434 MB / 0.6506 GB, free: 6.238 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=195): time 2.765e-06/0.1757, allocations: 4 kB / 0.6506 GB, free: 6.234 MB / 0.5418 GB Notification: Performance of matching and sorting (n=195): time 0.005221/0.1809, allocations: 3.324 MB / 0.6539 GB, free: 2.902 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.181, allocations: 423.9 kB / 0.6543 GB, free: 2.391 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.1828, allocations: 1.982 MB / 0.6562 GB, free: 380 kB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/0.1829, allocations: 41.7 kB / 0.6563 GB, free: 332 kB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/0.1833, allocations: 0.8524 MB / 0.6571 GB, free: 15.46 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003547/0.1837, allocations: 0.6544 MB / 0.6577 GB, free: 14.8 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004277/0.1841, allocations: 451.5 kB / 0.6582 GB, free: 14.35 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.1842, allocations: 309 kB / 0.6585 GB, free: 14.05 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.1853, allocations: 0.8777 MB / 0.6593 GB, free: 13.16 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.1866, allocations: 1.581 MB / 0.6609 GB, free: 11.26 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004607/0.1912, allocations: 4.034 MB / 0.6648 GB, free: 6.934 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.1912, allocations: 8 kB / 0.6648 GB, free: 6.926 MB / 0.5574 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003218/0.1944, allocations: 2.742 MB / 0.6675 GB, free: 4.16 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.03e-05/0.1945, allocations: 37.7 kB / 0.6675 GB, free: 4.117 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002201/0.1967, allocations: 1.939 MB / 0.6694 GB, free: 2.164 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.1969, allocations: 84.81 kB / 0.6695 GB, free: 2.078 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009301/0.1978, allocations: 0.5616 MB / 0.67 GB, free: 1.516 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.1988, allocations: 1.529 MB / 0.6715 GB, free: 15.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007684/0.1996, allocations: 242.3 kB / 0.6718 GB, free: 15.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.1997, allocations: 139.9 kB / 0.6719 GB, free: 15.5 MB / 0.573 GB Warning: Assuming fixed start value for the following 2 variables: tubeBundle_L2_Simple.h[1]:VARIABLE(start = tubeBundle_L2_Simple.mechanicalEquilibrium.h_start[1] unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer protected = true ) \"Cell enthalpy\" type: Real [1] tubeBundle_L2_Simple.p[1]:VARIABLE(min = 0.0 start = tubeBundle_L2_Simple.p_start_internal[1] unit = \"Pa\" fixed = true nominal = 1e5 protected = true ) \"Cell pressure\" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001744/0.2015, allocations: 1.349 MB / 0.6732 GB, free: 14.14 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00128/0.2027, allocations: 1.573 MB / 0.6748 GB, free: 12.25 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004439/0.2072, allocations: 4.002 MB / 0.6787 GB, free: 7.949 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.084e-06/0.2072, allocations: 8 kB / 0.6787 GB, free: 7.941 MB / 0.573 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.003125/0.2103, allocations: 2.723 MB / 0.6813 GB, free: 5.195 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.2104, allocations: 37.7 kB / 0.6814 GB, free: 5.152 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002112/0.2125, allocations: 1.923 MB / 0.6832 GB, free: 3.211 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001317/0.2126, allocations: 88.8 kB / 0.6833 GB, free: 3.121 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008964/0.2135, allocations: 0.5577 MB / 0.6839 GB, free: 2.562 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009005/0.2144, allocations: 1.529 MB / 0.6854 GB, free: 0.918 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/0.2151, allocations: 194.8 kB / 0.6855 GB, free: 0.7266 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.2153, allocations: 139.9 kB / 0.6857 GB, free: 0.5898 MB / 0.573 GB Warning: Assuming fixed start value for the following 2 variables: tubeBundle_L2_Simple.h[1]:VARIABLE(start = tubeBundle_L2_Simple.mechanicalEquilibrium.h_start[1] unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer protected = true ) \"Cell enthalpy\" type: Real [1] tubeBundle_L2_Simple.p[1]:VARIABLE(min = 0.0 start = tubeBundle_L2_Simple.p_start_internal[1] unit = \"Pa\" fixed = true nominal = 1e5 protected = true ) \"Cell pressure\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.MassFlow.count,$PRE.MassFlow.T_start,MassFlow.count,MassFlow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (283): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004853/0.2158, allocations: 332.5 kB / 0.686 GB, free: 264 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.2161, allocations: 230.4 kB / 0.6862 GB, free: 32 kB / 0.573 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 286 equation(s) and 271 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (tubeBundle_L2_Simple.fluidInlet.VLE.d_l, tubeBundle_L2_Simple.fluidInlet.VLE.h_l, tubeBundle_L2_Simple.fluidInlet.VLE.p_l, tubeBundle_L2_Simple.fluidInlet.VLE.s_l, tubeBundle_L2_Simple.fluidInlet.VLE.T_l, _, tubeBundle_L2_Simple.fluidInlet.VLE.d_v, tubeBundle_L2_Simple.fluidInlet.VLE.h_v, tubeBundle_L2_Simple.fluidInlet.VLE.p_v, tubeBundle_L2_Simple.fluidInlet.VLE.s_v, tubeBundle_L2_Simple.fluidInlet.VLE.T_v, _) = ($cse81, $cse82, $cse83, $cse84, $cse85, $cse86, $cse87, $cse88, $cse89, $cse90, $cse91, $cse92) has size 10 but 2 variables (massFlowSink.fluidOut.T, massFlowSink.eye_int[1].T) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.2187, allocations: 2.391 MB / 0.6886 GB, free: 13.61 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3695995854213834] Failed to read output from testmodel.py, exit status != 0: 0.6529998378828168 0.6632268379999999 0.509936627 Calling exit ...