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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.006105/0.006105, allocations: 1.354 MB / 20.45 MB, free: 4.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.1325/0.1325, allocations: 18.24 MB / 42.19 MB, free: 5.191 MB / 33.03 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.0009736/0.0009736, allocations: 92.59 kB / 53.06 MB, free: 6.512 MB / 44.04 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.001105/0.001105, allocations: 161.5 kB / 64.04 MB, free: 10.2 MB / 58.72 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.9071/0.9071, allocations: 177.2 MB / 252.1 MB, free: 11.77 MB / 218.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.5056/0.5056, allocations: 102.5 MB / 418.7 MB, free: 5.188 MB / 362.7 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") 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_cs",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_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6029 GB, free: 276 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.582e-05, allocations: 2.281 kB / 0.6029 GB, free: 272 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple): time 0.01135/0.01136, allocations: 10.27 MB / 0.613 GB, free: 5.945 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01812/0.02949, allocations: 15.9 MB / 0.6285 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007303/0.03022, allocations: 55.56 kB / 0.6285 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.03236, allocations: 1.411 MB / 0.6299 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.03394, allocations: 1.55 MB / 0.6314 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.03621, allocations: 1.791 MB / 0.6332 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002283/0.03849, allocations: 3.633 MB / 0.6367 GB, free: 13.53 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006947/0.03919, allocations: 0.8895 MB / 0.6376 GB, free: 12.62 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.04046, allocations: 1.89 MB / 0.6394 GB, free: 10.72 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.04158, allocations: 1.449 MB / 0.6409 GB, free: 9.27 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.04176, allocations: 200 kB / 0.641 GB, free: 9.074 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.04334, allocations: 1.099 MB / 0.6421 GB, free: 7.973 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004585/0.0438, allocations: 0.8371 MB / 0.6429 GB, free: 7.133 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004969/0.04429, allocations: 0.7169 MB / 0.6436 GB, free: 6.414 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.04683, allocations: 3.828 MB / 0.6474 GB, free: 2.574 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.04683, allocations: 3.938 kB / 0.6474 GB, free: 2.57 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.04683, allocations: 0 / 0.6474 GB, free: 2.57 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.04685, allocations: 0 / 0.6474 GB, free: 2.57 MB / 0.5262 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.003058/0.04991, allocations: 2.889 MB / 0.6502 GB, free: 15.63 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.04995, allocations: 8.031 kB / 0.6502 GB, free: 15.62 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/0.05011, allocations: 195.3 kB / 0.6504 GB, free: 15.43 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004838/0.05059, allocations: 319.1 kB / 0.6507 GB, free: 15.11 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/0.05317, allocations: 2.56 MB / 0.6532 GB, free: 12.52 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.05322, allocations: 74.36 kB / 0.6533 GB, free: 12.44 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.05332, allocations: 100.4 kB / 0.6534 GB, free: 12.34 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003274/0.05659, allocations: 2.669 MB / 0.656 GB, free: 9.312 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.05662, allocations: 15.81 kB / 0.656 GB, free: 9.297 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-05/0.05668, allocations: 48 kB / 0.656 GB, free: 9.25 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.05674, allocations: 61.28 kB / 0.6561 GB, free: 9.188 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.05939, allocations: 1.796 MB / 0.6578 GB, free: 7.395 MB / 0.5418 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.2591/0.3185, allocations: 10.47 MB / 0.6681 GB, free: 60.94 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00322/0.3217, allocations: 1.709 MB / 0.6697 GB, free: 60.76 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007813/0.3225, allocations: 0.5907 MB / 0.6703 GB, free: 60.68 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.3226, allocations: 75.97 kB / 0.6704 GB, free: 60.67 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002381/0.325, allocations: 1.445 MB / 0.6718 GB, free: 60.17 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=195): time 3.176e-06/0.325, allocations: 0 / 0.6718 GB, free: 60.17 MB / 0.5418 GB Notification: Performance of matching and sorting (n=195): time 0.005772/0.3308, allocations: 3.32 MB / 0.675 GB, free: 59.3 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.3309, allocations: 428.8 kB / 0.6755 GB, free: 58.8 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.3325, allocations: 1.984 MB / 0.6774 GB, free: 58.07 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.516e-05/0.3326, allocations: 39.27 kB / 0.6774 GB, free: 58.03 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.333, allocations: 0.8571 MB / 0.6783 GB, free: 57.45 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/0.3333, allocations: 0.6538 MB / 0.6789 GB, free: 57.02 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/0.3338, allocations: 445.1 kB / 0.6793 GB, free: 56.85 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 2.904e-05/0.3338, allocations: 313.2 kB / 0.6796 GB, free: 56.54 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.3348, allocations: 0.8733 MB / 0.6805 GB, free: 56.19 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.336, allocations: 1.581 MB / 0.682 GB, free: 54.95 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004624/0.3407, allocations: 4.023 MB / 0.6859 GB, free: 52.88 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.3407, allocations: 6.812 kB / 0.686 GB, free: 52.88 MB / 0.5418 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003388/0.344, allocations: 2.752 MB / 0.6886 GB, free: 51.73 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.3441, allocations: 41.16 kB / 0.6887 GB, free: 51.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002739/0.3468, allocations: 1.936 MB / 0.6906 GB, free: 50.99 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.347, allocations: 88.22 kB / 0.6907 GB, free: 50.97 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.3481, allocations: 0.5623 MB / 0.6912 GB, free: 50.91 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008179/0.3489, allocations: 1.537 MB / 0.6927 GB, free: 49.56 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/0.3497, allocations: 246.6 kB / 0.6929 GB, free: 49.45 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.3499, allocations: 133.5 kB / 0.6931 GB, free: 49.44 MB / 0.5418 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.00178/0.3517, allocations: 1.344 MB / 0.6944 GB, free: 48.83 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001311/0.353, allocations: 1.573 MB / 0.6959 GB, free: 47.59 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004552/0.3575, allocations: 3.992 MB / 0.6998 GB, free: 45.43 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.696e-06/0.3575, allocations: 5.438 kB / 0.6998 GB, free: 45.43 MB / 0.5418 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.003097/0.3606, allocations: 2.732 MB / 0.7025 GB, free: 44.02 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.3607, allocations: 44.2 kB / 0.7025 GB, free: 43.99 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002208/0.3629, allocations: 1.915 MB / 0.7044 GB, free: 43.02 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001339/0.363, allocations: 88.33 kB / 0.7045 GB, free: 42.99 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.3641, allocations: 0.5619 MB / 0.705 GB, free: 42.83 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007828/0.3648, allocations: 1.539 MB / 0.7065 GB, free: 41.39 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009156/0.3658, allocations: 203.9 kB / 0.7067 GB, free: 41.29 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.3659, allocations: 136.7 kB / 0.7069 GB, free: 41.25 MB / 0.5418 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.0007741/0.3667, allocations: 319.8 kB / 0.7072 GB, free: 40.98 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/0.367, allocations: 234.5 kB / 0.7074 GB, free: 40.84 MB / 0.5418 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 1.9.0-ClaRa/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.002698/0.3697, allocations: 2.389 MB / 0.7097 GB, free: 39.54 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.139427073299885]