Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle.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.01709/0.01709, allocations: 1.796 MB / 21.15 MB, free: 3.242 MB / 18.57 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.001835/0.001835, allocations: 75.92 kB / 24.88 MB, free: 6.32 MB / 18.57 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.002008/0.002008, allocations: 168.7 kB / 28.74 MB, free: 3.512 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 1.488/1.488, allocations: 177.2 MB / 209.6 MB, free: 2.09 MB / 186.7 MB " [Timeout remaining time 178] 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 1.116/1.116, allocations: 102.5 MB / 369.1 MB, free: 0.875 MB / 330.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: translateModel(ClaRa.Components.MechanicalSeparation.Check.TestBottle,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|bottle_L3_1.insulation.U.1.|bottle_L3_1.volume.h_liq|bottle_L3_1.volume.h_vap|bottle_L3_1.volume.p_vap|bottle_L3_1.volume.volume_vap|bottle_L3_1.wall.U.1.|bottle_L3_1.wall.U.2.|bottle_L3_1.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestBottle,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|bottle_L3_1.insulation.U.1.|bottle_L3_1.volume.h_liq|bottle_L3_1.volume.h_vap|bottle_L3_1.volume.p_vap|bottle_L3_1.volume.volume_vap|bottle_L3_1.wall.U.1.|bottle_L3_1.wall.U.2.|bottle_L3_1.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 469.1 MB, free: 12.99 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.342e-05, allocations: 6.312 kB / 469.1 MB, free: 12.98 MB / 442.8 MB 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.TestBottle): time 0.4134/0.4134, allocations: 69.94 MB / 0.5264 GB, free: 71.11 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02993/0.4434, allocations: 23.2 MB / 0.5491 GB, free: 56.25 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005827/0.4492, allocations: 126.6 kB / 0.5492 GB, free: 56.19 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006867/0.4561, allocations: 2.531 MB / 0.5517 GB, free: 55.02 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0133/0.4693, allocations: 4.303 MB / 0.5559 GB, free: 52.48 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01107/0.4804, allocations: 4.086 MB / 0.5599 GB, free: 50.32 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0215/0.5019, allocations: 13.52 MB / 0.5731 GB, free: 43.66 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007787/0.5097, allocations: 4.156 MB / 0.5771 GB, free: 40.55 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01935/0.5291, allocations: 7.21 MB / 0.5842 GB, free: 36.1 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01017/0.5392, allocations: 4.827 MB / 0.5889 GB, free: 31.45 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003127/0.5424, allocations: 0.8503 MB / 0.5897 GB, free: 30.6 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009313/0.5517, allocations: 2.694 MB / 0.5923 GB, free: 27.9 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00413/0.5558, allocations: 2.932 MB / 0.5952 GB, free: 24.96 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.008155/0.564, allocations: 2.872 MB / 0.598 GB, free: 22.08 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.021/0.585, allocations: 14.13 MB / 0.6118 GB, free: 7.914 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.585, allocations: 0 / 0.6118 GB, free: 7.914 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.144e-06/0.585, allocations: 2.688 kB / 0.6118 GB, free: 7.914 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0005004/0.5855, allocations: 0 / 0.6118 GB, free: 7.914 MB / 490.8 MB 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.02791/0.6134, allocations: 10.13 MB / 0.6217 GB, free: 13.71 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.6134, allocations: 10.72 kB / 0.6217 GB, free: 13.7 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007424/0.6209, allocations: 1.416 MB / 0.6231 GB, free: 12.28 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01857/0.6394, allocations: 6.127 MB / 0.6291 GB, free: 6.09 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004733/0.6399, allocations: 328.9 kB / 0.6294 GB, free: 5.766 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002329/0.6422, allocations: 456.3 kB / 0.6298 GB, free: 5.32 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03816/0.6804, allocations: 14.7 MB / 0.6442 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001913/0.6806, allocations: 66.09 kB / 0.6442 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001233/0.6818, allocations: 220 kB / 0.6445 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000654/0.6825, allocations: 442.4 kB / 0.6449 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02829/0.7108, allocations: 8.742 MB / 0.6534 GB, free: 10.86 MB / 0.5262 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.1041/0.8148, allocations: 77.91 MB / 0.7295 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0221/0.8369, allocations: 7.16 MB / 0.7365 GB, free: 2.762 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006352/0.8433, allocations: 2.497 MB / 0.7389 GB, free: 172 kB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1854/1.029, allocations: 341.5 kB / 0.7393 GB, free: 188 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01596/1.045, allocations: 6.716 MB / 0.7458 GB, free: 187.3 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=827): time 1.077e-05/1.045, allocations: 0.6875 kB / 0.7458 GB, free: 187.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=828): time 0.08219/1.127, allocations: 42.16 MB / 0.787 GB, free: 167.6 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002518/1.127, allocations: 1.156 MB / 0.7881 GB, free: 166.2 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01156/1.139, allocations: 7.719 MB / 0.7956 GB, free: 162.6 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001719/1.14, allocations: 93.7 kB / 0.7957 GB, free: 162.5 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003016/1.143, allocations: 3.63 MB / 0.7993 GB, free: 159.4 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004278/1.148, allocations: 3.132 MB / 0.8023 GB, free: 156.7 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004469/1.152, allocations: 2.387 MB / 0.8047 GB, free: 154.6 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.298e-05/1.152, allocations: 480.8 kB / 0.8051 GB, free: 154.1 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00582/1.158, allocations: 3.777 MB / 0.8088 GB, free: 150.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007948/1.166, allocations: 8.697 MB / 0.8173 GB, free: 141 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0213/1.187, allocations: 16.29 MB / 0.8332 GB, free: 123.7 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.228e-05/1.187, allocations: 24 kB / 0.8332 GB, free: 123.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02522/1.213, allocations: 12.29 MB / 0.8452 GB, free: 111.3 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/1.213, allocations: 111.4 kB / 0.8454 GB, free: 111.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01743/1.23, allocations: 8.549 MB / 0.8537 GB, free: 102.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002664/1.233, allocations: 0.6496 MB / 0.8543 GB, free: 102 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009136/1.242, allocations: 2.4 MB / 0.8567 GB, free: 99.56 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/1.253, allocations: 17.54 MB / 0.8738 GB, free: 81.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007257/1.26, allocations: 393.9 kB / 0.8742 GB, free: 80.7 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002023/1.263, allocations: 0.5816 MB / 0.8748 GB, free: 80.12 MB / 0.6043 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.01095/1.273, allocations: 5.024 MB / 0.8797 GB, free: 75.08 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009804/1.283, allocations: 8.655 MB / 0.8881 GB, free: 64.57 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02287/1.306, allocations: 16.17 MB / 0.9039 GB, free: 46.79 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001097/1.306, allocations: 28 kB / 0.9039 GB, free: 46.76 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02722/1.333, allocations: 12.2 MB / 0.9158 GB, free: 34.54 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.00017/1.334, allocations: 109.3 kB / 0.9159 GB, free: 34.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01925/1.353, allocations: 8.453 MB / 0.9242 GB, free: 25.89 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002745/1.356, allocations: 0.6505 MB / 0.9248 GB, free: 25.25 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009582/1.365, allocations: 2.393 MB / 0.9272 GB, free: 22.86 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/1.377, allocations: 17.55 MB / 0.9443 GB, free: 4.363 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007211/1.384, allocations: 386.1 kB / 0.9447 GB, free: 3.988 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00202/1.386, allocations: 0.5778 MB / 0.9452 GB, free: 3.41 MB / 0.6043 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.003829/1.39, allocations: 0.9022 MB / 0.9461 GB, free: 2.496 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004399/1.395, allocations: 0.862 MB / 0.947 GB, free: 1.629 MB / 0.6043 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 main/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.0287/1.423, allocations: 11.06 MB / 0.9578 GB, free: 7.078 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.272077615023591]