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.008188/0.008188, allocations: 1.781 MB / 22.36 MB, free: 2.105 MB / 18.57 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.001208/0.001208, allocations: 79.86 kB / 26.19 MB, free: 6.09 MB / 18.57 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.0008969/0.0008969, allocations: 170.6 kB / 30.13 MB, free: 2.18 MB / 18.57 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.8884/0.8884, allocations: 177.2 MB / 211.1 MB, free: 3.41 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6118/0.6118, allocations: 102.5 MB / 370.7 MB, free: 196 kB / 330.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/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 1.0.0 (/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.[0-9,]+.|tubeBundle_L2_Simple.p.[0-9,]+.",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.[0-9,]+.|tubeBundle_L2_Simple.p.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 471.2 MB, free: 18.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.878e-06/1.101e-05, allocations: 9.562 kB / 471.3 MB, free: 18.86 MB / 410.8 MB 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.1056/0.1057, allocations: 60.42 MB / 0.5192 GB, free: 11.19 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01589/0.1215, allocations: 16.5 MB / 0.5353 GB, free: 10.64 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009511/0.1225, allocations: 59.56 kB / 0.5354 GB, free: 10.59 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.1247, allocations: 1.42 MB / 0.5368 GB, free: 9.16 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.1265, allocations: 1.569 MB / 0.5383 GB, free: 7.582 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.1288, allocations: 1.795 MB / 0.5401 GB, free: 5.781 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.00245/0.1313, allocations: 3.63 MB / 0.5436 GB, free: 2.141 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007972/0.1321, allocations: 0.933 MB / 0.5445 GB, free: 1.184 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1085/0.2406, allocations: 47.09 MB / 0.5905 GB, free: 3.27 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.2423, allocations: 1.332 MB / 0.5918 GB, free: 1.934 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0002279/0.2425, allocations: 152 kB / 0.592 GB, free: 1.785 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.2443, allocations: 1.04 MB / 0.593 GB, free: 0.7422 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0004987/0.2448, allocations: 0.7397 MB / 0.5937 GB, free: 0 / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0006065/0.2454, allocations: 0.6388 MB / 0.5943 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002998/0.2484, allocations: 2.666 MB / 0.5969 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2484, allocations: 0 / 0.5969 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2484, allocations: 3.938 kB / 0.5969 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.669e-05/0.2484, allocations: 0 / 0.5969 GB, free: 12.68 MB / 0.5105 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.002676/0.2511, allocations: 2.845 MB / 0.5997 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2511, allocations: 8.031 kB / 0.5997 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.2514, allocations: 331.2 kB / 0.6 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.2528, allocations: 1.431 MB / 0.6014 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.2529, allocations: 82.3 kB / 0.6015 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.253, allocations: 100.4 kB / 0.6016 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.2555, allocations: 2.345 MB / 0.6039 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.2555, allocations: 11.88 kB / 0.6039 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/0.2556, allocations: 48 kB / 0.6039 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-05/0.2556, allocations: 61.28 kB / 0.604 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.2574, allocations: 1.031 MB / 0.605 GB, free: 3.82 MB / 0.5105 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.005958/0.2633, allocations: 13.6 MB / 0.6183 GB, free: 5.742 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.2653, allocations: 1.149 MB / 0.6194 GB, free: 4.504 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.2656, allocations: 264.9 kB / 0.6197 GB, free: 4.219 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.2657, allocations: 72.62 kB / 0.6197 GB, free: 4.148 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001622/0.2673, allocations: 1.051 MB / 0.6208 GB, free: 3.031 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=195): time 2.134e-06/0.2673, allocations: 0 / 0.6208 GB, free: 3.031 MB / 0.5262 GB Notification: Performance of matching and sorting (n=195): time 0.003912/0.2713, allocations: 2.223 MB / 0.6229 GB, free: 0.7969 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.2714, allocations: 483.2 kB / 0.6234 GB, free: 216 kB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.2728, allocations: 1.748 MB / 0.6251 GB, free: 14.41 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.992e-05/0.2728, allocations: 41.7 kB / 0.6251 GB, free: 14.37 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005662/0.2734, allocations: 0.9771 MB / 0.6261 GB, free: 13.38 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/0.2738, allocations: 0.6895 MB / 0.6268 GB, free: 12.68 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004584/0.2743, allocations: 481.3 kB / 0.6272 GB, free: 12.2 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2744, allocations: 488.8 kB / 0.6277 GB, free: 11.72 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.2748, allocations: 330.2 kB / 0.628 GB, free: 11.39 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009039/0.2757, allocations: 1.393 MB / 0.6294 GB, free: 9.555 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.2775, allocations: 2 MB / 0.6313 GB, free: 7.164 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.2775, allocations: 11.94 kB / 0.6313 GB, free: 7.152 MB / 0.5418 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002026/0.2795, allocations: 1.713 MB / 0.633 GB, free: 5.414 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.2796, allocations: 37.7 kB / 0.633 GB, free: 5.371 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00119/0.2808, allocations: 0.9609 MB / 0.634 GB, free: 4.391 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/0.281, allocations: 76.33 kB / 0.6341 GB, free: 4.312 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009517/0.2819, allocations: 0.546 MB / 0.6346 GB, free: 3.766 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007901/0.2827, allocations: 1.771 MB / 0.6363 GB, free: 1.883 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/0.2832, allocations: 230.4 kB / 0.6365 GB, free: 1.656 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.2834, allocations: 111.9 kB / 0.6366 GB, free: 1.547 MB / 0.5418 GB Warning: Assuming fixed start value for the following 2 variables: tubeBundle_L2_Simple.h[1]:VARIABLE(start = tubeBundle_L2_Simple.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.0006772/0.284, allocations: 497.5 kB / 0.6371 GB, free: 1.051 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008589/0.2849, allocations: 1.389 MB / 0.6385 GB, free: 15.22 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001656/0.2866, allocations: 1.995 MB / 0.6404 GB, free: 12.84 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.931e-06/0.2866, allocations: 4 kB / 0.6404 GB, free: 12.84 MB / 0.5574 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.001907/0.2885, allocations: 1.714 MB / 0.6421 GB, free: 11.1 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.2885, allocations: 49.53 kB / 0.6421 GB, free: 11.04 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001122/0.2896, allocations: 0.9492 MB / 0.6431 GB, free: 10.07 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/0.2898, allocations: 67.64 kB / 0.6431 GB, free: 10 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009222/0.2907, allocations: 0.5539 MB / 0.6437 GB, free: 9.449 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007327/0.2914, allocations: 1.771 MB / 0.6454 GB, free: 7.566 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.292, allocations: 198.7 kB / 0.6456 GB, free: 7.371 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.2921, allocations: 115.9 kB / 0.6457 GB, free: 7.258 MB / 0.5574 GB Warning: Assuming fixed start value for the following 2 variables: tubeBundle_L2_Simple.h[1]:VARIABLE(start = tubeBundle_L2_Simple.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.0003108/0.2924, allocations: 424.6 kB / 0.6461 GB, free: 6.836 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.2927, allocations: 254.4 kB / 0.6464 GB, free: 6.586 MB / 0.5574 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.002031/0.2947, allocations: 2.001 MB / 0.6483 GB, free: 4.539 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.005984826013446]