Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.006241/0.006241, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0006937/0.0006937, allocations: 91.78 kB / 24.9 MB, free: 6.754 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.0007263/0.0007263, allocations: 173.2 kB / 28.62 MB, free: 4.297 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.8636/0.8636, allocations: 177.1 MB / 209.4 MB, free: 2.965 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.7011/0.7011, allocations: 102.4 MB / 368.7 MB, free: 1.465 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_MixAndSplit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|flxibleJoin.h|flxibleJoin.p|join_Y.h|join_Y.p|join_Y1.mixingZone.h_liq|join_Y1.mixingZone.h_vap|join_Y1.mixingZone.p_vap|join_Y1.mixingZone.volume_vap|split_Y.h|split_Y.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_MixAndSplit") translateModel(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_MixAndSplit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|flxibleJoin.h|flxibleJoin.p|join_Y.h|join_Y.p|join_Y1.mixingZone.h_liq|join_Y1.mixingZone.h_vap|join_Y1.mixingZone.p_vap|join_Y1.mixingZone.volume_vap|split_Y.h|split_Y.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_MixAndSplit") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.5374 GB, free: 39.82 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.97e-05, allocations: 4.531 kB / 0.5374 GB, free: 39.82 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.1222/0.1222, allocations: 82.83 MB / 0.6183 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.04301/0.1652, allocations: 28.49 MB / 0.6461 GB, free: 12.49 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01137/0.1766, allocations: 269.9 kB / 0.6464 GB, free: 12.22 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.1869, allocations: 4.148 MB / 0.6504 GB, free: 8.051 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.021/0.2079, allocations: 6.887 MB / 0.6572 GB, free: 1.121 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01343/0.2213, allocations: 6.547 MB / 0.6635 GB, free: 10.56 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.02398/0.2453, allocations: 18.67 MB / 0.6818 GB, free: 7.832 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008432/0.2537, allocations: 5.398 MB / 0.687 GB, free: 2.34 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0163/0.27, allocations: 10.07 MB / 0.6969 GB, free: 8.25 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009027/0.279, allocations: 6.218 MB / 0.7029 GB, free: 2.016 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.2809, allocations: 1.074 MB / 0.704 GB, free: 0.9414 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005153/0.286, allocations: 2.659 MB / 0.7066 GB, free: 14.28 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.002436/0.2884, allocations: 3.483 MB / 0.71 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.003843/0.2923, allocations: 3.81 MB / 0.7137 GB, free: 6.961 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.01739/0.3097, allocations: 17.32 MB / 0.7306 GB, free: 5.578 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3097, allocations: 0 / 0.7306 GB, free: 5.578 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3097, allocations: 0 / 0.7306 GB, free: 5.578 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0003312/0.31, allocations: 0 / 0.7306 GB, free: 5.578 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.01433/0.3243, allocations: 11.84 MB / 0.7422 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.3244, allocations: 12.03 kB / 0.7422 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00352/0.3279, allocations: 1.589 MB / 0.7438 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/0.3403, allocations: 8.225 MB / 0.7518 GB, free: 15.7 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/0.3406, allocations: 0.4976 MB / 0.7523 GB, free: 15.2 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006592/0.3412, allocations: 0.637 MB / 0.7529 GB, free: 14.56 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3151/0.6563, allocations: 18.84 MB / 0.7713 GB, free: 165.9 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00017/0.6565, allocations: 109.5 kB / 0.7714 GB, free: 165.9 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006075/0.6571, allocations: 348 kB / 0.7717 GB, free: 165.7 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004138/0.6575, allocations: 369 kB / 0.7721 GB, free: 165.7 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01932/0.6768, allocations: 12.13 MB / 0.7839 GB, free: 161.3 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.03922/0.7161, allocations: 76.04 MB / 0.8582 GB, free: 91.99 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/0.7314, allocations: 9.57 MB / 0.8675 GB, free: 86.41 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00395/0.7353, allocations: 3.231 MB / 0.8707 GB, free: 84.4 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005446/0.7359, allocations: 304.3 kB / 0.871 GB, free: 84.29 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.56e-05/0.7359, allocations: 133.9 kB / 0.8711 GB, free: 84.19 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1268): time 8.606e-06/0.7359, allocations: 0 / 0.8711 GB, free: 84.19 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1269): time 0.07391/0.8098, allocations: 82 MB / 0.9512 GB, free: 4.316 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002429/0.8101, allocations: 1.695 MB / 0.9528 GB, free: 2.227 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009174/0.8193, allocations: 8.225 MB / 0.9609 GB, free: 10.25 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.001612/0.8209, allocations: 109.7 kB / 0.961 GB, free: 10.14 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.002407/0.8233, allocations: 4.651 MB / 0.9655 GB, free: 5.945 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.003926/0.8272, allocations: 4.285 MB / 0.9697 GB, free: 1.922 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003008/0.8302, allocations: 2.806 MB / 0.9725 GB, free: 15.1 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.8303, allocations: 305.1 kB / 0.9727 GB, free: 14.8 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006423/0.8367, allocations: 4.931 MB / 0.9776 GB, free: 9.859 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00892/0.8456, allocations: 10.22 MB / 0.9875 GB, free: 13.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01718/0.8628, allocations: 15.88 MB / 1.003 GB, free: 11.54 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.617e-05/0.8629, allocations: 44 kB / 1.003 GB, free: 11.5 MB / 0.7137 GB Notification: Performance of matching and sorting (n=1922) (initialization): time 0.02304/0.8859, allocations: 16.68 MB / 1.019 GB, free: 10.85 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-05/0.886, allocations: 75.92 kB / 1.019 GB, free: 10.78 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01525/0.9013, allocations: 11.55 MB / 1.031 GB, free: 15.18 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/0.9034, allocations: 1.179 MB / 1.032 GB, free: 13.99 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006189/0.9096, allocations: 3.614 MB / 1.035 GB, free: 10.38 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3149/1.224, allocations: 10.12 MB / 1.045 GB, free: 243.1 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007324/1.232, allocations: 0.5419 MB / 1.046 GB, free: 243.1 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001737/1.234, allocations: 0.931 MB / 1.047 GB, free: 243.1 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01076/1.244, allocations: 6.869 MB / 1.053 GB, free: 242.3 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008436/1.253, allocations: 10.17 MB / 1.063 GB, free: 233.5 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01665/1.269, allocations: 15.78 MB / 1.079 GB, free: 222.4 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.654e-05/1.269, allocations: 42.47 kB / 1.079 GB, free: 222.4 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1922) (initialization_lambda0): time 0.02272/1.292, allocations: 16.37 MB / 1.095 GB, free: 216.2 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-05/1.292, allocations: 72.81 kB / 1.095 GB, free: 216.2 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0137/1.306, allocations: 11.24 MB / 1.106 GB, free: 212 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/1.307, allocations: 0.8947 MB / 1.107 GB, free: 211.8 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005801/1.313, allocations: 3.641 MB / 1.11 GB, free: 209.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004891/1.318, allocations: 8.707 MB / 1.119 GB, free: 200.8 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005763/1.324, allocations: 0.5306 MB / 1.119 GB, free: 200.4 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000847/1.325, allocations: 0.9252 MB / 1.12 GB, free: 199.4 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.003067/1.328, allocations: 1.041 MB / 1.121 GB, free: 198.5 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002179/1.33, allocations: 1.08 MB / 1.122 GB, free: 198 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.01571/1.346, allocations: 17.22 MB / 1.139 GB, free: 181.7 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.092350342310965] Failed to read output from testmodel.py, exit status != 0: 1.498557616956532 1.505769575 1.194497982 Calling exit ...