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.00591/0.00591, 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.0006324/0.0006324, 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.0007324/0.0007324, allocations: 163.3 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.8486/0.8486, allocations: 177.1 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.7398/0.7398, allocations: 102.5 MB / 367.9 MB, free: 1.469 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 1.493e-06/1.493e-06, allocations: 0 / 0.5362 GB, free: 40.12 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.556e-05, allocations: 4.953 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.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple): time 0.109/0.109, allocations: 56.92 MB / 0.5918 GB, free: 3.605 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01821/0.1272, allocations: 15.9 MB / 0.6073 GB, free: 3.656 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.1284, allocations: 55.56 kB / 0.6074 GB, free: 3.602 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.1309, allocations: 1.409 MB / 0.6087 GB, free: 2.188 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.1333, allocations: 1.557 MB / 0.6103 GB, free: 0.6211 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.003545/0.1368, allocations: 1.788 MB / 0.612 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004172/0.141, allocations: 3.635 MB / 0.6156 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.1425, allocations: 0.8856 MB / 0.6164 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.145, allocations: 1.886 MB / 0.6183 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.1465, allocations: 1.455 MB / 0.6197 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003572/0.1469, allocations: 204 kB / 0.6199 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.1488, allocations: 1.091 MB / 0.6209 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005202/0.1493, allocations: 0.8293 MB / 0.6218 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005655/0.1499, allocations: 0.7208 MB / 0.6225 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003056/0.1529, allocations: 3.824 MB / 0.6262 GB, free: 252 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1529, allocations: 3.984 kB / 0.6262 GB, free: 248 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1529, allocations: 3.938 kB / 0.6262 GB, free: 244 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.153, allocations: 0 / 0.6262 GB, free: 244 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.002906/0.1559, allocations: 2.887 MB / 0.629 GB, free: 13.3 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1559, allocations: 12.03 kB / 0.629 GB, free: 13.29 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.1561, allocations: 195.3 kB / 0.6292 GB, free: 13.09 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004682/0.1565, allocations: 323.1 kB / 0.6295 GB, free: 12.77 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/0.1593, allocations: 2.567 MB / 0.632 GB, free: 10.17 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.1593, allocations: 70.38 kB / 0.6321 GB, free: 10.1 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.1594, allocations: 100.4 kB / 0.6322 GB, free: 10 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/0.1623, allocations: 2.669 MB / 0.6348 GB, free: 6.973 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.1623, allocations: 15.81 kB / 0.6348 GB, free: 6.957 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/0.1624, allocations: 51.98 kB / 0.6349 GB, free: 6.906 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/0.1625, allocations: 65.28 kB / 0.6349 GB, free: 6.84 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/0.165, allocations: 1.788 MB / 0.6367 GB, free: 5.055 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.006297/0.1713, allocations: 10.49 MB / 0.6469 GB, free: 10.17 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.1738, allocations: 1.705 MB / 0.6486 GB, free: 8.402 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006895/0.1745, allocations: 0.5868 MB / 0.6492 GB, free: 7.793 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.1747, allocations: 72.55 kB / 0.6492 GB, free: 7.719 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00204/0.1767, allocations: 1.45 MB / 0.6506 GB, free: 6.223 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=195): time 2.464e-06/0.1767, allocations: 0 / 0.6506 GB, free: 6.223 MB / 0.5418 GB Notification: Performance of matching and sorting (n=195): time 0.0053/0.182, allocations: 3.316 MB / 0.6539 GB, free: 2.898 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/0.1822, allocations: 431.8 kB / 0.6543 GB, free: 2.379 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.1841, allocations: 1.979 MB / 0.6562 GB, free: 372 kB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.491e-05/0.1841, allocations: 41.7 kB / 0.6563 GB, free: 324 kB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004902/0.1846, allocations: 0.8478 MB / 0.6571 GB, free: 15.46 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/0.185, allocations: 0.6583 MB / 0.6577 GB, free: 14.79 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/0.1854, allocations: 447.5 kB / 0.6582 GB, free: 14.35 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.1855, allocations: 309.1 kB / 0.6585 GB, free: 14.04 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009818/0.1865, allocations: 0.8699 MB / 0.6593 GB, free: 13.16 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.1879, allocations: 1.585 MB / 0.6609 GB, free: 11.26 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004559/0.1925, allocations: 4.037 MB / 0.6648 GB, free: 6.93 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.1925, allocations: 4 kB / 0.6648 GB, free: 6.926 MB / 0.5574 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00318/0.1957, allocations: 2.738 MB / 0.6675 GB, free: 4.164 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.1957, allocations: 49.64 kB / 0.6675 GB, free: 4.109 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002107/0.1978, allocations: 1.939 MB / 0.6694 GB, free: 2.156 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/0.198, allocations: 84.81 kB / 0.6695 GB, free: 2.07 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009086/0.1989, allocations: 0.5538 MB / 0.67 GB, free: 1.516 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009965/0.1999, allocations: 1.545 MB / 0.6715 GB, free: 15.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007337/0.2006, allocations: 242.3 kB / 0.6718 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.2008, allocations: 131.9 kB / 0.6719 GB, free: 15.49 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.001781/0.2025, allocations: 1.347 MB / 0.6732 GB, free: 14.13 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001272/0.2038, allocations: 1.577 MB / 0.6748 GB, free: 12.23 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00437/0.2082, allocations: 3.987 MB / 0.6787 GB, free: 7.953 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.991e-06/0.2082, allocations: 8 kB / 0.6787 GB, free: 7.945 MB / 0.573 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.003131/0.2113, allocations: 2.718 MB / 0.6813 GB, free: 5.203 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.2114, allocations: 45.95 kB / 0.6814 GB, free: 5.152 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002114/0.2135, allocations: 1.919 MB / 0.6832 GB, free: 3.215 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.2136, allocations: 88.8 kB / 0.6833 GB, free: 3.125 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009051/0.2145, allocations: 0.5579 MB / 0.6839 GB, free: 2.566 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009382/0.2154, allocations: 1.533 MB / 0.6854 GB, free: 0.918 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/0.2162, allocations: 202.7 kB / 0.6856 GB, free: 0.7188 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.2163, allocations: 140.1 kB / 0.6857 GB, free: 0.582 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.0004846/0.2168, allocations: 324.4 kB / 0.686 GB, free: 264 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.2171, allocations: 234.4 kB / 0.6862 GB, free: 28 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.002727/0.2198, allocations: 2.387 MB / 0.6885 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.2991708237677813] Failed to read output from testmodel.py, exit status != 0: 0.6462402325123549 0.6560587019999999 0.5012248579999999 Calling exit ...