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.01537/0.01537, allocations: 1.345 MB / 21.03 MB, free: 0.6055 MB / 14.72 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.001301/0.001301, allocations: 89.16 kB / 24.58 MB, free: 1.879 MB / 14.72 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.001487/0.001487, allocations: 164.4 kB / 28.25 MB, free: 3.145 MB / 19.63 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.406/1.406, allocations: 177.2 MB / 209 MB, free: 7.621 MB / 190.1 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 0.9765/0.9765, allocations: 102.5 MB / 368.4 MB, free: 4.152 MB / 334.1 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 0.3.1 (/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: 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: 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06915/0.06915, allocations: 20.96 MB / 0.5569 GB, free: 4.941 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.2124, allocations: 81.88 MB / 0.6369 GB, free: 2.918 MB / 0.5294 GB 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.1459/0.3583, allocations: 45.9 MB / 0.6817 GB, free: 5.023 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3075/0.6659, allocations: 22.72 MB / 0.7039 GB, free: 15.02 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004038/0.6699, allocations: 126.1 kB / 0.704 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.006343/0.6762, allocations: 2.523 MB / 0.7065 GB, free: 13.9 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.6867, allocations: 4.184 MB / 0.7105 GB, free: 12.01 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.008868/0.6956, allocations: 4.043 MB / 0.7145 GB, free: 9.879 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0153/0.7109, allocations: 13.2 MB / 0.7274 GB, free: 2.832 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006704/0.7176, allocations: 3.919 MB / 0.7312 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0111/0.7287, allocations: 5.332 MB / 0.7364 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01081/0.7395, allocations: 5.371 MB / 0.7417 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002706/0.7422, allocations: 0.8495 MB / 0.7425 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008568/0.7508, allocations: 2.646 MB / 0.7451 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005102/0.7559, allocations: 2.847 MB / 0.7478 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01057/0.7664, allocations: 3.479 MB / 0.7512 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02345/0.7899, allocations: 14.02 MB / 0.7649 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.7899, allocations: 0 / 0.7649 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7899, allocations: 7.938 kB / 0.7649 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004006/0.7903, allocations: 0 / 0.7649 GB, free: 6.777 MB / 0.6075 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.02517/0.8155, allocations: 9.004 MB / 0.7737 GB, free: 13.7 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.8155, allocations: 10.69 kB / 0.7737 GB, free: 13.7 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004693/0.8202, allocations: 1.079 MB / 0.7748 GB, free: 12.61 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/0.8355, allocations: 6.527 MB / 0.7812 GB, free: 6.016 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/0.8359, allocations: 324.9 kB / 0.7815 GB, free: 5.691 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/0.8376, allocations: 434.1 kB / 0.7819 GB, free: 5.273 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03164/0.8693, allocations: 14.27 MB / 0.7958 GB, free: 5.199 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000239/0.8695, allocations: 59.44 kB / 0.7959 GB, free: 5.141 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001475/0.871, allocations: 224 kB / 0.7961 GB, free: 4.922 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006688/0.8716, allocations: 442.4 kB / 0.7965 GB, free: 4.488 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02797/0.8996, allocations: 10.65 MB / 0.8069 GB, free: 9.816 MB / 0.6544 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.06671/0.9663, allocations: 49.92 MB / 0.8557 GB, free: 6.414 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02195/0.9883, allocations: 7.875 MB / 0.8634 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006549/0.9948, allocations: 3.182 MB / 0.8665 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/0.9963, allocations: 332.4 kB / 0.8668 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02025/1.017, allocations: 6.704 MB / 0.8733 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=827): time 1.998e-05/1.017, allocations: 0 / 0.8733 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=828): time 0.09718/1.114, allocations: 44.83 MB / 0.9171 GB, free: 6.824 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006613/1.114, allocations: 1.155 MB / 0.9183 GB, free: 5.406 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009624/1.124, allocations: 6.128 MB / 0.9242 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001261/1.125, allocations: 89.7 kB / 0.9243 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00282/1.128, allocations: 3.084 MB / 0.9273 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.003704/1.132, allocations: 2.846 MB / 0.9301 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003332/1.135, allocations: 1.921 MB / 0.932 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.135, allocations: 304.1 kB / 0.9323 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00796/1.143, allocations: 4.538 MB / 0.9367 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0112/1.154, allocations: 7.835 MB / 0.9444 GB, free: 9.195 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8773/2.032, allocations: 85.25 MB / 1.028 GB, free: 355.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.234e-05/2.032, allocations: 23.38 kB / 1.028 GB, free: 355.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.03087/2.063, allocations: 13.48 MB / 1.041 GB, free: 348 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/2.063, allocations: 103.4 kB / 1.041 GB, free: 347.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02149/2.084, allocations: 10.2 MB / 1.051 GB, free: 337.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002022/2.086, allocations: 0.6843 MB / 1.052 GB, free: 336.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009303/2.096, allocations: 2.426 MB / 1.054 GB, free: 334.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/2.108, allocations: 14.43 MB / 1.068 GB, free: 319.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00697/2.115, allocations: 433.1 kB / 1.068 GB, free: 318.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001995/2.117, allocations: 0.5816 MB / 1.069 GB, free: 318.4 MB / 0.8419 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.01197/2.129, allocations: 6.385 MB / 1.075 GB, free: 311.9 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009376/2.138, allocations: 7.798 MB / 1.083 GB, free: 302.8 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5892/2.727, allocations: 84.87 MB / 1.166 GB, free: 216.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001265/2.727, allocations: 28 kB / 1.166 GB, free: 216.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02834/2.756, allocations: 13.36 MB / 1.179 GB, free: 203.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-05/2.756, allocations: 103.4 kB / 1.179 GB, free: 203.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01825/2.774, allocations: 10.11 MB / 1.189 GB, free: 193.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/2.776, allocations: 0.6903 MB / 1.189 GB, free: 192.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009038/2.785, allocations: 2.41 MB / 1.192 GB, free: 190.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/2.797, allocations: 14.45 MB / 1.206 GB, free: 175 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007072/2.804, allocations: 420.9 kB / 1.206 GB, free: 174.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/2.806, allocations: 0.5769 MB / 1.207 GB, free: 174.1 MB / 0.8419 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.002294/2.808, allocations: 0.8079 MB / 1.208 GB, free: 173.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001941/2.81, allocations: 0.7367 MB / 1.208 GB, free: 172.8 MB / 0.8419 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.01647/2.826, allocations: 11.13 MB / 1.219 GB, free: 162 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.366948748007417] Failed to read output from testmodel.py, exit status != 0: 2.959276687935926 2.969380568 2.17700788 Calling exit ...