Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestDrum.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.01018/0.01018, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.001294/0.001294, allocations: 108.1 kB / 24.98 MB, free: 2.156 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.001589/0.001589, allocations: 203.2 kB / 28.71 MB, free: 3.441 MB / 19.63 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.485/1.485, allocations: 230.6 MB / 262.9 MB, free: 5.992 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.08/1.08, allocations: 130.7 MB / 450.4 MB, free: 6.551 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.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestDrum",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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.03242/0.03242, allocations: 20.61 MB / 0.6363 GB, free: 5.328 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.2075, allocations: 81.9 MB / 0.7163 GB, free: 3.324 MB / 0.5294 GB 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.MechanicalSeparation.Check.TestDrum): time 0.4892/0.6967, allocations: 56.87 MB / 0.7718 GB, free: 12.57 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03469/0.7313, allocations: 23.78 MB / 0.7951 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006776/0.7381, allocations: 122.8 kB / 0.7952 GB, free: 11.61 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008553/0.7467, allocations: 2.841 MB / 0.7979 GB, free: 10.01 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01386/0.7605, allocations: 3.897 MB / 0.8018 GB, free: 6.926 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01067/0.7712, allocations: 3.712 MB / 0.8054 GB, free: 4.082 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01945/0.7906, allocations: 12.53 MB / 0.8176 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006256/0.7969, allocations: 3.511 MB / 0.821 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009766/0.8067, allocations: 5.038 MB / 0.826 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009729/0.8164, allocations: 5.165 MB / 0.831 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002872/0.8193, allocations: 0.8008 MB / 0.8318 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008626/0.8279, allocations: 3.22 MB / 0.8349 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004507/0.8324, allocations: 2.655 MB / 0.8375 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008028/0.8404, allocations: 4.284 MB / 0.8417 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02172/0.8621, allocations: 13.43 MB / 0.8548 GB, free: 5.285 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.8622, allocations: 4 kB / 0.8548 GB, free: 5.281 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8622, allocations: 0 / 0.8548 GB, free: 5.281 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0003439/0.8625, allocations: 3.938 kB / 0.8548 GB, free: 5.277 MB / 0.6232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1607 * Number of variables: 1607 Notification: Performance of Generate backend data structure: time 0.02065/0.8831, allocations: 8.612 MB / 0.8632 GB, free: 12.61 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.8832, allocations: 8.781 kB / 0.8633 GB, free: 12.6 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001311/0.8833, allocations: 130.9 kB / 0.8634 GB, free: 12.47 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001333/0.8847, allocations: 0.7534 MB / 0.8641 GB, free: 11.7 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/0.8879, allocations: 1.033 MB / 0.8651 GB, free: 10.67 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.9012, allocations: 6.287 MB / 0.8713 GB, free: 4.32 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/0.9015, allocations: 300.1 kB / 0.8716 GB, free: 4.023 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.9027, allocations: 406.7 kB / 0.8719 GB, free: 3.629 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02749/0.9302, allocations: 11.91 MB / 0.8836 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/0.9303, allocations: 47.5 kB / 0.8836 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006925/0.931, allocations: 210.6 kB / 0.8838 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000463/0.9315, allocations: 394.3 kB / 0.8842 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02598/0.9575, allocations: 10.19 MB / 0.8941 GB, free: 11.79 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.06703/1.025, allocations: 46.83 MB / 0.9399 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0228/1.047, allocations: 7.879 MB / 0.9476 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006728/1.054, allocations: 3.008 MB / 0.9505 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/1.055, allocations: 312.7 kB / 0.9508 GB, free: 212 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/1.055, allocations: 103 kB / 0.9509 GB, free: 104 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=816): time 1.078e-05/1.055, allocations: 0 / 0.9509 GB, free: 104 kB / 0.7169 GB Notification: Performance of matching and sorting (n=817): time 0.1022/1.158, allocations: 42.32 MB / 0.9922 GB, free: 5.508 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000606/1.158, allocations: 1.147 MB / 0.9933 GB, free: 4.098 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009746/1.168, allocations: 5.767 MB / 0.999 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001442/1.169, allocations: 89.7 kB / 0.9991 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002462/1.172, allocations: 2.805 MB / 1.002 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.003996/1.176, allocations: 2.81 MB / 1.005 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003634/1.18, allocations: 1.771 MB / 1.006 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.18, allocations: 305.1 kB / 1.007 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007692/1.187, allocations: 4.197 MB / 1.011 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/1.199, allocations: 6.622 MB / 1.017 GB, free: 10.63 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7272/1.926, allocations: 69.4 MB / 1.085 GB, free: 341.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.813e-05/1.926, allocations: 19.59 kB / 1.085 GB, free: 341.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02285/1.949, allocations: 12.34 MB / 1.097 GB, free: 334.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/1.949, allocations: 36.78 kB / 1.097 GB, free: 334.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01619/1.965, allocations: 9.443 MB / 1.106 GB, free: 325 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04445/2.009, allocations: 4.024 MB / 1.11 GB, free: 321 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008135/2.018, allocations: 2.278 MB / 1.112 GB, free: 318.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009537/2.027, allocations: 11.7 MB / 1.124 GB, free: 306.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006235/2.033, allocations: 354.5 kB / 1.124 GB, free: 306.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001784/2.035, allocations: 0.5426 MB / 1.125 GB, free: 305.6 MB / 0.8263 GB Warning: Assuming fixed start value for the following 3 variables: drum.volume.h_liq:VARIABLE(start = drum.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real drum.volume.h_vap:VARIABLE(start = drum.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real drum.volume.p_vap:VARIABLE(min = 0.0 start = drum.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01023/2.045, allocations: 5.985 MB / 1.131 GB, free: 299.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007866/2.053, allocations: 6.597 MB / 1.137 GB, free: 291.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4514/2.505, allocations: 69.18 MB / 1.205 GB, free: 221.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.567e-05/2.505, allocations: 23.56 kB / 1.205 GB, free: 221.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.03598/2.541, allocations: 12.24 MB / 1.216 GB, free: 209.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.425e-05/2.541, allocations: 36 kB / 1.217 GB, free: 209.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0216/2.562, allocations: 9.338 MB / 1.226 GB, free: 200.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03166/2.594, allocations: 2.871 MB / 1.228 GB, free: 197.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009285/2.603, allocations: 2.288 MB / 1.231 GB, free: 195.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/2.614, allocations: 11.59 MB / 1.242 GB, free: 183 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006932/2.62, allocations: 335.6 kB / 1.242 GB, free: 182.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001903/2.622, allocations: 0.5387 MB / 1.243 GB, free: 182.1 MB / 0.8263 GB Warning: Assuming fixed start value for the following 3 variables: drum.volume.h_liq:VARIABLE(start = drum.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real drum.volume.h_vap:VARIABLE(start = drum.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real drum.volume.p_vap:VARIABLE(min = 0.0 start = drum.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 324 * 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 (1115): * Single equations (assignments): 1108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,20)} Notification: Performance of prepare postOptimizeDAE: time 0.002821/2.625, allocations: 0.6915 MB / 1.244 GB, free: 181.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002793/2.628, allocations: 0.7057 MB / 1.244 GB, free: 181 MB / 0.8263 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 1239 equation(s) and 1186 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (sink.fluidOut.q, sink.fluidOut.cp, sink.fluidOut.cv, sink.fluidOut.beta, sink.fluidOut.kappa, sink.fluidOut.drhodp_hxi, sink.fluidOut.drhodh_pxi, _, sink.fluidOut.w, sink.fluidOut.gamma) = ($cse406, $cse407, $cse408, $cse409, $cse410, $cse411, $cse412, $cse413, $cse414, $cse415) has size 9 but 3 variables (drum.volume.heattransfer.Delta_T_mean[1], drum.volume.summary.fluid.T[1], drum.scalar2VectorHeatPort.heatVector[2].T) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01859/2.647, allocations: 10.96 MB / 1.255 GB, free: 170.4 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.518689830088988] Failed to read output from testmodel.py, exit status != 0: 2.8173556870315224 2.837006413 1.970770177 Calling exit ...