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.01475/0.01475, allocations: 1.751 MB / 21.35 MB, free: 356 kB / 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.001629/0.001629, allocations: 104.3 kB / 24.93 MB, free: 2.031 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.002461/0.002461, allocations: 213 kB / 28.65 MB, free: 3.297 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.515/1.515, allocations: 230.6 MB / 262.8 MB, free: 5.82 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.099/1.099, allocations: 130.7 MB / 450.4 MB, free: 6.434 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: translateModel(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tubeBundle_L2_Simple.h.1.|tubeBundle_L2_Simple.p.1.",fileNamePrefix="ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple") translateModel(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tubeBundle_L2_Simple.h.1.|tubeBundle_L2_Simple.p.1.",fileNamePrefix="ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple") [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.06724/0.06724, allocations: 20.99 MB / 0.6371 GB, free: 4.207 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.2571, allocations: 81.92 MB / 0.7171 GB, free: 2.188 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.6261/0.8832, allocations: 43.28 MB / 0.7593 GB, free: 22.98 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02387/0.9071, allocations: 16.18 MB / 0.7751 GB, free: 11.74 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.9101, allocations: 59.12 kB / 0.7752 GB, free: 11.71 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.0042/0.9143, allocations: 1.398 MB / 0.7766 GB, free: 11.12 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004801/0.9191, allocations: 1.513 MB / 0.778 GB, free: 10.27 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004829/0.9239, allocations: 1.765 MB / 0.7798 GB, free: 9.379 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005817/0.9297, allocations: 3.543 MB / 0.7832 GB, free: 7.801 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.9313, allocations: 0.8813 MB / 0.7841 GB, free: 7.395 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.9339, allocations: 1.436 MB / 0.7855 GB, free: 6.66 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002491/0.9364, allocations: 1.607 MB / 0.787 GB, free: 5.703 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004185/0.9368, allocations: 199.7 kB / 0.7872 GB, free: 5.703 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.9398, allocations: 1.081 MB / 0.7883 GB, free: 5.207 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0007719/0.9406, allocations: 0.8077 MB / 0.7891 GB, free: 4.633 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.9417, allocations: 0.8896 MB / 0.79 GB, free: 4.059 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005602/0.9473, allocations: 3.871 MB / 0.7937 GB, free: 1.543 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.9473, allocations: 2.844 kB / 0.7937 GB, free: 1.543 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9473, allocations: 3.938 kB / 0.7937 GB, free: 1.539 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 6.564e-05/0.9473, allocations: 0 / 0.7937 GB, free: 1.539 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.006091/0.9534, allocations: 2.907 MB / 0.7966 GB, free: 15.47 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 6.838e-05/0.9535, allocations: 9.625 kB / 0.7966 GB, free: 15.47 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009726/0.9545, allocations: 318.3 kB / 0.7969 GB, free: 15.29 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004889/0.9594, allocations: 2.565 MB / 0.7994 GB, free: 13.58 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.013e-05/0.9594, allocations: 74.75 kB / 0.7995 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.9596, allocations: 101.1 kB / 0.7996 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005394/0.965, allocations: 2.669 MB / 0.8022 GB, free: 11.16 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.965, allocations: 15.86 kB / 0.8022 GB, free: 11.14 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.9652, allocations: 55.92 kB / 0.8022 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.9653, allocations: 65.28 kB / 0.8023 GB, free: 11.03 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004651/0.9699, allocations: 1.786 MB / 0.804 GB, free: 9.246 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.01093/0.9808, allocations: 10.36 MB / 0.8142 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004693/0.9855, allocations: 1.712 MB / 0.8158 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.9867, allocations: 0.5869 MB / 0.8164 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/0.9869, allocations: 79.2 kB / 0.8165 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003703/0.9906, allocations: 1.442 MB / 0.8179 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 4.658e-06/0.9906, allocations: 6.859 kB / 0.8179 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009699/1, allocations: 3.317 MB / 0.8211 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002655/1.001, allocations: 431.8 kB / 0.8215 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/1.004, allocations: 1.931 MB / 0.8234 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/1.004, allocations: 41.7 kB / 0.8235 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008689/1.005, allocations: 0.8554 MB / 0.8243 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008471/1.006, allocations: 0.6699 MB / 0.825 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007702/1.007, allocations: 450.2 kB / 0.8254 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.007, allocations: 305.1 kB / 0.8257 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/1.008, allocations: 0.8777 MB / 0.8265 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/1.011, allocations: 1.584 MB / 0.8281 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008188/1.019, allocations: 4.028 MB / 0.832 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/1.019, allocations: 6.688 kB / 0.832 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005451/1.025, allocations: 2.747 MB / 0.8347 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/1.025, allocations: 40.36 kB / 0.8347 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003663/1.028, allocations: 1.936 MB / 0.8366 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/1.029, allocations: 92.73 kB / 0.8367 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/1.03, allocations: 0.5577 MB / 0.8373 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/1.032, allocations: 1.509 MB / 0.8387 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/1.034, allocations: 238.3 kB / 0.839 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/1.034, allocations: 141.2 kB / 0.8391 GB, free: 4.004 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.00269/1.037, allocations: 1.345 MB / 0.8404 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00226/1.039, allocations: 1.58 MB / 0.842 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008158/1.047, allocations: 3.987 MB / 0.8459 GB, free: 12.54 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.128e-05/1.047, allocations: 4 kB / 0.8459 GB, free: 12.53 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005637/1.053, allocations: 2.737 MB / 0.8485 GB, free: 9.789 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/1.053, allocations: 37.7 kB / 0.8486 GB, free: 9.746 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003657/1.056, allocations: 1.917 MB / 0.8504 GB, free: 7.812 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002589/1.057, allocations: 88.81 kB / 0.8505 GB, free: 7.723 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/1.059, allocations: 0.5564 MB / 0.8511 GB, free: 7.168 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/1.06, allocations: 1.519 MB / 0.8526 GB, free: 5.555 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/1.062, allocations: 194.8 kB / 0.8527 GB, free: 5.363 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002344/1.062, allocations: 135.9 kB / 0.8529 GB, free: 5.23 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.0007349/1.063, allocations: 334.6 kB / 0.8532 GB, free: 4.906 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005059/1.063, allocations: 230.4 kB / 0.8534 GB, free: 4.68 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.004418/1.068, allocations: 2.387 MB / 0.8557 GB, free: 2.426 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.110773876775056] Failed to read output from testmodel.py, exit status != 0: 1.2654545870609581 1.280059698 0.329631428 Calling exit ...