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.0122/0.0122, 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.001325/0.001325, 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.001592/0.001592, 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.46/1.46, allocations: 230.6 MB / 262.1 MB, free: 5.824 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.124/1.124, allocations: 130.7 MB / 449.6 MB, free: 6.402 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.06526/0.06526, allocations: 20.99 MB / 0.6358 GB, free: 4.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.2433, allocations: 81.91 MB / 0.7158 GB, free: 2.711 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.5284/0.7717, allocations: 43.29 MB / 0.7581 GB, free: 22.3 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02388/0.7956, allocations: 16.19 MB / 0.7739 GB, free: 11.14 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/0.7988, allocations: 60.75 kB / 0.774 GB, free: 11.11 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004479/0.8033, allocations: 1.397 MB / 0.7753 GB, free: 10.52 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005078/0.8083, allocations: 1.515 MB / 0.7768 GB, free: 9.66 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005216/0.8136, allocations: 1.763 MB / 0.7785 GB, free: 8.77 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006531/0.8201, allocations: 3.532 MB / 0.782 GB, free: 7.199 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.822, allocations: 0.8827 MB / 0.7829 GB, free: 6.789 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003215/0.8253, allocations: 1.444 MB / 0.7843 GB, free: 6.172 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003311/0.8286, allocations: 1.607 MB / 0.7858 GB, free: 5.234 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0006643/0.8292, allocations: 199.8 kB / 0.786 GB, free: 5.234 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.8328, allocations: 1.08 MB / 0.7871 GB, free: 4.738 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0009916/0.8338, allocations: 0.8058 MB / 0.7879 GB, free: 4.168 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.8352, allocations: 0.8946 MB / 0.7887 GB, free: 3.59 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.006859/0.8421, allocations: 3.87 MB / 0.7925 GB, free: 1.078 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.8421, allocations: 0 / 0.7925 GB, free: 1.078 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8421, allocations: 0 / 0.7925 GB, free: 1.078 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 8.242e-05/0.8422, allocations: 0 / 0.7925 GB, free: 1.078 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.00682/0.849, allocations: 2.912 MB / 0.7954 GB, free: 15 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.8491, allocations: 9.625 kB / 0.7954 GB, free: 15 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003242/0.8494, allocations: 194.1 kB / 0.7956 GB, free: 14.85 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.8506, allocations: 315.1 kB / 0.7959 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005762/0.8563, allocations: 2.558 MB / 0.7984 GB, free: 12.96 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-05/0.8564, allocations: 80.08 kB / 0.7984 GB, free: 12.93 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.8566, allocations: 103.7 kB / 0.7985 GB, free: 12.89 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005582/0.8622, allocations: 2.673 MB / 0.8011 GB, free: 10.78 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.8622, allocations: 11.88 kB / 0.8012 GB, free: 10.77 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.8623, allocations: 44 kB / 0.8012 GB, free: 10.72 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.8624, allocations: 68.14 kB / 0.8013 GB, free: 10.66 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004724/0.8671, allocations: 1.79 MB / 0.803 GB, free: 8.875 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.01222/0.8794, allocations: 10.53 MB / 0.8133 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004749/0.8841, allocations: 1.708 MB / 0.815 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.8854, allocations: 0.5915 MB / 0.8155 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.8857, allocations: 79.17 kB / 0.8156 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003751/0.8894, allocations: 1.442 MB / 0.817 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.887e-06/0.8894, allocations: 0 / 0.817 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.00924/0.8987, allocations: 3.313 MB / 0.8202 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002806/0.8989, allocations: 439.8 kB / 0.8207 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003317/0.9023, allocations: 1.982 MB / 0.8226 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.9024, allocations: 37.7 kB / 0.8226 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008097/0.9032, allocations: 0.8557 MB / 0.8235 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007323/0.904, allocations: 0.6686 MB / 0.8241 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006979/0.9047, allocations: 458.1 kB / 0.8246 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.9048, allocations: 305.1 kB / 0.8249 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.9065, allocations: 0.8738 MB / 0.8257 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.9087, allocations: 1.58 MB / 0.8273 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008187/0.9169, allocations: 4.032 MB / 0.8312 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.9169, allocations: 4 kB / 0.8312 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005579/0.9225, allocations: 2.748 MB / 0.8339 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.099e-05/0.9226, allocations: 46.47 kB / 0.8339 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003557/0.9261, allocations: 1.935 MB / 0.8358 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000291/0.9264, allocations: 96.73 kB / 0.8359 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.9281, allocations: 0.5486 MB / 0.8364 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.9297, allocations: 1.538 MB / 0.8379 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.9315, allocations: 246.4 kB / 0.8382 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/0.9317, allocations: 139.9 kB / 0.8383 GB, free: 3.359 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.002822/0.9345, allocations: 1.341 MB / 0.8396 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002335/0.9369, allocations: 1.573 MB / 0.8412 GB, free: 128 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008021/0.9449, allocations: 3.987 MB / 0.8451 GB, free: 11.9 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-05/0.9449, allocations: 4 kB / 0.8451 GB, free: 11.89 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005581/0.9505, allocations: 2.73 MB / 0.8477 GB, free: 9.156 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/0.9506, allocations: 41.7 kB / 0.8478 GB, free: 9.109 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003647/0.9542, allocations: 1.928 MB / 0.8496 GB, free: 7.168 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/0.9545, allocations: 87.47 kB / 0.8497 GB, free: 7.082 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.9562, allocations: 0.5538 MB / 0.8503 GB, free: 6.527 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.9578, allocations: 1.537 MB / 0.8518 GB, free: 4.887 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.9596, allocations: 203.5 kB / 0.852 GB, free: 4.688 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002839/0.9599, allocations: 131.9 kB / 0.8521 GB, free: 4.559 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.0007534/0.9606, allocations: 329.3 kB / 0.8524 GB, free: 4.238 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008438/0.9615, allocations: 230.4 kB / 0.8526 GB, free: 4.012 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.004885/0.9663, allocations: 2.396 MB / 0.855 GB, free: 1.75 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.928871389012784] Failed to read output from testmodel.py, exit status != 0: 1.1693641520105302 1.186470105 0.341166498 Calling exit ...