Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestBottle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.008888/0.008888, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.09094/0.09094, allocations: 18.24 MB / 42.19 MB, free: 5.191 MB / 33.03 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.001024/0.001024, allocations: 83.56 kB / 53.07 MB, free: 6.383 MB / 44.04 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.001164/0.001164, allocations: 160.6 kB / 64.03 MB, free: 10.08 MB / 58.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 0.95/0.95, allocations: 177.2 MB / 252.1 MB, free: 11.77 MB / 218.7 MB " [Timeout remaining time 179] 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 0.4991/0.4991, allocations: 102.5 MB / 418.6 MB, free: 5.199 MB / 362.7 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestBottle,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestBottle",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestBottle,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestBottle",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.6029 GB, free: 300 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.999e-05, allocations: 2.281 kB / 0.6029 GB, free: 296 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestBottle): time 0.01521/0.01523, allocations: 20.28 MB / 0.6227 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02675/0.04198, allocations: 22.47 MB / 0.6447 GB, free: 5.383 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00361/0.04559, allocations: 127.1 kB / 0.6448 GB, free: 5.258 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.005146/0.05074, allocations: 2.545 MB / 0.6473 GB, free: 2.703 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.00904/0.05978, allocations: 4.288 MB / 0.6514 GB, free: 14.39 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.007587/0.06737, allocations: 4.103 MB / 0.6555 GB, free: 10.29 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2588/0.3261, allocations: 13.51 MB / 0.6686 GB, free: 19.59 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004833/0.331, allocations: 3.959 MB / 0.6725 GB, free: 19.34 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00669/0.3377, allocations: 7.203 MB / 0.6795 GB, free: 19.34 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005189/0.3428, allocations: 4.82 MB / 0.6843 GB, free: 18.93 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.344, allocations: 0.8488 MB / 0.6851 GB, free: 18.93 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00441/0.3484, allocations: 2.684 MB / 0.6877 GB, free: 18.85 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001645/0.35, allocations: 2.919 MB / 0.6906 GB, free: 18.42 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002546/0.3526, allocations: 2.868 MB / 0.6934 GB, free: 18.06 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.3658, allocations: 14.08 MB / 0.7071 GB, free: 14.42 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.3658, allocations: 0 / 0.7071 GB, free: 14.42 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.875e-06/0.3658, allocations: 1.375 kB / 0.7071 GB, free: 14.42 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004314/0.3662, allocations: 0 / 0.7071 GB, free: 14.42 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1666 * Number of variables: 1666 Notification: Performance of Generate backend data structure: time 0.01748/0.3837, allocations: 8.913 MB / 0.7158 GB, free: 8.242 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3837, allocations: 15 kB / 0.7158 GB, free: 8.238 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007552/0.3845, allocations: 0.7849 MB / 0.7166 GB, free: 7.672 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.3864, allocations: 1.078 MB / 0.7176 GB, free: 7.066 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007561/0.394, allocations: 6.523 MB / 0.724 GB, free: 2.883 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.3941, allocations: 337.9 kB / 0.7243 GB, free: 2.738 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/0.3946, allocations: 430.1 kB / 0.7247 GB, free: 2.602 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.4104, allocations: 14.27 MB / 0.7387 GB, free: 7.512 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.893e-05/0.4105, allocations: 58.19 kB / 0.7387 GB, free: 7.512 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004324/0.4109, allocations: 229.5 kB / 0.739 GB, free: 7.371 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002787/0.4112, allocations: 443.2 kB / 0.7394 GB, free: 7.254 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/0.4264, allocations: 10.64 MB / 0.7498 GB, free: 14.09 MB / 0.573 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.03891/0.4653, allocations: 50.47 MB / 0.7991 GB, free: 10.62 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/0.4778, allocations: 7.873 MB / 0.8067 GB, free: 2.621 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003727/0.4815, allocations: 3.192 MB / 0.8099 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007064/0.4822, allocations: 329.5 kB / 0.8102 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009737/0.4919, allocations: 6.705 MB / 0.8167 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=827): time 1.205e-05/0.492, allocations: 0 / 0.8167 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=828): time 0.05656/0.5485, allocations: 44.83 MB / 0.8605 GB, free: 11.04 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003462/0.5489, allocations: 1.156 MB / 0.8616 GB, free: 9.629 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00746/0.5563, allocations: 6.324 MB / 0.8678 GB, free: 3.312 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/0.5573, allocations: 97.7 kB / 0.8679 GB, free: 3.211 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.001815/0.5592, allocations: 3.047 MB / 0.8709 GB, free: 176 kB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.00205/0.5612, allocations: 2.802 MB / 0.8736 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002373/0.5636, allocations: 1.906 MB / 0.8755 GB, free: 11.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.5637, allocations: 304.9 kB / 0.8758 GB, free: 11.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006067/0.5697, allocations: 4.539 MB / 0.8802 GB, free: 6.625 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006667/0.5764, allocations: 7.831 MB / 0.8878 GB, free: 13.45 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5784/1.155, allocations: 85.26 MB / 0.9711 GB, free: 259.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.417e-05/1.155, allocations: 24.09 kB / 0.9711 GB, free: 259.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02168/1.177, allocations: 13.49 MB / 0.9843 GB, free: 254.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/1.177, allocations: 116.1 kB / 0.9844 GB, free: 254.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01476/1.191, allocations: 10.19 MB / 0.9944 GB, free: 250 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/1.193, allocations: 0.6863 MB / 0.995 GB, free: 249.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006051/1.199, allocations: 2.428 MB / 0.9974 GB, free: 247.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007412/1.206, allocations: 14.59 MB / 1.012 GB, free: 232.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005756/1.212, allocations: 430.5 kB / 1.012 GB, free: 232.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/1.213, allocations: 0.58 MB / 1.013 GB, free: 231.9 MB / 0.7605 GB Warning: Assuming fixed start value for the following 3 variables: bottle_L3_1.volume.h_liq:VARIABLE(start = bottle_L3_1.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real bottle_L3_1.volume.h_vap:VARIABLE(start = bottle_L3_1.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real bottle_L3_1.volume.p_vap:VARIABLE(min = 0.0 start = bottle_L3_1.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009499/1.223, allocations: 6.383 MB / 1.019 GB, free: 225.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006897/1.23, allocations: 7.803 MB / 1.026 GB, free: 216.3 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2803/1.51, allocations: 84.87 MB / 1.109 GB, free: 130.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.981e-05/1.51, allocations: 24 kB / 1.109 GB, free: 130.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.01785/1.528, allocations: 13.38 MB / 1.122 GB, free: 117.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/1.528, allocations: 107.5 kB / 1.123 GB, free: 117 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01126/1.539, allocations: 10.11 MB / 1.132 GB, free: 106.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/1.54, allocations: 0.6903 MB / 1.133 GB, free: 106.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005084/1.545, allocations: 2.414 MB / 1.135 GB, free: 103.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007092/1.552, allocations: 14.6 MB / 1.15 GB, free: 88.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005255/1.558, allocations: 421.3 kB / 1.15 GB, free: 87.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009951/1.559, allocations: 0.5777 MB / 1.151 GB, free: 87.28 MB / 0.7605 GB Warning: Assuming fixed start value for the following 3 variables: bottle_L3_1.volume.h_liq:VARIABLE(start = bottle_L3_1.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real bottle_L3_1.volume.h_vap:VARIABLE(start = bottle_L3_1.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real bottle_L3_1.volume.p_vap:VARIABLE(min = 0.0 start = bottle_L3_1.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: 388 * Number of states: 0 () * Number of discrete variables: 16 (timeTable1.nextEventScaled,timeTable1.nextEvent,$PRE.timeTable1.nextEvent,timeTable1.last,timeTable1.b,timeTable1.a,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition2,$whenCondition1,valveVLE_L1_2.pressureLoss.normIsValid,valveVLE_L1_1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1204): * Single equations (assignments): 1193 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 5 * 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): 4 systems {(4,3,87.5%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002009/1.561, allocations: 0.8082 MB / 1.151 GB, free: 86.51 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/1.562, allocations: 0.7524 MB / 1.152 GB, free: 86 MB / 0.7605 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 1200 equation(s) and 1148 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (cyclone.fluidIn.q, cyclone.fluidIn.cp, cyclone.fluidIn.cv, cyclone.fluidIn.beta, cyclone.fluidIn.kappa, cyclone.fluidIn.drhodp_hxi, cyclone.fluidIn.drhodh_pxi, _, cyclone.fluidIn.w, cyclone.fluidIn.gamma) = ($cse36, $cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44, $cse45) has size 9 but 7 variables ($whenCondition1, timeTable.a, timeTable.b, timeTable.last, timeTable.nextEvent, timeTable.nextEventScaled, timeTable.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/1.574, allocations: 11.14 MB / 1.163 GB, free: 75.12 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.36698030680418]