Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01719/0.01719, allocations: 2.336 MB / 21.18 MB, free: 3.547 MB / 13.93 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.001101/0.001101, allocations: 120.5 kB / 24.89 MB, free: 252 kB / 13.93 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.001392/0.001392, allocations: 221.8 kB / 28.73 MB, free: 1.055 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.9157/0.9157, allocations: 230.6 MB / 263 MB, free: 6.809 MB / 202.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.7053/0.7053, allocations: 130.7 MB / 450.7 MB, free: 9.871 MB / 346.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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "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: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.0302/0.0302, allocations: 29.94 MB / 0.6466 GB, free: 26.97 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1498, allocations: 82.04 MB / 0.7267 GB, free: 11.82 MB / 0.5418 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.09798/0.2477, allocations: 53.86 MB / 0.7793 GB, free: 5.844 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.02522/0.273, allocations: 22.79 MB / 0.8015 GB, free: 14.99 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003203/0.2762, allocations: 127.1 kB / 0.8017 GB, free: 14.87 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.004151/0.2803, allocations: 2.683 MB / 0.8043 GB, free: 12.17 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.005306/0.2856, allocations: 3.903 MB / 0.8081 GB, free: 8.25 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.00499/0.2906, allocations: 3.7 MB / 0.8117 GB, free: 4.543 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.008803/0.2994, allocations: 12.52 MB / 0.8239 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003404/0.3028, allocations: 3.736 MB / 0.8276 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.284/0.5868, allocations: 5.055 MB / 0.8325 GB, free: 29.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006198/0.593, allocations: 4.989 MB / 0.8374 GB, free: 28.9 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001569/0.5946, allocations: 0.8006 MB / 0.8382 GB, free: 28.9 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004399/0.599, allocations: 2.436 MB / 0.8406 GB, free: 28.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002006/0.601, allocations: 2.654 MB / 0.8431 GB, free: 28.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003442/0.6044, allocations: 3.324 MB / 0.8464 GB, free: 27.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.6151, allocations: 13.32 MB / 0.8594 GB, free: 25.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6151, allocations: 1.219 kB / 0.8594 GB, free: 25.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6151, allocations: 0 / 0.8594 GB, free: 25.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001494/0.6153, allocations: 1.719 kB / 0.8594 GB, free: 25.83 MB / 0.6355 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.01076/0.626, allocations: 8.607 MB / 0.8678 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.6261, allocations: 16.28 kB / 0.8678 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007439/0.6268, allocations: 0.7499 MB / 0.8686 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.6288, allocations: 1.03 MB / 0.8696 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00729/0.636, allocations: 6.286 MB / 0.8757 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.6362, allocations: 312.2 kB / 0.876 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005/0.6367, allocations: 402.8 kB / 0.8764 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/0.6508, allocations: 13.51 MB / 0.8896 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.52e-05/0.6509, allocations: 47.47 kB / 0.8896 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005608/0.6515, allocations: 202.8 kB / 0.8898 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002964/0.6518, allocations: 392.1 kB / 0.8902 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/0.666, allocations: 10.15 MB / 0.9001 GB, free: 4.809 MB / 0.6355 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.03216/0.6982, allocations: 44.1 MB / 0.9432 GB, free: 15.19 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.7092, allocations: 7.847 MB / 0.9508 GB, free: 10.83 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003494/0.7127, allocations: 3.008 MB / 0.9538 GB, free: 9.047 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005064/0.7132, allocations: 277.3 kB / 0.954 GB, free: 8.953 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/0.7133, allocations: 101.6 kB / 0.9541 GB, free: 8.875 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=816): time 6.352e-06/0.7133, allocations: 0 / 0.9541 GB, free: 8.875 MB / 0.6824 GB Notification: Performance of matching and sorting (n=817): time 0.05343/0.7667, allocations: 42.33 MB / 0.9955 GB, free: 0.9375 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003777/0.7671, allocations: 1.136 MB / 0.9966 GB, free: 15.54 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008042/0.7751, allocations: 5.895 MB / 1.002 GB, free: 9.637 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 0.0006942/0.7758, allocations: 85.7 kB / 1.002 GB, free: 9.547 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 0.001834/0.7777, allocations: 2.814 MB / 1.005 GB, free: 6.738 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 0.002268/0.7799, allocations: 2.792 MB / 1.008 GB, free: 3.984 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002595/0.7825, allocations: 1.777 MB / 1.01 GB, free: 2.195 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.7826, allocations: 309.1 kB / 1.01 GB, free: 1.891 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006122/0.7887, allocations: 4.181 MB / 1.014 GB, free: 13.69 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007735/0.7965, allocations: 7.169 MB / 1.021 GB, free: 5.355 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2257/1.022, allocations: 69.42 MB / 1.089 GB, free: 336 kB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.472e-05/1.022, allocations: 24 kB / 1.089 GB, free: 312 kB / 0.8074 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.01633/1.039, allocations: 12.33 MB / 1.101 GB, free: 4.348 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/1.039, allocations: 36 kB / 1.101 GB, free: 4.312 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01142/1.05, allocations: 9.447 MB / 1.11 GB, free: 10.85 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02314/1.073, allocations: 4.016 MB / 1.114 GB, free: 6.855 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006116/1.079, allocations: 2.285 MB / 1.116 GB, free: 4.703 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008299/1.088, allocations: 11.64 MB / 1.128 GB, free: 8.473 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004812/1.092, allocations: 347.3 kB / 1.128 GB, free: 8.133 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000952/1.093, allocations: 0.5426 MB / 1.128 GB, free: 7.59 MB / 0.8543 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.008658/1.102, allocations: 5.989 MB / 1.134 GB, free: 1.594 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006334/1.108, allocations: 7.125 MB / 1.141 GB, free: 9.301 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4529/1.561, allocations: 69.2 MB / 1.209 GB, free: 385.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.77e-05/1.561, allocations: 20.97 kB / 1.209 GB, free: 385.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.01474/1.576, allocations: 12.24 MB / 1.221 GB, free: 375.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/1.576, allocations: 36 kB / 1.221 GB, free: 375.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009216/1.585, allocations: 9.334 MB / 1.23 GB, free: 366 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01526/1.601, allocations: 2.877 MB / 1.233 GB, free: 363.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004029/1.605, allocations: 2.281 MB / 1.235 GB, free: 360.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005606/1.61, allocations: 11.55 MB / 1.246 GB, free: 348.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003625/1.614, allocations: 335.9 kB / 1.247 GB, free: 348.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006593/1.614, allocations: 0.5426 MB / 1.247 GB, free: 347.9 MB / 0.8855 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.001526/1.616, allocations: 0.6842 MB / 1.248 GB, free: 347.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.617, allocations: 0.7076 MB / 1.249 GB, free: 347 MB / 0.8855 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.009959/1.627, allocations: 11 MB / 1.259 GB, free: 336.6 MB / 0.8855 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.494797870516777]