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.008546/0.008546, allocations: 1.795 MB / 21.89 MB, free: 2.637 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.000869/0.000869, allocations: 89.53 kB / 25.62 MB, free: 6.473 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.0009642/0.0009642, allocations: 170 kB / 29.46 MB, free: 2.996 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.9638/0.9638, allocations: 177.2 MB / 210.3 MB, free: 3.578 MB / 186.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.6243/0.6243, allocations: 102.4 MB / 369.8 MB, free: 15.89 MB / 346.7 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.[0-9,]+.|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.[0-9,]+.",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.[0-9,]+.|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.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 469.8 MB, free: 19.04 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.856e-05, allocations: 4.156 kB / 469.8 MB, free: 19.04 MB / 410.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.167/0.1671, allocations: 72.26 MB / 0.5294 GB, free: 0 / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.03446/0.2015, allocations: 23.28 MB / 0.5521 GB, free: 8.652 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005041/0.2066, allocations: 127.1 kB / 0.5523 GB, free: 8.527 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006519/0.2131, allocations: 2.546 MB / 0.5547 GB, free: 5.969 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.2236, allocations: 4.292 MB / 0.5589 GB, free: 1.652 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008497/0.2321, allocations: 4.096 MB / 0.5629 GB, free: 13.55 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01729/0.2494, allocations: 13.51 MB / 0.5761 GB, free: 15.99 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007689/0.2571, allocations: 4.163 MB / 0.5802 GB, free: 11.76 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01643/0.2735, allocations: 7.215 MB / 0.5872 GB, free: 4.527 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008384/0.2819, allocations: 4.836 MB / 0.592 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002795/0.2847, allocations: 0.8477 MB / 0.5928 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006687/0.2914, allocations: 2.682 MB / 0.5954 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00403/0.2954, allocations: 2.94 MB / 0.5983 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.006815/0.3023, allocations: 2.868 MB / 0.6011 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01749/0.3197, allocations: 9.083 MB / 0.61 GB, free: 13.21 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3198, allocations: 0 / 0.61 GB, free: 13.21 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3198, allocations: 0 / 0.61 GB, free: 13.21 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0004429/0.3202, allocations: 0 / 0.61 GB, free: 13.21 MB / 0.5262 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.02376/0.344, allocations: 9.377 MB / 0.6191 GB, free: 3.727 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.344, allocations: 8.031 kB / 0.6191 GB, free: 3.719 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003605/0.3476, allocations: 1.424 MB / 0.6205 GB, free: 2.289 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.3587, allocations: 6.047 MB / 0.6264 GB, free: 12.14 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.359, allocations: 328.9 kB / 0.6267 GB, free: 11.82 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001361/0.3603, allocations: 448.3 kB / 0.6272 GB, free: 11.38 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/0.3803, allocations: 11.71 MB / 0.6386 GB, free: 13.37 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002004/0.3805, allocations: 71.31 kB / 0.6387 GB, free: 13.3 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001264/0.3817, allocations: 220 kB / 0.6389 GB, free: 13.08 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003632/0.3821, allocations: 438.4 kB / 0.6393 GB, free: 12.65 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.3971, allocations: 5.624 MB / 0.6448 GB, free: 6.996 MB / 0.5574 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.2556/0.6527, allocations: 63.21 MB / 0.7065 GB, free: 92.84 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.6641, allocations: 5.15 MB / 0.7115 GB, free: 91.44 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003245/0.6674, allocations: 1.513 MB / 0.713 GB, free: 90.93 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008403/0.6682, allocations: 352.4 kB / 0.7134 GB, free: 90.89 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01077/0.679, allocations: 4.534 MB / 0.7178 GB, free: 89.71 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=827): time 1.229e-05/0.679, allocations: 0 / 0.7178 GB, free: 89.71 MB / 0.5574 GB Notification: Performance of matching and sorting (n=828): time 0.05307/0.7321, allocations: 34.58 MB / 0.7515 GB, free: 70.23 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/0.7322, allocations: 1.155 MB / 0.7527 GB, free: 68.87 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006074/0.7383, allocations: 5.489 MB / 0.758 GB, free: 65.86 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/0.7394, allocations: 93.23 kB / 0.7581 GB, free: 65.78 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001666/0.741, allocations: 3.297 MB / 0.7613 GB, free: 62.95 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002414/0.7435, allocations: 2.906 MB / 0.7642 GB, free: 60.45 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002476/0.7459, allocations: 2.041 MB / 0.7662 GB, free: 59.27 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.746, allocations: 480.7 kB / 0.7666 GB, free: 58.8 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/0.7491, allocations: 1.782 MB / 0.7684 GB, free: 58.06 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004599/0.7537, allocations: 6.33 MB / 0.7746 GB, free: 49.91 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/0.7652, allocations: 9.898 MB / 0.7842 GB, free: 38.41 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-05/0.7653, allocations: 24 kB / 0.7842 GB, free: 38.39 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01448/0.7798, allocations: 8.225 MB / 0.7923 GB, free: 30.14 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/0.7799, allocations: 107.4 kB / 0.7924 GB, free: 30.02 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009121/0.789, allocations: 5.153 MB / 0.7974 GB, free: 24.79 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.7905, allocations: 0.5742 MB / 0.798 GB, free: 24.23 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005415/0.7959, allocations: 2.4 MB / 0.8003 GB, free: 21.83 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006212/0.8021, allocations: 16.61 MB / 0.8165 GB, free: 4.273 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004923/0.807, allocations: 393.9 kB / 0.8169 GB, free: 3.891 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001389/0.8084, allocations: 0.5777 MB / 0.8175 GB, free: 3.312 MB / 0.5574 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.005323/0.8137, allocations: 1.98 MB / 0.8194 GB, free: 1.312 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006114/0.8199, allocations: 6.31 MB / 0.8256 GB, free: 9.148 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01483/0.8347, allocations: 9.819 MB / 0.8352 GB, free: 13.71 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.988e-05/0.8348, allocations: 29.39 kB / 0.8352 GB, free: 13.69 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.0184/0.8532, allocations: 8.14 MB / 0.8431 GB, free: 5.523 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.8533, allocations: 108 kB / 0.8432 GB, free: 5.406 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01168/0.8649, allocations: 5.099 MB / 0.8482 GB, free: 236 kB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.8665, allocations: 0.5768 MB / 0.8488 GB, free: 15.66 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006461/0.873, allocations: 2.392 MB / 0.8511 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009679/0.8826, allocations: 16.59 MB / 0.8673 GB, free: 11.73 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005077/0.8877, allocations: 390.1 kB / 0.8677 GB, free: 11.35 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001686/0.8894, allocations: 0.5738 MB / 0.8682 GB, free: 10.77 MB / 0.6199 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.00272/0.8921, allocations: 0.8922 MB / 0.8691 GB, free: 9.867 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002317/0.8944, allocations: 0.862 MB / 0.87 GB, free: 9 MB / 0.6199 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.2127/1.107, allocations: 9.526 MB / 0.8793 GB, free: 186.4 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8260722251143306]