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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01747/0.01747, allocations: 1.796 MB / 21.15 MB, free: 3.254 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.001777/0.001777, allocations: 76.36 kB / 24.88 MB, free: 6.828 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.001921/0.001921, allocations: 170.2 kB / 28.74 MB, free: 3.668 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.482/1.482, allocations: 177.1 MB / 209.6 MB, free: 2.391 MB / 186.7 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.117/1.117, allocations: 102.5 MB / 369.1 MB, free: 0.9141 MB / 330.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 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_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_ClaRa.Components.MechanicalSeparation.Check.TestBottle") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 469.1 MB, free: 13.04 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.001e-05, allocations: 6.312 kB / 469.1 MB, free: 13.03 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.4181/0.4181, allocations: 69.94 MB / 0.5264 GB, free: 71.21 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03168/0.4498, allocations: 23.2 MB / 0.5491 GB, free: 56.3 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00595/0.4557, allocations: 126.4 kB / 0.5492 GB, free: 56.24 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007365/0.4631, allocations: 2.53 MB / 0.5517 GB, free: 55.07 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01397/0.4771, allocations: 4.304 MB / 0.5559 GB, free: 52.53 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.4875, allocations: 4.091 MB / 0.5599 GB, free: 50.37 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01858/0.5061, allocations: 13.52 MB / 0.5731 GB, free: 43.72 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006921/0.513, allocations: 4.161 MB / 0.5771 GB, free: 40.6 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01626/0.5292, allocations: 7.202 MB / 0.5842 GB, free: 36.16 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0106/0.5398, allocations: 4.84 MB / 0.5889 GB, free: 31.47 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004123/0.544, allocations: 0.8477 MB / 0.5897 GB, free: 30.62 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/0.5548, allocations: 2.68 MB / 0.5924 GB, free: 27.94 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004839/0.5596, allocations: 2.94 MB / 0.5952 GB, free: 24.99 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007397/0.567, allocations: 2.875 MB / 0.598 GB, free: 22.11 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01747/0.5845, allocations: 14.13 MB / 0.6118 GB, free: 7.945 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5845, allocations: 0 / 0.6118 GB, free: 7.945 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5845, allocations: 0 / 0.6118 GB, free: 7.945 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0003647/0.5848, allocations: 0 / 0.6118 GB, free: 7.945 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.02289/0.6077, allocations: 10.14 MB / 0.6217 GB, free: 13.73 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.6078, allocations: 8.031 kB / 0.6217 GB, free: 13.73 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005296/0.6131, allocations: 1.419 MB / 0.6231 GB, free: 12.3 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01602/0.6291, allocations: 6.134 MB / 0.6291 GB, free: 6.109 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004793/0.6296, allocations: 327.6 kB / 0.6294 GB, free: 5.789 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0022/0.6318, allocations: 452.3 kB / 0.6299 GB, free: 5.348 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03301/0.6648, allocations: 14.69 MB / 0.6442 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/0.6649, allocations: 59.44 kB / 0.6443 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007463/0.6657, allocations: 220 kB / 0.6445 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006014/0.6663, allocations: 448.6 kB / 0.6449 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02714/0.6934, allocations: 8.748 MB / 0.6534 GB, free: 10.88 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.09656/0.79, allocations: 77.9 MB / 0.7295 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0213/0.8113, allocations: 7.167 MB / 0.7365 GB, free: 2.789 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005916/0.8172, allocations: 2.492 MB / 0.7389 GB, free: 204 kB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2094/1.027, allocations: 336.6 kB / 0.7393 GB, free: 188.1 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0165/1.043, allocations: 6.724 MB / 0.7458 GB, free: 187.5 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=827): time 1.243e-05/1.043, allocations: 0.5625 kB / 0.7458 GB, free: 187.5 MB / 0.6043 GB Notification: Performance of matching and sorting (n=828): time 0.07804/1.121, allocations: 42.16 MB / 0.787 GB, free: 167.7 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002519/1.121, allocations: 1.147 MB / 0.7881 GB, free: 166.3 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01162/1.133, allocations: 7.72 MB / 0.7957 GB, free: 162.7 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001544/1.135, allocations: 93.7 kB / 0.7958 GB, free: 162.6 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002825/1.137, allocations: 3.629 MB / 0.7993 GB, free: 159.5 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003663/1.141, allocations: 3.127 MB / 0.8024 GB, free: 156.7 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004001/1.145, allocations: 2.39 MB / 0.8047 GB, free: 154.7 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 5.765e-05/1.145, allocations: 476.8 kB / 0.8051 GB, free: 154.2 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005683/1.151, allocations: 3.785 MB / 0.8088 GB, free: 150.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007781/1.159, allocations: 8.694 MB / 0.8173 GB, free: 141.1 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02029/1.179, allocations: 16.29 MB / 0.8332 GB, free: 123.8 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-05/1.179, allocations: 24 kB / 0.8333 GB, free: 123.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02554/1.204, allocations: 12.29 MB / 0.8453 GB, free: 111.4 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.205, allocations: 106 kB / 0.8454 GB, free: 111.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01592/1.22, allocations: 8.553 MB / 0.8537 GB, free: 102.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002563/1.223, allocations: 0.6399 MB / 0.8543 GB, free: 102 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008921/1.232, allocations: 2.404 MB / 0.8567 GB, free: 99.64 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/1.243, allocations: 17.54 MB / 0.8738 GB, free: 81.17 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006934/1.25, allocations: 403.6 kB / 0.8742 GB, free: 80.78 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001795/1.251, allocations: 0.5777 MB / 0.8748 GB, free: 80.2 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.009414/1.261, allocations: 5.031 MB / 0.8797 GB, free: 75.16 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008173/1.269, allocations: 8.655 MB / 0.8881 GB, free: 64.65 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0209/1.29, allocations: 16.17 MB / 0.9039 GB, free: 46.87 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.125e-05/1.29, allocations: 24 kB / 0.9039 GB, free: 46.84 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02445/1.315, allocations: 12.19 MB / 0.9159 GB, free: 34.62 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/1.315, allocations: 108.6 kB / 0.916 GB, free: 34.51 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01875/1.333, allocations: 8.458 MB / 0.9242 GB, free: 25.97 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002585/1.336, allocations: 0.6489 MB / 0.9249 GB, free: 25.33 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009684/1.346, allocations: 2.392 MB / 0.9272 GB, free: 22.94 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/1.357, allocations: 17.54 MB / 0.9443 GB, free: 4.449 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007556/1.365, allocations: 390.1 kB / 0.9447 GB, free: 4.07 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002081/1.367, allocations: 0.5764 MB / 0.9453 GB, free: 3.496 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.003452/1.371, allocations: 0.8947 MB / 0.9461 GB, free: 2.586 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003673/1.374, allocations: 0.866 MB / 0.947 GB, free: 1.715 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.02659/1.401, allocations: 11.06 MB / 0.9578 GB, free: 7.164 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.169624967966229]