Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop.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.01296/0.01296, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.001511/0.001511, allocations: 83.7 kB / 25.4 MB, free: 7 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.001414/0.001414, allocations: 159.7 kB / 29.33 MB, free: 3.137 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 1.022/1.022, allocations: 177.1 MB / 210.3 MB, free: 3.457 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.6087/0.6087, allocations: 102.5 MB / 369.9 MB, free: 240 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.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50029,variableFilter="Time|thinWall.T.[0-9,]+.|thinWall1.T.[0-9,]+.|thinWall2.T.[0-9,]+.|thinWall3.T.[0-9,]+.|thinWall4.T.[0-9,]+.|thinWall5.T.[0-9,]+.|thinWall6.T.[0-9,]+.|thinWall7.T.[0-9,]+.|tube1.Alpha|tube1.Beta|tube1.I_f.[0-9,]+.|tube1.Tau_pass|tube1.Tau_pass_tot|tube2.Alpha|tube2.Beta|tube2.I_f.[0-9,]+.|tube2.Tau_pass|tube2.Tau_pass_tot|tube3.Alpha|tube3.Beta|tube3.I_f.[0-9,]+.|tube3.Tau_pass|tube3.Tau_pass_tot|tube4.Alpha|tube4.Beta|tube4.I_f.[0-9,]+.|tube4.Tau_pass|tube4.Tau_pass_tot|tube5.Alpha|tube5.Beta|tube5.I_f.[0-9,]+.|tube5.Tau_pass|tube5.Tau_pass_tot|tube6.Alpha|tube6.Beta|tube6.I_f.[0-9,]+.|tube6.Tau_pass|tube6.Tau_pass_tot|tube7.Alpha|tube7.Beta|tube7.I_f.[0-9,]+.|tube7.Tau_pass|tube7.Tau_pass_tot|tube_merged.Alpha|tube_merged.Beta|tube_merged.I_f.[0-9,]+.|tube_merged.Tau_pass|tube_merged.Tau_pass_tot",fileNamePrefix="ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop") translateModel(ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50029,variableFilter="Time|thinWall.T.[0-9,]+.|thinWall1.T.[0-9,]+.|thinWall2.T.[0-9,]+.|thinWall3.T.[0-9,]+.|thinWall4.T.[0-9,]+.|thinWall5.T.[0-9,]+.|thinWall6.T.[0-9,]+.|thinWall7.T.[0-9,]+.|tube1.Alpha|tube1.Beta|tube1.I_f.[0-9,]+.|tube1.Tau_pass|tube1.Tau_pass_tot|tube2.Alpha|tube2.Beta|tube2.I_f.[0-9,]+.|tube2.Tau_pass|tube2.Tau_pass_tot|tube3.Alpha|tube3.Beta|tube3.I_f.[0-9,]+.|tube3.Tau_pass|tube3.Tau_pass_tot|tube4.Alpha|tube4.Beta|tube4.I_f.[0-9,]+.|tube4.Tau_pass|tube4.Tau_pass_tot|tube5.Alpha|tube5.Beta|tube5.I_f.[0-9,]+.|tube5.Tau_pass|tube5.Tau_pass_tot|tube6.Alpha|tube6.Beta|tube6.I_f.[0-9,]+.|tube6.Tau_pass|tube6.Tau_pass_tot|tube7.Alpha|tube7.Beta|tube7.I_f.[0-9,]+.|tube7.Tau_pass|tube7.Tau_pass_tot|tube_merged.Alpha|tube_merged.Beta|tube_merged.I_f.[0-9,]+.|tube_merged.Tau_pass|tube_merged.Tau_pass_tot",fileNamePrefix="ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 470.5 MB, free: 18.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.066e-05, allocations: 3.438 kB / 470.5 MB, free: 18.85 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.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop): time 0.1357/0.1358, allocations: 84.02 MB / 0.5415 GB, free: 3.531 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03869/0.1745, allocations: 27.71 MB / 0.5686 GB, free: 7.746 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008299/0.1828, allocations: 210.4 kB / 0.5688 GB, free: 7.539 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0084/0.1912, allocations: 2.902 MB / 0.5716 GB, free: 4.617 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.2052, allocations: 5.616 MB / 0.5771 GB, free: 14.96 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.01624/0.2215, allocations: 7.254 MB / 0.5842 GB, free: 7.695 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.04219/0.2637, allocations: 54.77 MB / 0.6377 GB, free: 0.7852 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.291/0.5547, allocations: 18.52 MB / 0.6557 GB, free: 28.57 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1519/0.7066, allocations: 70.05 MB / 0.7242 GB, free: 1.66 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03526/0.7419, allocations: 21.52 MB / 0.7452 GB, free: 0.7578 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.01686/0.7587, allocations: 3.586 MB / 0.7487 GB, free: 0.7578 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02318/0.7819, allocations: 4.776 MB / 0.7533 GB, free: 0.5156 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.02638/0.8083, allocations: 15.63 MB / 0.7686 GB, free: 14.96 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.03763/0.8459, allocations: 14.16 MB / 0.7824 GB, free: 10.25 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.05966/0.9056, allocations: 38.19 MB / 0.8197 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.9056, allocations: 0 / 0.8197 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.123e-06/0.9056, allocations: 0 / 0.8197 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 0.00154/0.9071, allocations: 2.656 kB / 0.8197 GB, free: 12.1 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7572 * Number of variables: 7572 Notification: Performance of Generate backend data structure: time 0.1008/1.008, allocations: 41.23 MB / 0.86 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.008, allocations: 12.03 kB / 0.86 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02298/1.031, allocations: 4.97 MB / 0.8649 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0309/1.062, allocations: 13.12 MB / 0.8777 GB, free: 4.008 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002586/1.064, allocations: 2.368 MB / 0.88 GB, free: 1.562 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01147/1.076, allocations: 2.449 MB / 0.8824 GB, free: 15.19 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06797/1.144, allocations: 29.39 MB / 0.9111 GB, free: 0.9727 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009859/1.145, allocations: 134.1 kB / 0.9112 GB, free: 0.8906 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00756/1.152, allocations: 0.8309 MB / 0.912 GB, free: 84 kB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4954/1.648, allocations: 3.422 MB / 0.9154 GB, free: 161.3 MB / 0.6825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07351/1.721, allocations: 24.56 MB / 0.9393 GB, free: 160.7 MB / 0.6825 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.2242/1.946, allocations: 135 MB / 1.071 GB, free: 75.8 MB / 0.6825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02943/1.975, allocations: 20.2 MB / 1.091 GB, free: 55.79 MB / 0.6825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01795/1.993, allocations: 7.763 MB / 1.098 GB, free: 48 MB / 0.6825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005555/1.998, allocations: 1.705 MB / 1.1 GB, free: 46.82 MB / 0.6825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/1.999, allocations: 357 kB / 1.101 GB, free: 46.47 MB / 0.6825 GB Notification: Performance of pre-optimization done (n=3289): time 2.896e-05/1.999, allocations: 0.6562 kB / 1.101 GB, free: 46.47 MB / 0.6825 GB Notification: Performance of matching and sorting (n=3445): time 0.3148/2.314, allocations: 73.43 MB / 1.172 GB, free: 1.309 MB / 0.6981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006486/2.314, allocations: 1.799 MB / 1.174 GB, free: 15.15 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01774/2.332, allocations: 13.32 MB / 1.187 GB, free: 4.52 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.007699/2.34, allocations: 0.5603 MB / 1.188 GB, free: 3.953 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.302/2.642, allocations: 10.58 MB / 1.198 GB, free: 177.7 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.01779/2.659, allocations: 13.24 MB / 1.211 GB, free: 170.5 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03148/2.691, allocations: 8.354 MB / 1.219 GB, free: 169.9 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 8.319e-05/2.691, allocations: 476.8 kB / 1.219 GB, free: 169.5 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02629/2.717, allocations: 8.373 MB / 1.228 GB, free: 169.1 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03636/2.754, allocations: 19.94 MB / 1.247 GB, free: 157 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06414/2.818, allocations: 28.57 MB / 1.275 GB, free: 146.1 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006658/2.818, allocations: 54.75 kB / 1.275 GB, free: 146.1 MB / 0.7138 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.1376/2.956, allocations: 36.3 MB / 1.31 GB, free: 137 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002607/2.956, allocations: 85.72 kB / 1.311 GB, free: 136.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08469/3.041, allocations: 28.05 MB / 1.338 GB, free: 112.7 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1333/3.174, allocations: 108.5 MB / 1.444 GB, free: 5.641 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01935/3.194, allocations: 6.034 MB / 1.45 GB, free: 15.99 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.358/3.552, allocations: 26.53 MB / 1.476 GB, free: 166.9 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02747/3.579, allocations: 2.095 MB / 1.478 GB, free: 166.9 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01089/3.59, allocations: 1.59 MB / 1.479 GB, free: 166.9 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04254/3.633, allocations: 8.943 MB / 1.488 GB, free: 166.7 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03593/3.669, allocations: 19.88 MB / 1.507 GB, free: 154.5 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06159/3.73, allocations: 28.4 MB / 1.535 GB, free: 143.6 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0005478/3.731, allocations: 57.75 kB / 1.535 GB, free: 143.6 MB / 0.7294 GB Warning: The linear system: 1 : tube4.outlet.p = tube4.p_L_init + tube4.Delta_p_grav_start 2 : tube4.p_L_init = tube4.outlet.p [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ tube4.outlet.p ; tube4.p_L_init ] = [ tube4.Delta_p_grav_start ; 0.0 ] might be structurally or numerically singular for variable tube4.p_L_init since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=5130) (initialization_lambda0): time 0.1208/3.851, allocations: 35.57 MB / 1.57 GB, free: 129.7 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002028/3.852, allocations: 84 kB / 1.57 GB, free: 129.6 MB / 0.7294 GB Warning: The linear system: 1 : tube4.outlet.p = tube4.p_L_init + tube4.Delta_p_grav_start 2 : tube4.p_L_init = tube4.outlet.p [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ tube4.outlet.p ; tube4.p_L_init ] = [ tube4.Delta_p_grav_start ; 0.0 ] might be structurally or numerically singular for variable tube4.p_L_init since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08247/3.934, allocations: 27.4 MB / 1.597 GB, free: 105.9 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1282/4.062, allocations: 102.9 MB / 1.697 GB, free: 3.391 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02194/4.084, allocations: 6.544 MB / 1.704 GB, free: 13.26 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.378/4.462, allocations: 34.7 MB / 1.738 GB, free: 185.1 MB / 0.7606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02603/4.488, allocations: 1.89 MB / 1.739 GB, free: 185.1 MB / 0.7606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01123/4.499, allocations: 1.584 MB / 1.741 GB, free: 185.1 MB / 0.7606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3406): * Single equations (assignments): 3396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 10 systems {(70,638), (10,88), (10,88), (10,88), (10,88), (10,98), (10,88), (10,88), (21,270), (3,36)} Notification: Performance of prepare postOptimizeDAE: time 0.02358/4.523, allocations: 2.213 MB / 1.743 GB, free: 184.8 MB / 0.7606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02314/4.546, allocations: 3.399 MB / 1.747 GB, free: 184.8 MB / 0.7606 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 3899 equation(s) and 3839 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_pT.mo:103:7-109:25:writable] Error: (tube3.fluidOutlet.VLEAdditional.cp_l, tube3.fluidOutlet.VLEAdditional.beta_l, tube3.fluidOutlet.VLEAdditional.kappa_l, tube3.fluidOutlet.VLEAdditional.cp_v, tube3.fluidOutlet.VLEAdditional.beta_v, tube3.fluidOutlet.VLEAdditional.kappa_v) = ($cse227, $cse228, $cse229, $cse230, $cse231, $cse232) has size 6 but 2 variables ($cse180, tube7.res[1]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05406/4.6, allocations: 19.17 MB / 1.765 GB, free: 183.8 MB / 0.7606 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 795] [Calling sys.exit(0), Time elapsed: 7.3936915709637105]