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.006005/0.006005, 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.0007338/0.0007338, 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.0008393/0.0008393, allocations: 163.6 kB / 27.85 MB, free: 5.5 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.8638/0.8638, allocations: 177.2 MB / 208.6 MB, free: 2.957 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.7347/0.7347, allocations: 102.5 MB / 367.9 MB, free: 1.5 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 2.825e-06/2.825e-06, allocations: 0 / 0.5362 GB, free: 39.98 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.405e-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.1632/0.1632, allocations: 82.83 MB / 0.6171 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.04072/0.2039, allocations: 28.5 MB / 0.6449 GB, free: 12.89 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009335/0.2133, allocations: 265.9 kB / 0.6452 GB, free: 12.62 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.009236/0.2225, allocations: 4.144 MB / 0.6492 GB, free: 8.457 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01673/0.2392, allocations: 6.884 MB / 0.6559 GB, free: 1.531 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01241/0.2517, allocations: 6.547 MB / 0.6623 GB, free: 10.97 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.02584/0.2775, allocations: 18.68 MB / 0.6806 GB, free: 8.234 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009618/0.2871, allocations: 5.402 MB / 0.6859 GB, free: 2.738 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02399/0.3111, allocations: 10.07 MB / 0.6957 GB, free: 8.645 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01054/0.3216, allocations: 6.214 MB / 0.7018 GB, free: 2.414 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.003406/0.325, allocations: 1.074 MB / 0.7028 GB, free: 1.34 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007626/0.3327, allocations: 2.656 MB / 0.7054 GB, free: 14.68 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.003552/0.3362, allocations: 3.483 MB / 0.7088 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.005744/0.342, allocations: 3.806 MB / 0.7125 GB, free: 7.367 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0166/0.3586, allocations: 17.32 MB / 0.7294 GB, free: 5.996 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3586, allocations: 0 / 0.7294 GB, free: 5.996 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3586, allocations: 0 / 0.7294 GB, free: 5.996 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.000338/0.3589, allocations: 0 / 0.7294 GB, free: 5.996 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.01401/0.3729, allocations: 11.84 MB / 0.741 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.373, allocations: 12.03 kB / 0.741 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001007/0.374, allocations: 1.156 MB / 0.7421 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.3767, allocations: 1.589 MB / 0.7437 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.3877, allocations: 8.229 MB / 0.7517 GB, free: 14.95 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/0.3879, allocations: 0.4938 MB / 0.7522 GB, free: 14.46 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006598/0.3886, allocations: 0.637 MB / 0.7528 GB, free: 13.82 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3129/0.7015, allocations: 18.84 MB / 0.7712 GB, free: 165.3 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002155/0.7017, allocations: 109.2 kB / 0.7713 GB, free: 165.3 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006465/0.7024, allocations: 349.3 kB / 0.7717 GB, free: 165.3 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000395/0.7028, allocations: 366.2 kB / 0.772 GB, free: 165.3 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01894/0.7217, 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.04411/0.7658, allocations: 77.02 MB / 0.8591 GB, free: 91.22 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01669/0.7825, allocations: 9.56 MB / 0.8684 GB, free: 85.66 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004141/0.7866, allocations: 3.234 MB / 0.8716 GB, free: 83.64 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005219/0.7872, allocations: 309.2 kB / 0.8719 GB, free: 83.53 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.585e-05/0.7872, allocations: 139.2 kB / 0.872 GB, free: 83.43 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1268): time 8.917e-06/0.7872, allocations: 0 / 0.872 GB, free: 83.43 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1269): time 0.07071/0.858, allocations: 82.04 MB / 0.9521 GB, free: 2.832 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002646/0.8582, allocations: 1.696 MB / 0.9538 GB, free: 0.7422 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009491/0.8677, allocations: 8.546 MB / 0.9621 GB, free: 8.414 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.001682/0.8694, allocations: 109.7 kB / 0.9622 GB, free: 8.301 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.002718/0.8721, allocations: 4.588 MB / 0.9667 GB, free: 4.145 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.004458/0.8766, allocations: 4.285 MB / 0.9709 GB, free: 140 kB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003195/0.8798, allocations: 2.814 MB / 0.9736 GB, free: 13.31 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.95e-05/0.8798, allocations: 301.1 kB / 0.9739 GB, free: 13.01 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006529/0.8864, allocations: 4.927 MB / 0.9787 GB, free: 8.07 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009116/0.8955, allocations: 10.22 MB / 0.9887 GB, free: 11.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0181/0.9136, allocations: 15.88 MB / 1.004 GB, free: 9.754 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.151e-05/0.9137, allocations: 40 kB / 1.004 GB, free: 9.715 MB / 0.7137 GB Notification: Performance of matching and sorting (n=1922) (initialization): time 0.02426/0.9379, allocations: 16.72 MB / 1.021 GB, free: 9.031 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 7.376e-05/0.938, allocations: 68 kB / 1.021 GB, free: 8.965 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01555/0.9536, allocations: 11.54 MB / 1.032 GB, free: 13.37 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/0.9556, allocations: 1.188 MB / 1.033 GB, free: 12.18 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007234/0.9629, allocations: 3.62 MB / 1.037 GB, free: 8.562 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3438/1.307, allocations: 10.18 MB / 1.047 GB, free: 241.8 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007716/1.314, allocations: 0.546 MB / 1.047 GB, free: 241.8 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001941/1.316, allocations: 0.9293 MB / 1.048 GB, free: 241.8 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01052/1.327, allocations: 6.874 MB / 1.055 GB, free: 241.2 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00868/1.336, allocations: 10.17 MB / 1.065 GB, free: 232.5 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01834/1.354, allocations: 15.77 MB / 1.08 GB, free: 221.4 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001407/1.354, allocations: 45.38 kB / 1.08 GB, free: 221.4 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1922) (initialization_lambda0): time 0.02535/1.379, allocations: 16.39 MB / 1.096 GB, free: 215.1 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 9.068e-05/1.379, allocations: 72.12 kB / 1.096 GB, free: 215.1 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01407/1.394, allocations: 11.23 MB / 1.107 GB, free: 210.9 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/1.395, allocations: 0.8966 MB / 1.108 GB, free: 210.7 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006064/1.401, allocations: 3.647 MB / 1.112 GB, free: 207.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005425/1.406, allocations: 8.771 MB / 1.12 GB, free: 198.7 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006664/1.413, allocations: 0.5295 MB / 1.121 GB, free: 198.3 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009799/1.414, allocations: 0.9252 MB / 1.122 GB, free: 197.3 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.003693/1.418, allocations: 1.037 MB / 1.123 GB, free: 196.4 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002498/1.42, allocations: 1.114 MB / 1.124 GB, free: 195.9 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.01649/1.437, allocations: 17.23 MB / 1.14 GB, free: 179.5 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.309873870573938] Failed to read output from testmodel.py, exit status != 0: 1.5971930865198374 1.60286449 1.242706714 Calling exit ...