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.01023/0.01023, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001277/0.001277, allocations: 107.8 kB / 24.19 MB, free: 2.652 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.00158/0.00158, allocations: 210.4 kB / 27.92 MB, free: 4 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.456/1.456, allocations: 230.6 MB / 262.1 MB, free: 6.227 MB / 206.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 1.058/1.058, allocations: 130.7 MB / 449.7 MB, free: 6.582 MB / 350.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: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestBottle,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestBottle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestBottle,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestBottle",fmuType="me",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: 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.03513/0.03513, allocations: 20.78 MB / 0.6357 GB, free: 5.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.2139, allocations: 81.91 MB / 0.7157 GB, free: 3.273 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.5476/0.7615, allocations: 56.3 MB / 0.7707 GB, free: 12.92 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03857/0.8001, allocations: 23.73 MB / 0.7939 GB, free: 12.08 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007742/0.8078, allocations: 129.8 kB / 0.794 GB, free: 12.02 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008737/0.8165, allocations: 2.644 MB / 0.7966 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01865/0.8352, allocations: 4.185 MB / 0.8007 GB, free: 7.258 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01227/0.8475, allocations: 4.044 MB / 0.8046 GB, free: 4.191 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02228/0.8697, allocations: 13.21 MB / 0.8175 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007399/0.8771, allocations: 3.678 MB / 0.8211 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0119/0.889, allocations: 5.311 MB / 0.8263 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01156/0.9006, allocations: 5.57 MB / 0.8317 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00396/0.9046, allocations: 0.8477 MB / 0.8326 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01085/0.9154, allocations: 3.451 MB / 0.8359 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005321/0.9207, allocations: 2.839 MB / 0.8387 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01019/0.9309, allocations: 4.486 MB / 0.8431 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02596/0.9569, allocations: 14.14 MB / 0.8569 GB, free: 2.488 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.9569, allocations: 1.5 kB / 0.8569 GB, free: 2.488 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9569, allocations: 0 / 0.8569 GB, free: 2.488 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004779/0.9574, allocations: 2.656 kB / 0.8569 GB, free: 2.488 MB / 0.6232 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.02577/0.9832, allocations: 9.011 MB / 0.8657 GB, free: 9.406 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.9832, allocations: 8.031 kB / 0.8657 GB, free: 9.398 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00268/0.9859, allocations: 0.79 MB / 0.8665 GB, free: 8.598 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004981/0.9909, allocations: 1.075 MB / 0.8675 GB, free: 7.52 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01606/1.007, allocations: 6.529 MB / 0.8739 GB, free: 0.9219 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003824/1.007, allocations: 326.5 kB / 0.8742 GB, free: 0.6016 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001859/1.009, allocations: 431.8 kB / 0.8746 GB, free: 184 kB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02959/1.039, allocations: 12.6 MB / 0.8869 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/1.039, allocations: 59.44 kB / 0.887 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007991/1.04, allocations: 218.6 kB / 0.8872 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005142/1.04, allocations: 442.4 kB / 0.8876 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02742/1.068, allocations: 10.64 MB / 0.898 GB, free: 6.961 MB / 0.67 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.07762/1.145, allocations: 53.3 MB / 0.9501 GB, free: 116 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02159/1.167, allocations: 7.836 MB / 0.9577 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006833/1.174, allocations: 3.116 MB / 0.9608 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/1.175, allocations: 376.2 kB / 0.9611 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01867/1.194, allocations: 6.638 MB / 0.9676 GB, free: 13.88 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=827): time 9.929e-06/1.194, allocations: 3.469 kB / 0.9676 GB, free: 13.88 MB / 0.7482 GB Notification: Performance of matching and sorting (n=828): time 0.09453/1.288, allocations: 44.72 MB / 1.011 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006988/1.289, allocations: 1.148 MB / 1.012 GB, free: 15.43 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0117/1.301, allocations: 6.187 MB / 1.018 GB, free: 9.254 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001703/1.303, allocations: 97.69 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003583/1.306, allocations: 3.058 MB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004327/1.31, allocations: 2.846 MB / 1.024 GB, free: 3.199 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004944/1.315, allocations: 1.921 MB / 1.026 GB, free: 1.266 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.315, allocations: 303.8 kB / 1.026 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008421/1.324, allocations: 4.48 MB / 1.031 GB, free: 12.47 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01249/1.336, allocations: 7.284 MB / 1.038 GB, free: 4.004 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8637/2.2, allocations: 85.23 MB / 1.121 GB, free: 308 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.258e-05/2.2, allocations: 24 kB / 1.121 GB, free: 308 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02446/2.225, allocations: 13.41 MB / 1.134 GB, free: 294.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.243e-05/2.225, allocations: 107.4 kB / 1.134 GB, free: 294.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01786/2.243, allocations: 10.12 MB / 1.144 GB, free: 284.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/2.244, allocations: 0.6924 MB / 1.145 GB, free: 283.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008998/2.253, allocations: 2.414 MB / 1.147 GB, free: 281.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/2.265, allocations: 14.68 MB / 1.162 GB, free: 266 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007579/2.272, allocations: 426 kB / 1.162 GB, free: 265.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002083/2.275, allocations: 0.5855 MB / 1.163 GB, free: 265 MB / 0.8263 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.01122/2.286, allocations: 6.325 MB / 1.169 GB, free: 258.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008766/2.295, allocations: 7.248 MB / 1.176 GB, free: 250.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.551/2.846, allocations: 84.84 MB / 1.259 GB, free: 164.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.91e-05/2.846, allocations: 27.94 kB / 1.259 GB, free: 164.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02421/2.87, allocations: 13.3 MB / 1.272 GB, free: 151.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.96e-05/2.87, allocations: 109.4 kB / 1.272 GB, free: 151 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01774/2.888, allocations: 10.03 MB / 1.282 GB, free: 140.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/2.889, allocations: 0.6883 MB / 1.282 GB, free: 140.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008875/2.898, allocations: 2.406 MB / 1.285 GB, free: 137.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/2.91, allocations: 14.69 MB / 1.299 GB, free: 122.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007171/2.917, allocations: 430 kB / 1.299 GB, free: 121.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/2.919, allocations: 0.5765 MB / 1.3 GB, free: 121.3 MB / 0.8263 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.003052/2.922, allocations: 0.8103 MB / 1.301 GB, free: 120.6 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002855/2.925, allocations: 0.7551 MB / 1.302 GB, free: 120 MB / 0.8263 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.02006/2.945, allocations: 11.08 MB / 1.312 GB, free: 109.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.115201060001709] Failed to read output from testmodel.py, exit status != 0: 3.096011076002469 3.4020500670000002 2.441727593 Calling exit ...