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.0175/0.0175, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001691/0.001691, allocations: 99.84 kB / 24.18 MB, free: 2.438 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.002368/0.002368, allocations: 213.1 kB / 27.9 MB, free: 3.742 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.483/1.483, allocations: 230.6 MB / 262.1 MB, free: 5.848 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.054/1.054, allocations: 130.7 MB / 449.6 MB, free: 6.676 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.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: 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.06416/0.06416, allocations: 20.99 MB / 0.6358 GB, free: 4.762 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.2416, allocations: 81.91 MB / 0.7158 GB, free: 2.754 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.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple): time 0.5311/0.7726, allocations: 43.29 MB / 0.7581 GB, free: 22.62 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02533/0.798, allocations: 16.19 MB / 0.7739 GB, free: 11.45 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003596/0.8016, allocations: 50.94 kB / 0.774 GB, free: 11.43 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005239/0.8068, allocations: 1.405 MB / 0.7753 GB, free: 10.83 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005655/0.8125, allocations: 1.508 MB / 0.7768 GB, free: 9.98 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005691/0.8181, allocations: 1.767 MB / 0.7785 GB, free: 9.086 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006434/0.8246, allocations: 3.533 MB / 0.782 GB, free: 7.512 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002107/0.8267, allocations: 0.8822 MB / 0.7829 GB, free: 7.102 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00363/0.8303, allocations: 1.436 MB / 0.7843 GB, free: 6.488 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003289/0.8336, allocations: 1.608 MB / 0.7858 GB, free: 5.543 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0008797/0.8345, allocations: 198.9 kB / 0.786 GB, free: 5.543 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004114/0.8386, allocations: 1.084 MB / 0.7871 GB, free: 5.043 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001532/0.8401, allocations: 0.8066 MB / 0.7879 GB, free: 4.473 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.002773/0.8429, allocations: 0.8939 MB / 0.7887 GB, free: 3.895 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.007215/0.8501, allocations: 3.866 MB / 0.7925 GB, free: 1.387 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8501, allocations: 0.9375 kB / 0.7925 GB, free: 1.387 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8501, allocations: 0 / 0.7925 GB, free: 1.387 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0001505/0.8503, allocations: 0 / 0.7925 GB, free: 1.387 MB / 0.5607 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.007186/0.8575, allocations: 2.92 MB / 0.7954 GB, free: 15.3 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.8575, allocations: 9.625 kB / 0.7954 GB, free: 15.3 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002867/0.8578, allocations: 194.1 kB / 0.7956 GB, free: 15.15 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009951/0.8588, allocations: 319.2 kB / 0.7959 GB, free: 14.98 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005341/0.8641, allocations: 2.555 MB / 0.7984 GB, free: 13.27 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.8642, allocations: 80.45 kB / 0.7984 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.8644, allocations: 99.59 kB / 0.7985 GB, free: 13.19 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005485/0.8699, allocations: 2.665 MB / 0.8011 GB, free: 11.08 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/0.8699, allocations: 18.47 kB / 0.8011 GB, free: 11.06 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.87, allocations: 52 kB / 0.8012 GB, free: 11.01 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.8701, allocations: 61.28 kB / 0.8013 GB, free: 10.95 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004787/0.8749, allocations: 1.794 MB / 0.803 GB, free: 9.164 MB / 0.5763 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.01386/0.8888, allocations: 10.53 MB / 0.8133 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004695/0.8935, allocations: 1.702 MB / 0.815 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.8947, allocations: 0.5897 MB / 0.8155 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/0.8949, allocations: 75.2 kB / 0.8156 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003694/0.8986, allocations: 1.449 MB / 0.817 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 4.087e-06/0.8986, allocations: 0 / 0.817 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009719/0.9083, allocations: 3.321 MB / 0.8203 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003683/0.9087, allocations: 435.8 kB / 0.8207 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/0.9121, allocations: 1.982 MB / 0.8226 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.9122, allocations: 41.7 kB / 0.8226 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009794/0.9132, allocations: 0.8517 MB / 0.8235 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000744/0.914, allocations: 0.666 MB / 0.8241 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007336/0.9147, allocations: 456.9 kB / 0.8246 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.9148, allocations: 301.1 kB / 0.8249 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.9166, allocations: 0.8816 MB / 0.8257 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.919, allocations: 1.58 MB / 0.8273 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00835/0.9273, allocations: 4.026 MB / 0.8312 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.9273, allocations: 10.66 kB / 0.8312 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005652/0.933, allocations: 2.743 MB / 0.8339 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.596e-05/0.933, allocations: 41.61 kB / 0.8339 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003752/0.9368, allocations: 1.939 MB / 0.8358 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002908/0.9371, allocations: 88.81 kB / 0.8359 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.9389, allocations: 0.5577 MB / 0.8364 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.9406, allocations: 1.537 MB / 0.8379 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.9424, allocations: 248.8 kB / 0.8382 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/0.9426, allocations: 133.4 kB / 0.8383 GB, free: 3.656 MB / 0.6075 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.002759/0.9454, allocations: 1.345 MB / 0.8396 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002339/0.9477, allocations: 1.577 MB / 0.8412 GB, free: 424 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008218/0.9559, allocations: 3.985 MB / 0.8451 GB, free: 12.19 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-05/0.956, allocations: 9.312 kB / 0.8451 GB, free: 12.18 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.00571/0.9617, allocations: 2.729 MB / 0.8477 GB, free: 9.445 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.9617, allocations: 41.69 kB / 0.8478 GB, free: 9.398 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003766/0.9655, allocations: 1.921 MB / 0.8496 GB, free: 7.461 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/0.9657, allocations: 91.39 kB / 0.8497 GB, free: 7.371 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.9675, allocations: 0.5499 MB / 0.8503 GB, free: 6.82 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.9692, allocations: 1.542 MB / 0.8518 GB, free: 5.172 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.971, allocations: 190.8 kB / 0.852 GB, free: 4.984 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/0.9713, allocations: 140.7 kB / 0.8521 GB, free: 4.848 MB / 0.6232 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.0007837/0.9721, allocations: 329.1 kB / 0.8524 GB, free: 4.523 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00059/0.9727, allocations: 237.4 kB / 0.8526 GB, free: 4.293 MB / 0.6232 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.004741/0.9774, allocations: 2.38 MB / 0.855 GB, free: 2.047 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.959697579964995] Failed to read output from testmodel.py, exit status != 0: 1.1815045718103647 1.197131648 0.343817099 Calling exit ...