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.01048/0.01048, allocations: 1.767 MB / 20.61 MB, free: 3.867 MB / 13.93 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.08918/0.08918, allocations: 25.61 MB / 49.71 MB, free: 2.934 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.001037/0.001037, allocations: 118.1 kB / 60.66 MB, free: 3.023 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.001272/0.001272, allocations: 216 kB / 71.73 MB, free: 6.473 MB / 44.04 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.013/1.013, allocations: 230.6 MB / 313.3 MB, free: 11.77 MB / 234.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.7821/0.7821, allocations: 130.7 MB / 0.4963 GB, free: 2.191 MB / 362.8 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: 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: 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: 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: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 152.8 kB / 0.69 GB, free: 46.83 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.146, allocations: 89.27 MB / 0.7772 GB, free: 2.879 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestBottle): time 0.0149/0.1609, allocations: 20.33 MB / 0.7971 GB, free: 14.46 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02703/0.1879, allocations: 22.73 MB / 0.8193 GB, free: 7.66 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004006/0.1919, allocations: 127.1 kB / 0.8194 GB, free: 7.535 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.004425/0.1964, allocations: 2.527 MB / 0.8218 GB, free: 4.996 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.008091/0.2044, allocations: 4.182 MB / 0.8259 GB, free: 0.7969 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007331/0.2118, allocations: 4.037 MB / 0.8299 GB, free: 12.76 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.01472/0.2265, allocations: 13.2 MB / 0.8428 GB, free: 15.54 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005414/0.2319, allocations: 3.923 MB / 0.8466 GB, free: 11.54 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006748/0.2387, allocations: 5.326 MB / 0.8518 GB, free: 6.199 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006403/0.2451, allocations: 5.374 MB / 0.857 GB, free: 0.8047 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.001807/0.2469, allocations: 0.8476 MB / 0.8579 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004666/0.2515, allocations: 2.644 MB / 0.8604 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001815/0.2533, allocations: 2.842 MB / 0.8632 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003848/0.2572, allocations: 3.475 MB / 0.8666 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.2687, allocations: 14.03 MB / 0.8803 GB, free: 8.887 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2687, allocations: 4 kB / 0.8803 GB, free: 8.883 MB / 0.6512 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2687, allocations: 0 / 0.8803 GB, free: 8.883 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.0002733/0.269, allocations: 0 / 0.8803 GB, free: 8.883 MB / 0.6512 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.01162/0.2806, allocations: 9.011 MB / 0.8891 GB, free: 15.77 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.2806, allocations: 15.97 kB / 0.8891 GB, free: 15.76 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007103/0.2814, allocations: 0.79 MB / 0.8899 GB, free: 14.96 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.2832, allocations: 1.081 MB / 0.891 GB, free: 13.87 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007327/0.2905, allocations: 6.524 MB / 0.8973 GB, free: 7.25 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.2907, allocations: 332.9 kB / 0.8977 GB, free: 6.922 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004533/0.2912, allocations: 419.9 kB / 0.8981 GB, free: 6.512 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3271/0.6183, allocations: 14.27 MB / 0.912 GB, free: 104.6 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.389e-05/0.6184, allocations: 58.97 kB / 0.912 GB, free: 104.6 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000418/0.6188, allocations: 219.7 kB / 0.9123 GB, free: 104.4 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003682/0.6191, allocations: 441.8 kB / 0.9127 GB, free: 104.4 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02023/0.6394, allocations: 10.65 MB / 0.9231 GB, free: 100.7 MB / 0.6668 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.03019/0.6696, allocations: 50.61 MB / 0.9725 GB, free: 58.21 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009892/0.6795, allocations: 7.876 MB / 0.9802 GB, free: 51.68 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003041/0.6825, allocations: 3.181 MB / 0.9833 GB, free: 48.43 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006111/0.6831, allocations: 336 kB / 0.9836 GB, free: 48.11 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008108/0.6912, allocations: 6.712 MB / 0.9902 GB, free: 41.25 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=827): time 8.266e-06/0.6912, allocations: 0 / 0.9902 GB, free: 41.25 MB / 0.6668 GB Notification: Performance of matching and sorting (n=828): time 0.04644/0.7377, allocations: 44.84 MB / 1.034 GB, free: 12.28 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000343/0.738, allocations: 1.153 MB / 1.035 GB, free: 10.86 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006892/0.7449, allocations: 6.326 MB / 1.041 GB, free: 4.664 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0007678/0.7457, allocations: 101.7 kB / 1.041 GB, free: 4.559 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.001704/0.7474, allocations: 3.061 MB / 1.044 GB, free: 1.781 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.00199/0.7494, allocations: 2.847 MB / 1.047 GB, free: 15.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002154/0.7515, allocations: 1.917 MB / 1.049 GB, free: 13.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.7516, allocations: 305.1 kB / 1.049 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004997/0.7566, allocations: 4.531 MB / 1.054 GB, free: 8.406 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007103/0.7637, allocations: 7.833 MB / 1.061 GB, free: 15.18 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2648/1.029, allocations: 85.25 MB / 1.145 GB, free: 8.703 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.921e-05/1.029, allocations: 24 kB / 1.145 GB, free: 8.68 MB / 0.7918 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01949/1.048, allocations: 13.48 MB / 1.158 GB, free: 11.11 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 8.909e-05/1.048, allocations: 111.5 kB / 1.158 GB, free: 10.99 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01236/1.061, allocations: 10.19 MB / 1.168 GB, free: 0.7109 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/1.062, allocations: 0.6871 MB / 1.169 GB, free: 16 kB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004873/1.067, allocations: 2.426 MB / 1.171 GB, free: 13.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009282/1.076, allocations: 14.61 MB / 1.185 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005088/1.081, allocations: 431.1 kB / 1.186 GB, free: 13.62 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008644/1.082, allocations: 0.5816 MB / 1.186 GB, free: 13.04 MB / 0.8387 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.008568/1.09, allocations: 6.383 MB / 1.192 GB, free: 6.633 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006605/1.097, allocations: 7.802 MB / 1.2 GB, free: 13.44 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6182/1.715, allocations: 84.86 MB / 1.283 GB, free: 270.1 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.872e-05/1.715, allocations: 28 kB / 1.283 GB, free: 270 MB / 0.8699 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.01943/1.735, allocations: 13.38 MB / 1.296 GB, free: 257 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 9.038e-05/1.735, allocations: 107.4 kB / 1.296 GB, free: 256.9 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01278/1.747, allocations: 10.1 MB / 1.306 GB, free: 246.7 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/1.749, allocations: 0.6923 MB / 1.307 GB, free: 246 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005455/1.754, allocations: 2.411 MB / 1.309 GB, free: 243.6 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007073/1.761, allocations: 14.62 MB / 1.323 GB, free: 228.1 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0051/1.766, allocations: 421.5 kB / 1.324 GB, free: 227.8 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.767, allocations: 0.5777 MB / 1.324 GB, free: 227.2 MB / 0.8699 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.001909/1.769, allocations: 0.8195 MB / 1.325 GB, free: 226.4 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001673/1.771, allocations: 0.7445 MB / 1.326 GB, free: 226.1 MB / 0.8699 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.01462/1.786, allocations: 11.15 MB / 1.337 GB, free: 215.3 MB / 0.8699 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.899614514783025]