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.01312/0.01312, allocations: 1.781 MB / 18.83 MB, free: 4.262 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.001507/0.001507, allocations: 107.6 kB / 22.07 MB, free: 1.016 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.002604/0.002604, allocations: 214.3 kB / 25.45 MB, free: 3.289 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.511/1.511, allocations: 230.6 MB / 259.2 MB, free: 13.12 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.146/1.146, allocations: 130.6 MB / 446.3 MB, free: 14.73 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_MixAndSplit,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Fittings_Check_Test_MixAndSplit",fmuType="cs",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.4016/0.4016, allocations: 46.15 MB / 0.6552 GB, free: 30.43 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.5765, allocations: 89.05 MB / 0.7421 GB, free: 2.707 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_MixAndSplit): time 0.04617/0.6226, allocations: 42.43 MB / 0.7836 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0578/0.6804, allocations: 29.41 MB / 0.8123 GB, free: 10.61 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01302/0.6935, allocations: 269.9 kB / 0.8125 GB, free: 10.35 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.01256/0.706, allocations: 4.211 MB / 0.8167 GB, free: 6.113 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02062/0.7266, allocations: 6.539 MB / 0.823 GB, free: 15.54 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.01637/0.743, allocations: 6.376 MB / 0.8293 GB, free: 9.156 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.02959/0.7726, allocations: 18.17 MB / 0.847 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.7836, allocations: 5.228 MB / 0.8521 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01588/0.7995, allocations: 7.411 MB / 0.8594 GB, free: 10.18 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01375/0.8132, allocations: 7.498 MB / 0.8667 GB, free: 2.648 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.004888/0.8181, allocations: 1.078 MB / 0.8677 GB, free: 1.57 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4308/1.249, allocations: 3.241 MB / 0.8709 GB, free: 34.31 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.006062/1.255, allocations: 3.4 MB / 0.8742 GB, free: 34.31 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0132/1.268, allocations: 6.133 MB / 0.8802 GB, free: 33.23 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03071/1.299, allocations: 17.65 MB / 0.8974 GB, free: 30.55 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.299, allocations: 0.875 kB / 0.8974 GB, free: 30.55 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.465e-06/1.299, allocations: 0 / 0.8974 GB, free: 30.55 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0008312/1.3, allocations: 1.312 kB / 0.8974 GB, free: 30.55 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.03956/1.339, allocations: 12.05 MB / 0.9092 GB, free: 25.3 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/1.339, allocations: 9.688 kB / 0.9092 GB, free: 25.3 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000495/1.34, allocations: 199.2 kB / 0.9094 GB, free: 25.29 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005154/1.345, allocations: 1.157 MB / 0.9105 GB, free: 25.19 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009169/1.354, allocations: 1.598 MB / 0.9121 GB, free: 24.44 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02405/1.378, allocations: 8.561 MB / 0.9205 GB, free: 22.76 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008315/1.379, allocations: 0.4922 MB / 0.9209 GB, free: 22.75 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003106/1.382, allocations: 0.6413 MB / 0.9216 GB, free: 22.74 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04318/1.425, allocations: 16.8 MB / 0.938 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003327/1.426, allocations: 106.2 kB / 0.9381 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001779/1.427, allocations: 343.3 kB / 0.9384 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003973/1.428, allocations: 367.5 kB / 0.9388 GB, free: 13.44 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03374/1.462, allocations: 12.17 MB / 0.9506 GB, free: 7.934 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.09402/1.556, allocations: 80.46 MB / 1.029 GB, free: 13.86 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02851/1.584, allocations: 9.744 MB / 1.039 GB, free: 7.566 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008672/1.593, allocations: 3.227 MB / 1.042 GB, free: 4.223 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/1.594, allocations: 427.8 kB / 1.042 GB, free: 3.844 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/1.594, allocations: 139.7 kB / 1.042 GB, free: 3.723 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=1268): time 9.037e-06/1.594, allocations: 0 / 1.042 GB, free: 3.723 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1269): time 0.1574/1.752, allocations: 82.87 MB / 1.123 GB, free: 132 kB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000925/1.753, allocations: 1.695 MB / 1.125 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01691/1.77, allocations: 8.306 MB / 1.133 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.002341/1.772, allocations: 109.7 kB / 1.133 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.004762/1.777, allocations: 4.617 MB / 1.138 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.006441/1.783, allocations: 4.347 MB / 1.142 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007274/1.79, allocations: 2.845 MB / 1.145 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.791, allocations: 301.1 kB / 1.145 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01049/1.801, allocations: 4.93 MB / 1.15 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01616/1.817, allocations: 9.612 MB / 1.159 GB, free: 9.121 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02919/1.846, allocations: 15.87 MB / 1.175 GB, free: 7.812 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001435/1.847, allocations: 43.98 kB / 1.175 GB, free: 7.77 MB / 0.8888 GB Notification: Performance of matching and sorting (n=1922) (initialization): time 0.05067/1.897, allocations: 16.72 MB / 1.191 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.897, allocations: 69.56 kB / 1.191 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4379/2.335, allocations: 11.52 MB / 1.202 GB, free: 320.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003795/2.339, allocations: 1.189 MB / 1.204 GB, free: 320.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01226/2.351, allocations: 3.617 MB / 1.207 GB, free: 320.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/2.362, allocations: 10.55 MB / 1.217 GB, free: 313.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/2.373, allocations: 0.5473 MB / 1.218 GB, free: 313.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004946/2.378, allocations: 0.9353 MB / 1.219 GB, free: 313.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02488/2.403, allocations: 6.864 MB / 1.226 GB, free: 311.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01697/2.42, allocations: 9.559 MB / 1.235 GB, free: 303.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02444/2.444, allocations: 15.78 MB / 1.25 GB, free: 292.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002483/2.445, allocations: 47.19 kB / 1.25 GB, free: 292.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1922) (initialization_lambda0): time 0.03905/2.484, allocations: 16.4 MB / 1.266 GB, free: 287 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/2.484, allocations: 70.5 kB / 1.266 GB, free: 287 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02515/2.509, allocations: 11.23 MB / 1.277 GB, free: 282.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/2.511, allocations: 0.895 MB / 1.278 GB, free: 282.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01167/2.523, allocations: 3.65 MB / 1.282 GB, free: 280.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008118/2.531, allocations: 9.125 MB / 1.291 GB, free: 271.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009593/2.541, allocations: 0.5319 MB / 1.291 GB, free: 270.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002844/2.543, allocations: 0.9329 MB / 1.292 GB, free: 270 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.005097/2.549, allocations: 1.034 MB / 1.293 GB, free: 269 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004874/2.553, allocations: 1.107 MB / 1.294 GB, free: 268.6 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.02931/2.583, allocations: 17.14 MB / 1.311 GB, free: 252.2 MB / 0.9044 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.275963690015487] Failed to read output from testmodel.py, exit status != 0: 2.5914739120053127 2.606184473 1.302036327 Calling exit ...