Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_MixAndSplit.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.009097/0.009097, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0007194/0.0007194, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0008467/0.0008467, allocations: 163.1 kB / 27.85 MB, free: 5.098 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.8436/0.8436, allocations: 177.2 MB / 208.6 MB, free: 2.965 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.737/0.737, allocations: 102.5 MB / 368 MB, free: 1.523 MB / 330.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 SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_MixAndSplit,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Fittings_Check_Test_MixAndSplit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_MixAndSplit,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Fittings_Check_Test_MixAndSplit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.5362 GB, free: 39.98 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.361e-05, allocations: 2.281 kB / 0.5362 GB, free: 39.98 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.Fittings.Check.Test_MixAndSplit): time 0.1227/0.1227, allocations: 82.83 MB / 0.6171 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03715/0.1598, allocations: 28.49 MB / 0.6449 GB, free: 12.89 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007184/0.167, allocations: 265.9 kB / 0.6452 GB, free: 12.62 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.006537/0.1736, allocations: 4.155 MB / 0.6492 GB, free: 8.453 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.1844, allocations: 6.88 MB / 0.656 GB, free: 1.531 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.009057/0.1935, allocations: 6.547 MB / 0.6624 GB, free: 10.97 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.01687/0.2103, allocations: 18.67 MB / 0.6806 GB, free: 8.234 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006742/0.2171, allocations: 5.398 MB / 0.6859 GB, free: 2.742 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.2274, allocations: 10.06 MB / 0.6957 GB, free: 8.656 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005429/0.2328, allocations: 6.218 MB / 0.7018 GB, free: 2.422 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.001297/0.2341, allocations: 1.078 MB / 0.7028 GB, free: 1.344 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/0.2381, allocations: 2.648 MB / 0.7054 GB, free: 14.69 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.001872/0.24, allocations: 3.483 MB / 0.7088 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.003302/0.2433, allocations: 3.814 MB / 0.7125 GB, free: 7.371 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.2561, allocations: 17.32 MB / 0.7294 GB, free: 5.992 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.2561, allocations: 0 / 0.7294 GB, free: 5.992 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2561, allocations: 0 / 0.7294 GB, free: 5.992 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0002114/0.2563, allocations: 0 / 0.7294 GB, free: 5.992 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.01235/0.2686, allocations: 11.83 MB / 0.741 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.2687, allocations: 12.03 kB / 0.741 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009494/0.2696, allocations: 1.159 MB / 0.7421 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/0.2719, allocations: 1.589 MB / 0.7437 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009162/0.2811, allocations: 8.235 MB / 0.7517 GB, free: 14.95 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/0.2815, allocations: 0.4977 MB / 0.7522 GB, free: 14.45 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005854/0.282, allocations: 0.6331 MB / 0.7528 GB, free: 13.82 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2673/0.5494, allocations: 18.84 MB / 0.7712 GB, free: 165.7 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002459/0.5496, allocations: 106.3 kB / 0.7713 GB, free: 165.7 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005859/0.5502, allocations: 347.6 kB / 0.7717 GB, free: 165.5 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004041/0.5506, allocations: 366.8 kB / 0.772 GB, free: 165.5 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/0.5692, allocations: 12.13 MB / 0.7839 GB, free: 161.1 MB / 0.6512 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.03931/0.6085, allocations: 77.02 MB / 0.8591 GB, free: 91.28 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01425/0.6228, allocations: 9.567 MB / 0.8684 GB, free: 85.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003452/0.6262, allocations: 3.23 MB / 0.8716 GB, free: 83.69 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005124/0.6267, allocations: 301.6 kB / 0.8719 GB, free: 83.58 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.918e-05/0.6268, allocations: 131.7 kB / 0.872 GB, free: 83.48 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1268): time 7.735e-06/0.6268, allocations: 10.53 kB / 0.872 GB, free: 83.48 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1269): time 0.06937/0.6962, allocations: 82.02 MB / 0.9521 GB, free: 2.969 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002115/0.6964, allocations: 1.7 MB / 0.9538 GB, free: 0.875 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01007/0.7065, allocations: 8.539 MB / 0.9621 GB, free: 8.551 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.002024/0.7085, allocations: 109.7 kB / 0.9622 GB, free: 8.438 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.002658/0.7112, allocations: 4.592 MB / 0.9667 GB, free: 4.277 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.003471/0.7146, allocations: 4.284 MB / 0.9709 GB, free: 276 kB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002913/0.7175, allocations: 2.817 MB / 0.9736 GB, free: 13.44 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.7176, allocations: 301.1 kB / 0.9739 GB, free: 13.14 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006178/0.7238, allocations: 4.933 MB / 0.9787 GB, free: 8.195 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008337/0.7321, allocations: 10.22 MB / 0.9887 GB, free: 11.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01581/0.748, allocations: 15.89 MB / 1.004 GB, free: 9.879 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-05/0.748, allocations: 40 kB / 1.004 GB, free: 9.84 MB / 0.7137 GB Notification: Performance of matching and sorting (n=1922) (initialization): time 0.02196/0.77, allocations: 16.72 MB / 1.021 GB, free: 9.156 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 6.91e-05/0.77, allocations: 68 kB / 1.021 GB, free: 9.09 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01394/0.784, allocations: 11.53 MB / 1.032 GB, free: 13.5 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.786, allocations: 1.195 MB / 1.033 GB, free: 12.32 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005892/0.7919, allocations: 3.618 MB / 1.037 GB, free: 8.695 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3048/1.097, allocations: 10.19 MB / 1.047 GB, free: 242.1 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006479/1.103, allocations: 0.5407 MB / 1.047 GB, free: 242.1 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001435/1.105, allocations: 0.928 MB / 1.048 GB, free: 242.1 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009199/1.114, allocations: 6.874 MB / 1.055 GB, free: 241.2 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00724/1.121, allocations: 10.16 MB / 1.065 GB, free: 232.5 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01484/1.136, allocations: 15.78 MB / 1.08 GB, free: 221.4 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.62e-05/1.136, allocations: 45.59 kB / 1.08 GB, free: 221.4 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1922) (initialization_lambda0): time 0.0195/1.155, allocations: 16.39 MB / 1.096 GB, free: 215.1 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-05/1.156, allocations: 69.12 kB / 1.096 GB, free: 215.1 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01197/1.168, allocations: 11.24 MB / 1.107 GB, free: 210.9 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/1.169, allocations: 0.8913 MB / 1.108 GB, free: 210.7 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005194/1.174, allocations: 3.644 MB / 1.112 GB, free: 208.1 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004528/1.178, allocations: 8.768 MB / 1.12 GB, free: 198.9 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/1.183, allocations: 0.5235 MB / 1.121 GB, free: 198.5 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008019/1.183, allocations: 0.9291 MB / 1.122 GB, free: 197.5 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 674 * 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 (1862): * Single equations (assignments): 1853 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,3,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(2,11), (2,14), (2,13), (1,3), (1,3), (1,3), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002411/1.186, allocations: 1.04 MB / 1.123 GB, free: 196.6 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00175/1.188, allocations: 1.112 MB / 1.124 GB, free: 196.1 MB / 0.7449 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 1872 equation(s) and 1777 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (massFlowSource_XRG4.fluidOut.q, massFlowSource_XRG4.fluidOut.cp, massFlowSource_XRG4.fluidOut.cv, massFlowSource_XRG4.fluidOut.beta, massFlowSource_XRG4.fluidOut.kappa, massFlowSource_XRG4.fluidOut.drhodp_hxi, massFlowSource_XRG4.fluidOut.drhodh_pxi, _, massFlowSource_XRG4.fluidOut.w, massFlowSource_XRG4.fluidOut.gamma) = ($cse494, $cse495, $cse496, $cse497, $cse498, $cse499, $cse500, $cse501, $cse502, $cse503) has size 9 but 4 variables (flxibleJoin.drhodt, valveLinear_1_XRG.pressureLoss.m_flow, quadruple2.m_flow, quadruple4.m_flow) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/1.203, allocations: 17.23 MB / 1.14 GB, free: 179.7 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.928460913710296] Failed to read output from testmodel.py, exit status != 0: 1.3301589358597994 1.336898902 1.079384241 Calling exit ...