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.01481/0.01481, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.00129/0.00129, allocations: 104.8 kB / 24.98 MB, free: 2.184 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.001659/0.001659, allocations: 206 kB / 28.71 MB, free: 3.461 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.473/1.473, allocations: 230.6 MB / 262.9 MB, free: 6.23 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.084/1.084, allocations: 130.7 MB / 450.5 MB, free: 6.543 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="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="cs",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.03101/0.03101, allocations: 20.61 MB / 0.6363 GB, free: 5.328 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1992, allocations: 81.9 MB / 0.7163 GB, free: 3.34 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.5018/0.7011, allocations: 44.38 MB / 0.7597 GB, free: 21.54 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02267/0.7237, allocations: 16.92 MB / 0.7762 GB, free: 9.633 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003631/0.7274, allocations: 53 kB / 0.7762 GB, free: 9.609 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004658/0.732, allocations: 1.514 MB / 0.7777 GB, free: 8.949 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004795/0.7368, allocations: 1.517 MB / 0.7792 GB, free: 8.09 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004716/0.7415, allocations: 1.761 MB / 0.7809 GB, free: 7.199 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005514/0.7471, allocations: 3.544 MB / 0.7844 GB, free: 5.617 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.7484, allocations: 0.8226 MB / 0.7852 GB, free: 5.242 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.7506, allocations: 1.431 MB / 0.7866 GB, free: 4.629 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.7527, allocations: 1.668 MB / 0.7882 GB, free: 3.699 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003233/0.753, allocations: 201.5 kB / 0.7884 GB, free: 3.699 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.756, allocations: 1.542 MB / 0.7899 GB, free: 2.887 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0006777/0.7567, allocations: 0.8078 MB / 0.7907 GB, free: 2.312 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.7577, allocations: 1.154 MB / 0.7918 GB, free: 1.473 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005749/0.7635, allocations: 3.957 MB / 0.7957 GB, free: 14.88 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7635, allocations: 0 / 0.7957 GB, free: 14.88 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7635, allocations: 1.188 kB / 0.7957 GB, free: 14.88 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.859e-05/0.7635, allocations: 0 / 0.7957 GB, free: 14.88 MB / 0.5763 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.006136/0.7697, allocations: 2.921 MB / 0.7985 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.7697, allocations: 9.625 kB / 0.7986 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.965e-05/0.7698, allocations: 30.91 kB / 0.7986 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002425/0.77, allocations: 198.1 kB / 0.7988 GB, free: 12.63 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.771, allocations: 314.9 kB / 0.7991 GB, free: 12.46 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005198/0.7762, allocations: 2.557 MB / 0.8016 GB, free: 10.75 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/0.7763, allocations: 80.73 kB / 0.8016 GB, free: 10.71 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.7765, allocations: 103.5 kB / 0.8017 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005323/0.7818, allocations: 2.439 MB / 0.8041 GB, free: 8.859 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.7818, allocations: 13.59 kB / 0.8041 GB, free: 8.852 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.7819, allocations: 45.38 kB / 0.8042 GB, free: 8.824 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.297e-05/0.782, allocations: 65.34 kB / 0.8042 GB, free: 8.812 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004749/0.7868, allocations: 1.808 MB / 0.806 GB, free: 7.129 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.01167/0.7984, allocations: 10.94 MB / 0.8167 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0049/0.8033, allocations: 1.725 MB / 0.8184 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.8045, allocations: 0.5856 MB / 0.8189 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.8047, allocations: 83.06 kB / 0.819 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00391/0.8087, allocations: 1.452 MB / 0.8204 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.677e-06/0.8087, allocations: 0 / 0.8204 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009651/0.8183, allocations: 3.311 MB / 0.8237 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002573/0.8186, allocations: 438.5 kB / 0.8241 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/0.8218, allocations: 1.94 MB / 0.826 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.8219, allocations: 41.7 kB / 0.826 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007846/0.8227, allocations: 0.8621 MB / 0.8269 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006816/0.8234, allocations: 0.6699 MB / 0.8275 GB, free: 472 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007198/0.8241, allocations: 451.5 kB / 0.828 GB, free: 16 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8243, allocations: 305.1 kB / 0.8282 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.8259, allocations: 0.8474 MB / 0.8291 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/0.8281, allocations: 1.48 MB / 0.8305 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008425/0.8365, allocations: 4.022 MB / 0.8344 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.8366, allocations: 6.625 kB / 0.8345 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005902/0.8425, allocations: 2.723 MB / 0.8371 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.125e-05/0.8425, allocations: 45.64 kB / 0.8372 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003818/0.8463, allocations: 1.909 MB / 0.839 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/0.8466, allocations: 84.81 kB / 0.8391 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/0.8484, allocations: 0.5577 MB / 0.8396 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.8501, allocations: 1.544 MB / 0.8412 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.8519, allocations: 241 kB / 0.8414 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/0.8522, allocations: 135.9 kB / 0.8415 GB, free: 1.508 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.002747/0.8549, allocations: 1.323 MB / 0.8428 GB, free: 196 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002283/0.8572, allocations: 1.468 MB / 0.8442 GB, free: 14.45 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008184/0.8654, allocations: 3.992 MB / 0.8481 GB, free: 10.23 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.076e-05/0.8654, allocations: 6.734 kB / 0.8481 GB, free: 10.23 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.006123/0.8715, allocations: 2.69 MB / 0.8508 GB, free: 7.531 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 6.45e-05/0.8716, allocations: 45.69 kB / 0.8508 GB, free: 7.48 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003941/0.8755, allocations: 1.888 MB / 0.8527 GB, free: 5.59 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002611/0.8758, allocations: 95.39 kB / 0.8527 GB, free: 5.496 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.8776, allocations: 0.5499 MB / 0.8533 GB, free: 4.945 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.8791, allocations: 1.551 MB / 0.8548 GB, free: 3.293 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.8809, allocations: 194.8 kB / 0.855 GB, free: 3.102 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/0.8812, allocations: 135.9 kB / 0.8551 GB, free: 2.969 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.0006952/0.8819, allocations: 325.8 kB / 0.8554 GB, free: 2.652 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008106/0.8827, allocations: 234.4 kB / 0.8557 GB, free: 2.422 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.004867/0.8876, allocations: 2.378 MB / 0.858 GB, free: 176 kB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.957877667970024] Failed to read output from testmodel.py, exit status != 0: 1.082560806069523 1.09767935 0.331204731 Calling exit ...