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.01102/0.01102, allocations: 1.768 MB / 18.12 MB, free: 4.906 MB / 14.72 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.001365/0.001365, allocations: 103.7 kB / 21.36 MB, free: 1.684 MB / 14.72 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.001937/0.001937, allocations: 216.4 kB / 24.75 MB, free: 3.691 MB / 14.72 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.606/1.606, allocations: 230.6 MB / 258.5 MB, free: 13.11 MB / 206.1 MB " [Timeout remaining time 178] 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 1.189/1.189, allocations: 130.6 MB / 445.6 MB, free: 14.66 MB / 350.1 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.3.1 (/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: 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: 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.4914/0.4914, allocations: 46.16 MB / 0.6545 GB, free: 30.41 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.6999, allocations: 89.05 MB / 0.7415 GB, free: 2.707 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_MixAndSplit): time 0.04983/0.7498, allocations: 42.43 MB / 0.7829 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.06753/0.8173, allocations: 29.4 MB / 0.8116 GB, free: 10.62 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01328/0.8306, allocations: 265.9 kB / 0.8119 GB, free: 10.36 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.01371/0.8443, allocations: 4.215 MB / 0.816 GB, free: 6.117 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02463/0.8689, allocations: 6.547 MB / 0.8224 GB, free: 15.53 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.01853/0.8874, allocations: 6.364 MB / 0.8286 GB, free: 9.164 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.03391/0.9214, allocations: 18.17 MB / 0.8463 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01478/0.9361, allocations: 5.224 MB / 0.8514 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02017/0.9563, allocations: 7.423 MB / 0.8587 GB, free: 10.18 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01542/0.9717, allocations: 7.49 MB / 0.866 GB, free: 2.652 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.005581/0.9773, allocations: 1.078 MB / 0.867 GB, free: 1.574 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4425/1.42, allocations: 3.241 MB / 0.8702 GB, free: 34.32 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.006284/1.426, allocations: 3.398 MB / 0.8735 GB, free: 34.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01376/1.44, allocations: 6.126 MB / 0.8795 GB, free: 33.25 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03012/1.47, allocations: 17.65 MB / 0.8967 GB, free: 30.57 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/1.47, allocations: 0.5625 kB / 0.8967 GB, free: 30.57 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.005e-06/1.47, allocations: 0 / 0.8967 GB, free: 30.57 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006999/1.471, allocations: 2.969 kB / 0.8967 GB, free: 30.57 MB / 0.67 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.03548/1.506, allocations: 12.05 MB / 0.9085 GB, free: 25.31 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/1.506, allocations: 12.27 kB / 0.9085 GB, free: 25.31 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00434/1.511, allocations: 1.149 MB / 0.9097 GB, free: 25.21 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008073/1.519, allocations: 1.599 MB / 0.9112 GB, free: 24.47 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02344/1.542, allocations: 8.567 MB / 0.9196 GB, free: 22.78 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009182/1.543, allocations: 0.4917 MB / 0.9201 GB, free: 22.77 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003308/1.546, allocations: 0.6393 MB / 0.9207 GB, free: 22.76 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0423/1.589, allocations: 16.8 MB / 0.9371 GB, free: 13.72 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002972/1.589, allocations: 106.6 kB / 0.9372 GB, free: 13.72 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001605/1.591, allocations: 344 kB / 0.9375 GB, free: 13.51 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003439/1.591, allocations: 367.2 kB / 0.9379 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04618/1.637, allocations: 12.18 MB / 0.9498 GB, free: 7.945 MB / 0.67 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.1018/1.739, allocations: 80.45 MB / 1.028 GB, free: 13.89 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02935/1.768, allocations: 9.739 MB / 1.038 GB, free: 7.855 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01022/1.778, allocations: 3.227 MB / 1.041 GB, free: 4.512 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00177/1.78, allocations: 433.7 kB / 1.041 GB, free: 4.129 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/1.78, allocations: 143 kB / 1.042 GB, free: 4.008 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=1268): time 1.008e-05/1.78, allocations: 0 / 1.042 GB, free: 4.008 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1269): time 0.2389/2.019, allocations: 82.86 MB / 1.122 GB, free: 416 kB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001298/2.021, allocations: 1.691 MB / 1.124 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02888/2.049, allocations: 8.306 MB / 1.132 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.003092/2.053, allocations: 109.7 kB / 1.132 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.007075/2.06, allocations: 4.619 MB / 1.137 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.008123/2.068, allocations: 4.343 MB / 1.141 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01418/2.082, allocations: 2.841 MB / 1.144 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001651/2.082, allocations: 311.8 kB / 1.144 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01392/2.096, allocations: 4.929 MB / 1.149 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01984/2.116, allocations: 9.616 MB / 1.158 GB, free: 9.395 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03443/2.15, allocations: 15.88 MB / 1.174 GB, free: 8.086 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001895/2.15, allocations: 40 kB / 1.174 GB, free: 8.047 MB / 0.8888 GB Notification: Performance of matching and sorting (n=1922) (initialization): time 0.05565/2.206, allocations: 16.71 MB / 1.19 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002551/2.206, allocations: 68 kB / 1.19 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4593/2.666, allocations: 11.53 MB / 1.202 GB, free: 320.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003883/2.67, allocations: 1.183 MB / 1.203 GB, free: 320.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01269/2.682, allocations: 3.614 MB / 1.206 GB, free: 320.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/2.693, allocations: 10.56 MB / 1.217 GB, free: 313.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.705, allocations: 0.5443 MB / 1.217 GB, free: 313.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003987/2.709, allocations: 0.9292 MB / 1.218 GB, free: 313.1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02115/2.73, allocations: 6.876 MB / 1.225 GB, free: 311.6 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01499/2.745, allocations: 9.56 MB / 1.234 GB, free: 303.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02616/2.771, allocations: 15.78 MB / 1.249 GB, free: 292.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002972/2.771, allocations: 43.03 kB / 1.249 GB, free: 292.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1922) (initialization_lambda0): time 0.04309/2.814, allocations: 16.39 MB / 1.265 GB, free: 287.1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002525/2.815, allocations: 67.86 kB / 1.266 GB, free: 287.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02742/2.842, allocations: 11.24 MB / 1.277 GB, free: 282.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002731/2.845, allocations: 0.8919 MB / 1.277 GB, free: 282.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01363/2.858, allocations: 3.65 MB / 1.281 GB, free: 281.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009716/2.868, allocations: 9.133 MB / 1.29 GB, free: 271.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01227/2.88, allocations: 0.5333 MB / 1.29 GB, free: 271.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003454/2.884, allocations: 0.9231 MB / 1.291 GB, free: 270.3 MB / 0.9044 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.006531/2.89, allocations: 1.029 MB / 1.292 GB, free: 269.4 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005812/2.896, allocations: 1.112 MB / 1.293 GB, free: 268.9 MB / 0.9044 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.0341/2.93, allocations: 17.15 MB / 1.31 GB, free: 252.5 MB / 0.9044 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.816413288004696] Failed to read output from testmodel.py, exit status != 0: 2.9405382980039576 2.952708348 1.477396704 Calling exit ...