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 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.0104/0.0104, allocations: 1.775 MB / 20.62 MB, free: 3.883 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.08787/0.08787, allocations: 25.61 MB / 49.71 MB, free: 2.949 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.0009726/0.0009726, allocations: 110.1 kB / 60.65 MB, free: 3.008 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.001275/0.001275, allocations: 219.5 kB / 71.73 MB, free: 6.473 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 1.03/1.03, allocations: 230.6 MB / 313.3 MB, free: 11.78 MB / 234.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.8177/0.8177, allocations: 130.7 MB / 0.4963 GB, free: 2.234 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/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_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_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.003714/0.003714, allocations: 158.4 kB / 0.6901 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1541, allocations: 89.27 MB / 0.7772 GB, free: 3.031 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple): time 0.009458/0.1635, allocations: 10.3 MB / 0.7873 GB, free: 8.68 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.01786/0.1814, allocations: 16.18 MB / 0.8031 GB, free: 8.461 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.1828, allocations: 55.62 kB / 0.8031 GB, free: 8.406 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.1854, allocations: 1.405 MB / 0.8045 GB, free: 6.996 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.188, allocations: 1.512 MB / 0.806 GB, free: 5.477 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.1909, allocations: 1.757 MB / 0.8077 GB, free: 3.715 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003312/0.1942, allocations: 3.54 MB / 0.8112 GB, free: 168 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.1953, allocations: 0.8778 MB / 0.812 GB, free: 15.26 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.1973, allocations: 1.448 MB / 0.8134 GB, free: 13.81 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.199, allocations: 1.607 MB / 0.815 GB, free: 12.2 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003631/0.1994, allocations: 200 kB / 0.8152 GB, free: 12 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.2011, allocations: 1.082 MB / 0.8162 GB, free: 10.92 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004845/0.2016, allocations: 0.8098 MB / 0.817 GB, free: 10.11 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005385/0.2021, allocations: 0.8859 MB / 0.8179 GB, free: 9.215 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.002944/0.2051, allocations: 3.869 MB / 0.8217 GB, free: 5.332 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2051, allocations: 8 kB / 0.8217 GB, free: 5.324 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2051, allocations: 0 / 0.8217 GB, free: 5.324 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.2051, allocations: 0 / 0.8217 GB, free: 5.324 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.002824/0.2079, allocations: 2.914 MB / 0.8245 GB, free: 2.359 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.208, allocations: 8.031 kB / 0.8245 GB, free: 2.352 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.2082, allocations: 195.3 kB / 0.8247 GB, free: 2.152 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005104/0.2087, allocations: 315.1 kB / 0.825 GB, free: 1.844 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/0.2117, allocations: 2.568 MB / 0.8275 GB, free: 15.24 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.2117, allocations: 81.92 kB / 0.8276 GB, free: 15.16 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.2118, allocations: 92 kB / 0.8277 GB, free: 15.07 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.2149, allocations: 2.665 MB / 0.8303 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.2149, allocations: 15.88 kB / 0.8303 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.215, allocations: 51.98 kB / 0.8304 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/0.215, allocations: 65.22 kB / 0.8304 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002682/0.2177, allocations: 1.788 MB / 0.8322 GB, free: 10.12 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.006165/0.2239, allocations: 10.52 MB / 0.8425 GB, free: 15.21 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.2265, allocations: 1.711 MB / 0.8441 GB, free: 13.43 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/0.2272, allocations: 0.583 MB / 0.8447 GB, free: 12.83 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.2273, allocations: 80.48 kB / 0.8448 GB, free: 12.75 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002125/0.2294, allocations: 1.45 MB / 0.8462 GB, free: 11.26 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=195): time 2.104e-06/0.2294, allocations: 0 / 0.8462 GB, free: 11.26 MB / 0.6199 GB Notification: Performance of matching and sorting (n=195): time 0.005618/0.2351, allocations: 3.308 MB / 0.8494 GB, free: 7.941 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.2352, allocations: 443.8 kB / 0.8498 GB, free: 7.41 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.237, allocations: 1.975 MB / 0.8518 GB, free: 5.398 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 7.609e-05/0.2371, allocations: 49.64 kB / 0.8518 GB, free: 5.344 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.2375, allocations: 0.8517 MB / 0.8526 GB, free: 4.48 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/0.2378, allocations: 0.6737 MB / 0.8533 GB, free: 3.801 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004293/0.2383, allocations: 455.5 kB / 0.8537 GB, free: 3.348 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 6.96e-05/0.2383, allocations: 301.1 kB / 0.854 GB, free: 3.051 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.2396, allocations: 0.8738 MB / 0.8549 GB, free: 2.168 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.2409, allocations: 1.581 MB / 0.8564 GB, free: 280 kB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004546/0.2455, allocations: 4.027 MB / 0.8604 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.2455, allocations: 8 kB / 0.8604 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003295/0.2488, allocations: 2.745 MB / 0.863 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.2488, allocations: 45.69 kB / 0.8631 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002139/0.251, allocations: 1.939 MB / 0.865 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/0.2511, allocations: 88.8 kB / 0.8651 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009226/0.2521, allocations: 0.5538 MB / 0.8656 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008881/0.2529, allocations: 1.533 MB / 0.8671 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006345/0.2536, allocations: 242.2 kB / 0.8673 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.2537, allocations: 139.9 kB / 0.8675 GB, free: 4.5 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.001746/0.2555, allocations: 1.338 MB / 0.8688 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00126/0.2567, allocations: 1.573 MB / 0.8703 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004323/0.2611, allocations: 4.003 MB / 0.8742 GB, free: 12.97 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.982e-06/0.2611, allocations: 8 kB / 0.8742 GB, free: 12.96 MB / 0.6512 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.003143/0.2642, allocations: 2.726 MB / 0.8769 GB, free: 10.22 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.2642, allocations: 37.7 kB / 0.8769 GB, free: 10.18 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002103/0.2663, allocations: 1.923 MB / 0.8788 GB, free: 8.234 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001129/0.2664, allocations: 92.8 kB / 0.8789 GB, free: 8.141 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000912/0.2674, allocations: 0.5577 MB / 0.8794 GB, free: 7.582 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007916/0.2682, allocations: 1.533 MB / 0.8809 GB, free: 5.938 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/0.2688, allocations: 198.8 kB / 0.8811 GB, free: 5.742 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.2689, allocations: 131.9 kB / 0.8813 GB, free: 5.613 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.0003611/0.2692, allocations: 328.7 kB / 0.8816 GB, free: 5.289 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00049/0.2697, allocations: 242.4 kB / 0.8818 GB, free: 5.051 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.002461/0.2722, allocations: 2.389 MB / 0.8841 GB, free: 2.715 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.4675296917557716]