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.008272/0.008272, allocations: 1.791 MB / 20.88 MB, free: 3.648 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.004173/0.004173, allocations: 83.02 kB / 24.59 MB, free: 7.207 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.0008704/0.0008704, allocations: 159.9 kB / 28.4 MB, free: 4.312 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.8531/0.8531, allocations: 177.2 MB / 209.3 MB, free: 2.531 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7397/0.7397, allocations: 102.4 MB / 368.7 MB, free: 1.016 MB / 330.8 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/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 1.182e-06/1.182e-06, allocations: 0 / 0.5378 GB, free: 39.11 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.582e-05, allocations: 2.781 kB / 0.5378 GB, free: 39.11 MB / 490.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.1108/0.1109, allocations: 65.62 MB / 0.6019 GB, free: 9.551 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.126, allocations: 15.89 MB / 0.6174 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009113/0.1269, allocations: 51.62 kB / 0.6175 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.1291, allocations: 1.416 MB / 0.6189 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.1309, allocations: 1.554 MB / 0.6204 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.133, allocations: 1.787 MB / 0.6221 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002546/0.1356, allocations: 3.637 MB / 0.6257 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008003/0.1364, allocations: 0.8934 MB / 0.6266 GB, free: 228 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.1378, allocations: 1.878 MB / 0.6284 GB, free: 14.34 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.1391, allocations: 1.457 MB / 0.6298 GB, free: 12.88 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002441/0.1393, allocations: 204 kB / 0.63 GB, free: 12.68 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.141, allocations: 1.087 MB / 0.6311 GB, free: 11.59 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.000468/0.1415, allocations: 0.8371 MB / 0.6319 GB, free: 10.75 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005159/0.142, allocations: 0.713 MB / 0.6326 GB, free: 10.04 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.1447, allocations: 3.832 MB / 0.6363 GB, free: 6.191 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1447, allocations: 0 / 0.6363 GB, free: 6.191 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1447, allocations: 4 kB / 0.6363 GB, free: 6.188 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.138e-05/0.1447, allocations: 3.938 kB / 0.6363 GB, free: 6.184 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.003378/0.1481, allocations: 2.889 MB / 0.6392 GB, free: 3.246 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1481, allocations: 8.031 kB / 0.6392 GB, free: 3.238 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.1483, allocations: 203.3 kB / 0.6394 GB, free: 3.031 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005287/0.1488, allocations: 315.1 kB / 0.6397 GB, free: 2.723 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/0.1516, allocations: 2.562 MB / 0.6422 GB, free: 128 kB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/0.1516, allocations: 70.38 kB / 0.6422 GB, free: 56 kB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.1518, allocations: 100.3 kB / 0.6423 GB, free: 15.96 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003286/0.155, allocations: 2.669 MB / 0.6449 GB, free: 12.93 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.1551, allocations: 15.88 kB / 0.6449 GB, free: 12.91 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.248e-05/0.1551, allocations: 51.98 kB / 0.645 GB, free: 12.86 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.772e-05/0.1552, allocations: 65.28 kB / 0.6451 GB, free: 12.79 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/0.1579, allocations: 1.792 MB / 0.6468 GB, free: 11 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.006027/0.164, allocations: 10.48 MB / 0.657 GB, free: 132 kB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.1668, allocations: 1.723 MB / 0.6587 GB, free: 14.35 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006936/0.1674, allocations: 0.583 MB / 0.6593 GB, free: 13.75 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.1676, allocations: 76.48 kB / 0.6594 GB, free: 13.67 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002098/0.1697, allocations: 1.45 MB / 0.6608 GB, free: 12.17 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=195): time 2.164e-06/0.1697, allocations: 0 / 0.6608 GB, free: 12.17 MB / 0.5574 GB Notification: Performance of matching and sorting (n=195): time 0.005197/0.1749, allocations: 3.303 MB / 0.664 GB, free: 8.852 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.175, allocations: 431.9 kB / 0.6644 GB, free: 8.332 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.1768, allocations: 1.974 MB / 0.6663 GB, free: 6.32 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 7.32e-05/0.1769, allocations: 46.55 kB / 0.6664 GB, free: 6.27 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/0.1773, allocations: 0.8478 MB / 0.6672 GB, free: 5.41 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.1777, allocations: 0.6621 MB / 0.6679 GB, free: 4.742 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004238/0.1781, allocations: 451.5 kB / 0.6683 GB, free: 4.293 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 6.138e-05/0.1781, allocations: 309 kB / 0.6686 GB, free: 3.988 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009803/0.1791, allocations: 0.8738 MB / 0.6694 GB, free: 3.105 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.1804, allocations: 1.577 MB / 0.671 GB, free: 1.215 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004627/0.185, allocations: 4.042 MB / 0.6749 GB, free: 12.88 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.185, allocations: 4 kB / 0.6749 GB, free: 12.87 MB / 0.573 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002993/0.188, allocations: 2.742 MB / 0.6776 GB, free: 10.11 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.1881, allocations: 41.7 kB / 0.6777 GB, free: 10.06 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002295/0.1903, allocations: 1.942 MB / 0.6796 GB, free: 8.102 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.1905, allocations: 88.81 kB / 0.6796 GB, free: 8.012 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/0.1914, allocations: 0.5538 MB / 0.6802 GB, free: 7.457 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000859/0.1923, allocations: 1.533 MB / 0.6817 GB, free: 5.812 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000746/0.193, allocations: 242.3 kB / 0.6819 GB, free: 5.574 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.1932, allocations: 135.9 kB / 0.682 GB, free: 5.441 MB / 0.573 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.001511/0.1947, allocations: 1.35 MB / 0.6834 GB, free: 4.074 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001281/0.196, allocations: 1.573 MB / 0.6849 GB, free: 2.18 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004499/0.2005, allocations: 3.995 MB / 0.6888 GB, free: 13.89 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.013e-06/0.2005, allocations: 8 kB / 0.6888 GB, free: 13.89 MB / 0.5887 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.002953/0.2034, allocations: 2.719 MB / 0.6915 GB, free: 11.14 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.2035, allocations: 45.69 kB / 0.6915 GB, free: 11.09 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002307/0.2058, allocations: 1.923 MB / 0.6934 GB, free: 9.152 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001181/0.2059, allocations: 88.81 kB / 0.6935 GB, free: 9.062 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009383/0.2068, allocations: 0.5499 MB / 0.694 GB, free: 8.512 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007908/0.2076, allocations: 1.536 MB / 0.6955 GB, free: 6.859 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006236/0.2082, allocations: 198.8 kB / 0.6957 GB, free: 6.664 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.2084, allocations: 136.1 kB / 0.6958 GB, free: 6.531 MB / 0.5887 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.0003562/0.2087, allocations: 329 kB / 0.6961 GB, free: 6.203 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.209, allocations: 234.3 kB / 0.6964 GB, free: 5.973 MB / 0.5887 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.002497/0.2115, allocations: 2.391 MB / 0.6987 GB, free: 3.547 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.207380917854607]