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.006884/0.006884, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 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.07791/0.07791, allocations: 18.24 MB / 42.19 MB, free: 5.184 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.001025/0.001025, allocations: 92.81 kB / 53.07 MB, free: 6.504 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.001203/0.001203, allocations: 161.4 kB / 64.04 MB, free: 10.2 MB / 58.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 0.9177/0.9177, allocations: 177.2 MB / 252.1 MB, free: 11.78 MB / 218.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.481/0.481, allocations: 102.6 MB / 418.7 MB, free: 5.312 MB / 362.7 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: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 4 kB / 0.603 GB, free: 376 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.38e-05, allocations: 4.906 kB / 0.603 GB, free: 372 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple): time 0.008375/0.008399, allocations: 10.26 MB / 0.613 GB, free: 6.047 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.02438, allocations: 15.9 MB / 0.6286 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009722/0.02535, allocations: 55.56 kB / 0.6286 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.02779, allocations: 1.423 MB / 0.63 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.02962, allocations: 1.55 MB / 0.6315 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.03224, allocations: 1.791 MB / 0.6333 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002769/0.03501, allocations: 3.627 MB / 0.6368 GB, free: 13.62 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007836/0.0358, allocations: 0.8895 MB / 0.6377 GB, free: 12.71 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.03718, allocations: 1.878 MB / 0.6395 GB, free: 10.83 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.03837, allocations: 1.455 MB / 0.6409 GB, free: 9.375 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.03856, allocations: 200 kB / 0.6411 GB, free: 9.18 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.04023, allocations: 1.102 MB / 0.6422 GB, free: 8.078 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004766/0.0407, allocations: 0.8449 MB / 0.643 GB, free: 7.23 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.000667/0.04137, allocations: 0.713 MB / 0.6437 GB, free: 6.516 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.002817/0.04419, allocations: 3.832 MB / 0.6475 GB, free: 2.672 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.04419, allocations: 0 / 0.6475 GB, free: 2.672 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.04419, allocations: 4 kB / 0.6475 GB, free: 2.668 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.04421, allocations: 0 / 0.6475 GB, free: 2.668 MB / 0.5262 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.003188/0.0474, allocations: 2.883 MB / 0.6503 GB, free: 15.73 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.04744, allocations: 12.03 kB / 0.6503 GB, free: 15.72 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/0.0476, allocations: 191.3 kB / 0.6505 GB, free: 15.53 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004996/0.0481, allocations: 319 kB / 0.6508 GB, free: 15.21 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.05081, allocations: 2.562 MB / 0.6533 GB, free: 12.62 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.654e-05/0.05085, allocations: 74.36 kB / 0.6534 GB, free: 12.55 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.05096, allocations: 100.3 kB / 0.6535 GB, free: 12.45 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003118/0.05408, allocations: 2.669 MB / 0.6561 GB, free: 9.418 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.05411, allocations: 19.88 kB / 0.6561 GB, free: 9.398 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.74e-05/0.05419, allocations: 52 kB / 0.6561 GB, free: 9.348 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.999e-05/0.05425, allocations: 65.28 kB / 0.6562 GB, free: 9.281 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/0.05697, allocations: 1.788 MB / 0.6579 GB, free: 7.496 MB / 0.5418 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.2498/0.3068, allocations: 10.47 MB / 0.6682 GB, free: 61.45 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/0.3101, allocations: 1.708 MB / 0.6698 GB, free: 61.12 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007898/0.3109, allocations: 0.598 MB / 0.6704 GB, free: 60.86 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.3111, allocations: 75.2 kB / 0.6705 GB, free: 60.84 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002355/0.3134, allocations: 1.443 MB / 0.6719 GB, free: 60.34 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=195): time 3.737e-06/0.3134, allocations: 1.812 kB / 0.6719 GB, free: 60.34 MB / 0.5418 GB Notification: Performance of matching and sorting (n=195): time 0.005848/0.3193, allocations: 3.314 MB / 0.6751 GB, free: 59.47 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/0.3193, allocations: 434.4 kB / 0.6755 GB, free: 58.97 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.3211, allocations: 1.979 MB / 0.6775 GB, free: 58.24 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.358e-05/0.3212, allocations: 37.33 kB / 0.6775 GB, free: 58.2 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.3216, allocations: 0.8522 MB / 0.6783 GB, free: 57.63 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.3219, allocations: 0.6559 MB / 0.679 GB, free: 57.19 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004583/0.3224, allocations: 448.7 kB / 0.6794 GB, free: 57.02 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 3.013e-05/0.3224, allocations: 305.7 kB / 0.6797 GB, free: 56.72 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009958/0.3234, allocations: 0.8761 MB / 0.6806 GB, free: 56.36 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.3246, allocations: 1.583 MB / 0.6821 GB, free: 55.12 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004634/0.3292, allocations: 4.027 MB / 0.686 GB, free: 53.05 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.3292, allocations: 8.062 kB / 0.6861 GB, free: 53.05 MB / 0.5418 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003312/0.3325, allocations: 2.751 MB / 0.6887 GB, free: 51.9 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.3326, allocations: 42.55 kB / 0.6888 GB, free: 51.87 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002698/0.3353, allocations: 1.937 MB / 0.6907 GB, free: 51.16 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/0.3355, allocations: 86.22 kB / 0.6908 GB, free: 51.14 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.3366, allocations: 0.5655 MB / 0.6913 GB, free: 51.09 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000841/0.3374, allocations: 1.538 MB / 0.6928 GB, free: 49.73 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008904/0.3383, allocations: 240.7 kB / 0.693 GB, free: 49.62 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.3384, allocations: 133.9 kB / 0.6932 GB, free: 49.61 MB / 0.5418 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.001823/0.3403, allocations: 1.348 MB / 0.6945 GB, free: 49 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001255/0.3415, allocations: 1.574 MB / 0.696 GB, free: 47.76 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004543/0.3461, allocations: 3.992 MB / 0.6999 GB, free: 45.6 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.758e-06/0.3461, allocations: 5.625 kB / 0.6999 GB, free: 45.6 MB / 0.5418 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.003174/0.3492, allocations: 2.735 MB / 0.7026 GB, free: 44.18 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.3493, allocations: 40.14 kB / 0.7026 GB, free: 44.15 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002194/0.3515, allocations: 1.914 MB / 0.7045 GB, free: 43.18 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.3516, allocations: 84.59 kB / 0.7046 GB, free: 43.15 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009836/0.3526, allocations: 0.5582 MB / 0.7051 GB, free: 43 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006868/0.3533, allocations: 1.547 MB / 0.7066 GB, free: 41.55 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000809/0.3541, allocations: 203.4 kB / 0.7068 GB, free: 41.45 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.3542, allocations: 130.6 kB / 0.707 GB, free: 41.41 MB / 0.5418 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.0005497/0.3548, allocations: 321.8 kB / 0.7073 GB, free: 41.14 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.355, allocations: 234 kB / 0.7075 GB, free: 41 MB / 0.5418 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.0024/0.3574, allocations: 2.399 MB / 0.7098 GB, free: 39.68 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.1031294213607907]