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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01289/0.01289, allocations: 1.771 MB / 18.12 MB, free: 4.945 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.001231/0.001231, allocations: 111.6 kB / 21.36 MB, free: 1.711 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.001733/0.001733, allocations: 207.4 kB / 24.74 MB, free: 3.762 MB / 14.72 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.605/1.605, allocations: 230.6 MB / 258.5 MB, free: 13.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.197/1.197, allocations: 130.5 MB / 445.5 MB, free: 14.65 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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 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_dev_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_dev_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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4614/0.4614, allocations: 46.15 MB / 0.655 GB, free: 30.74 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.6884, allocations: 89.05 MB / 0.7419 GB, free: 2.375 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple): time 0.01894/0.7074, allocations: 11.43 MB / 0.7531 GB, free: 6.895 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03433/0.7417, allocations: 16.64 MB / 0.7693 GB, free: 6.203 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003725/0.7454, allocations: 51.62 kB / 0.7694 GB, free: 6.152 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.005966/0.7514, allocations: 1.448 MB / 0.7708 GB, free: 4.699 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.006433/0.7578, allocations: 1.473 MB / 0.7722 GB, free: 3.219 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006917/0.7647, allocations: 1.691 MB / 0.7739 GB, free: 1.523 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.007799/0.7725, allocations: 3.539 MB / 0.7773 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/0.7747, allocations: 0.8425 MB / 0.7782 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003451/0.7781, allocations: 1.428 MB / 0.7796 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003444/0.7815, allocations: 1.672 MB / 0.7812 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009051/0.7825, allocations: 203.9 kB / 0.7814 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004035/0.7865, allocations: 1.426 MB / 0.7828 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.7881, allocations: 0.802 MB / 0.7836 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002849/0.7909, allocations: 1.15 MB / 0.7847 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009148/0.8001, allocations: 3.927 MB / 0.7885 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.8001, allocations: 4 kB / 0.7885 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.512e-06/0.8001, allocations: 0 / 0.7885 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001368/0.8002, allocations: 0 / 0.7885 GB, free: 2.469 MB / 0.5919 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.007946/0.8082, allocations: 2.986 MB / 0.7914 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.8082, allocations: 12.03 kB / 0.7914 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.8093, allocations: 319.1 kB / 0.7918 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00524/0.8145, allocations: 2.674 MB / 0.7944 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.8146, allocations: 73.94 kB / 0.7944 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.8148, allocations: 104 kB / 0.7945 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005739/0.8205, allocations: 2.439 MB / 0.7969 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.8206, allocations: 15.88 kB / 0.7969 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.8207, allocations: 51.98 kB / 0.797 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.8208, allocations: 65.28 kB / 0.797 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004918/0.8257, allocations: 1.796 MB / 0.7988 GB, free: 7.523 MB / 0.6075 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.01207/0.8378, allocations: 11.01 MB / 0.8095 GB, free: 12.09 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004971/0.8428, allocations: 1.787 MB / 0.8113 GB, free: 10.21 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.8441, allocations: 0.5868 MB / 0.8119 GB, free: 9.598 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002328/0.8443, allocations: 84.42 kB / 0.8119 GB, free: 9.516 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003861/0.8482, allocations: 1.441 MB / 0.8134 GB, free: 8.023 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=195): time 4.017e-06/0.8482, allocations: 0 / 0.8134 GB, free: 8.023 MB / 0.6232 GB Notification: Performance of matching and sorting (n=195): time 0.009856/0.858, allocations: 3.393 MB / 0.8167 GB, free: 4.609 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002981/0.8583, allocations: 436.6 kB / 0.8171 GB, free: 4.082 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003362/0.8617, allocations: 1.947 MB / 0.819 GB, free: 2.098 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002046/0.8619, allocations: 41.7 kB / 0.819 GB, free: 2.051 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008305/0.8627, allocations: 0.8595 MB / 0.8199 GB, free: 1.18 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007482/0.8635, allocations: 0.6584 MB / 0.8205 GB, free: 0.5156 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007503/0.8642, allocations: 451.5 kB / 0.8209 GB, free: 68 kB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.8644, allocations: 305.1 kB / 0.8212 GB, free: 15.77 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.8661, allocations: 0.8565 MB / 0.8221 GB, free: 14.91 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/0.8684, allocations: 1.477 MB / 0.8235 GB, free: 13.14 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008886/0.8773, allocations: 4.023 MB / 0.8274 GB, free: 8.82 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/0.8773, allocations: 8 kB / 0.8274 GB, free: 8.812 MB / 0.6388 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005724/0.883, allocations: 2.716 MB / 0.8301 GB, free: 6.078 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 6.842e-05/0.8831, allocations: 42.64 kB / 0.8301 GB, free: 6.031 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003763/0.8869, allocations: 1.909 MB / 0.832 GB, free: 4.109 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/0.8872, allocations: 88.8 kB / 0.8321 GB, free: 4.02 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.889, allocations: 0.5577 MB / 0.8326 GB, free: 3.461 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.8908, allocations: 1.648 MB / 0.8342 GB, free: 1.672 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.8925, allocations: 242.2 kB / 0.8345 GB, free: 1.434 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/0.8928, allocations: 135.9 kB / 0.8346 GB, free: 1.301 MB / 0.6388 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.002854/0.8956, allocations: 1.32 MB / 0.8359 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002263/0.8979, allocations: 1.469 MB / 0.8373 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008365/0.9062, allocations: 3.991 MB / 0.8412 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.133e-05/0.9062, allocations: 4 kB / 0.8412 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005713/0.912, allocations: 2.693 MB / 0.8439 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.066e-05/0.912, allocations: 45.69 kB / 0.8439 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003697/0.9157, allocations: 1.89 MB / 0.8457 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.916, allocations: 92.73 kB / 0.8458 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.9177, allocations: 0.5499 MB / 0.8464 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.9194, allocations: 1.656 MB / 0.848 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.9211, allocations: 202.7 kB / 0.8482 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002347/0.9213, allocations: 131.9 kB / 0.8483 GB, free: 2.496 MB / 0.6544 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.0007766/0.9221, allocations: 320.5 kB / 0.8486 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005495/0.9226, allocations: 238.4 kB / 0.8488 GB, free: 1.941 MB / 0.6544 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.004818/0.9274, allocations: 2.37 MB / 0.8512 GB, free: 15.54 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.883066501002759] Failed to read output from testmodel.py, exit status != 0: 0.9368896599917207 0.9498209989999999 0.146395527 Calling exit ...