Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.009118/0.009118, allocations: 1.773 MB / 20.62 MB, free: 3.871 MB / 13.93 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.1291/0.1291, allocations: 25.6 MB / 49.71 MB, free: 2.969 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.0009111/0.0009111, allocations: 118.1 kB / 60.65 MB, free: 3.027 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.001153/0.001153, allocations: 219.4 kB / 71.73 MB, free: 6.488 MB / 44.04 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.9774/0.9774, allocations: 230.6 MB / 313.3 MB, free: 11.79 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.7814/0.7814, allocations: 130.8 MB / 0.4964 GB, free: 2.371 MB / 362.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/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_dev_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_dev_ClaRa_Components_VolumesValvesFittings_Pipes_Check_MassDefect_Test_Pipe_L2_Simple",fmuType="me_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: 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: 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: Performance of FrontEnd - loaded program: time 0.00269/0.00269, allocations: 148.6 kB / 0.6901 GB, free: 46.91 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1523, allocations: 89.28 MB / 0.7773 GB, free: 3.07 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple): time 0.00877/0.1611, allocations: 10.3 MB / 0.7874 GB, free: 8.715 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.1781, allocations: 16.17 MB / 0.8032 GB, free: 8.5 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.1793, allocations: 51.62 kB / 0.8032 GB, free: 8.449 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.1818, allocations: 1.413 MB / 0.8046 GB, free: 7.031 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.1841, allocations: 1.505 MB / 0.8061 GB, free: 5.52 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.1868, allocations: 1.761 MB / 0.8078 GB, free: 3.754 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003102/0.1899, allocations: 3.536 MB / 0.8113 GB, free: 212 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.191, allocations: 0.8856 MB / 0.8121 GB, free: 15.3 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.1929, allocations: 1.444 MB / 0.8135 GB, free: 13.85 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.1945, allocations: 1.61 MB / 0.8151 GB, free: 12.23 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003869/0.1949, allocations: 200 kB / 0.8153 GB, free: 12.04 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.1968, allocations: 1.072 MB / 0.8163 GB, free: 10.96 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005139/0.1973, allocations: 0.8137 MB / 0.8171 GB, free: 10.15 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008383/0.1981, allocations: 0.8937 MB / 0.818 GB, free: 9.25 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.003611/0.2017, allocations: 3.865 MB / 0.8218 GB, free: 5.371 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2017, allocations: 4 kB / 0.8218 GB, free: 5.367 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2017, allocations: 0 / 0.8218 GB, free: 5.367 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 6.53e-05/0.2018, allocations: 4 kB / 0.8218 GB, free: 5.363 MB / 0.5887 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.003616/0.2054, allocations: 2.914 MB / 0.8246 GB, free: 2.398 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.2055, allocations: 8.031 kB / 0.8246 GB, free: 2.391 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.2056, allocations: 199.3 kB / 0.8248 GB, free: 2.188 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000585/0.2062, allocations: 315.1 kB / 0.8251 GB, free: 1.879 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.2094, allocations: 2.561 MB / 0.8276 GB, free: 15.29 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.395e-05/0.2094, allocations: 81.92 kB / 0.8277 GB, free: 15.2 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.2095, allocations: 92 kB / 0.8278 GB, free: 15.11 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.2128, allocations: 2.669 MB / 0.8304 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.2129, allocations: 19.86 kB / 0.8304 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.275e-05/0.2129, allocations: 48 kB / 0.8305 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.615e-05/0.213, allocations: 69.22 kB / 0.8305 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/0.2158, allocations: 1.792 MB / 0.8323 GB, free: 10.15 MB / 0.6043 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.006541/0.2223, allocations: 10.52 MB / 0.8426 GB, free: 15.25 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.2253, allocations: 1.705 MB / 0.8442 GB, free: 13.47 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006922/0.226, allocations: 0.5908 MB / 0.8448 GB, free: 12.86 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.2261, allocations: 76.48 kB / 0.8449 GB, free: 12.79 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002219/0.2284, allocations: 1.446 MB / 0.8463 GB, free: 11.3 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=195): time 2.614e-06/0.2284, allocations: 0 / 0.8463 GB, free: 11.3 MB / 0.6199 GB Notification: Performance of matching and sorting (n=195): time 0.005595/0.2339, allocations: 3.316 MB / 0.8495 GB, free: 7.973 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.2341, allocations: 435.8 kB / 0.8499 GB, free: 7.449 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.2362, allocations: 1.986 MB / 0.8519 GB, free: 5.426 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 8.104e-05/0.2363, allocations: 45.7 kB / 0.8519 GB, free: 5.375 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004934/0.2368, allocations: 0.8517 MB / 0.8527 GB, free: 4.512 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.2371, allocations: 0.666 MB / 0.8534 GB, free: 3.84 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004262/0.2376, allocations: 451.5 kB / 0.8538 GB, free: 3.391 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.2376, allocations: 305.1 kB / 0.8541 GB, free: 3.09 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.2386, allocations: 0.8777 MB / 0.855 GB, free: 2.203 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.2399, allocations: 1.581 MB / 0.8565 GB, free: 316 kB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004844/0.2448, allocations: 4.018 MB / 0.8604 GB, free: 12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.2448, allocations: 11.94 kB / 0.8605 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003251/0.248, allocations: 2.749 MB / 0.8631 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.2481, allocations: 37.7 kB / 0.8632 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002346/0.2504, allocations: 1.943 MB / 0.8651 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.2506, allocations: 84.81 kB / 0.8652 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009827/0.2516, allocations: 0.5616 MB / 0.8657 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000963/0.2525, allocations: 1.533 MB / 0.8672 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000818/0.2534, allocations: 246.2 kB / 0.8674 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.2535, allocations: 136 kB / 0.8676 GB, free: 4.535 MB / 0.6355 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.001657/0.2552, allocations: 1.348 MB / 0.8689 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001298/0.2565, allocations: 1.573 MB / 0.8704 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004595/0.2611, allocations: 3.995 MB / 0.8743 GB, free: 13 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.124e-06/0.2611, allocations: 8 kB / 0.8743 GB, free: 13 MB / 0.6512 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.003179/0.2642, allocations: 2.719 MB / 0.877 GB, free: 10.26 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.2643, allocations: 45.69 kB / 0.877 GB, free: 10.21 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002323/0.2666, allocations: 1.919 MB / 0.8789 GB, free: 8.27 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.2667, allocations: 89.06 kB / 0.879 GB, free: 8.18 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009528/0.2677, allocations: 0.5577 MB / 0.8795 GB, free: 7.621 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008589/0.2685, allocations: 1.537 MB / 0.881 GB, free: 5.973 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007979/0.2693, allocations: 202.9 kB / 0.8812 GB, free: 5.773 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.2695, allocations: 135.9 kB / 0.8814 GB, free: 5.641 MB / 0.6512 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.0004331/0.2699, allocations: 323.7 kB / 0.8817 GB, free: 5.324 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.2702, allocations: 234.4 kB / 0.8819 GB, free: 5.094 MB / 0.6512 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.00266/0.2729, allocations: 2.394 MB / 0.8842 GB, free: 2.688 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.3692570570856333]