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.01549/0.01549, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001653/0.001653, allocations: 99.84 kB / 24.18 MB, free: 2.438 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.001486/0.001486, allocations: 213.5 kB / 27.9 MB, free: 3.742 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.458/1.458, allocations: 230.6 MB / 262.1 MB, free: 5.84 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.055/1.055, allocations: 130.7 MB / 449.6 MB, free: 6.43 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.06859/0.06859, allocations: 20.98 MB / 0.6358 GB, free: 4.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.2411, allocations: 81.91 MB / 0.7158 GB, free: 2.746 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.4931/0.7342, allocations: 53.32 MB / 0.7679 GB, free: 15.59 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03183/0.7661, allocations: 22.73 MB / 0.7901 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00614/0.7722, allocations: 126.8 kB / 0.7902 GB, free: 15.76 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.007675/0.7799, allocations: 2.529 MB / 0.7927 GB, free: 14.34 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01332/0.7932, allocations: 4.185 MB / 0.7968 GB, free: 11.04 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01093/0.8041, allocations: 4.038 MB / 0.8007 GB, free: 7.988 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01934/0.8235, allocations: 13.19 MB / 0.8136 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006967/0.8304, allocations: 3.918 MB / 0.8174 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.8414, allocations: 5.326 MB / 0.8226 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/0.8519, allocations: 5.371 MB / 0.8279 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002947/0.8549, allocations: 0.8491 MB / 0.8287 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008173/0.8631, allocations: 2.652 MB / 0.8313 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004427/0.8675, allocations: 2.837 MB / 0.8341 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007288/0.8748, allocations: 3.483 MB / 0.8375 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02173/0.8965, allocations: 14.03 MB / 0.8512 GB, free: 7.836 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.8965, allocations: 0 / 0.8512 GB, free: 7.836 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8965, allocations: 0 / 0.8512 GB, free: 7.836 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004157/0.8969, allocations: 0 / 0.8512 GB, free: 7.836 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.02258/0.9195, allocations: 9.006 MB / 0.8599 GB, free: 14.76 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.9195, allocations: 8.031 kB / 0.86 GB, free: 14.75 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001829/0.9214, allocations: 0.79 MB / 0.8607 GB, free: 13.95 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003625/0.925, allocations: 1.079 MB / 0.8618 GB, free: 12.87 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/0.9398, allocations: 6.532 MB / 0.8682 GB, free: 6.273 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003913/0.9402, allocations: 324.9 kB / 0.8685 GB, free: 5.953 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/0.9417, allocations: 431.8 kB / 0.8689 GB, free: 5.531 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03333/0.975, allocations: 14.28 MB / 0.8828 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001694/0.9752, allocations: 62.09 kB / 0.8829 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007528/0.9759, allocations: 216.8 kB / 0.8831 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005447/0.9765, allocations: 442.4 kB / 0.8835 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02773/1.004, allocations: 10.65 MB / 0.8939 GB, free: 10.09 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.06787/1.072, allocations: 50.63 MB / 0.9434 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02106/1.093, allocations: 7.863 MB / 0.951 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006412/1.1, allocations: 3.178 MB / 0.9541 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/1.101, allocations: 333.7 kB / 0.9545 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01781/1.119, allocations: 6.7 MB / 0.961 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=827): time 1.032e-05/1.119, allocations: 0 / 0.961 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=828): time 0.08816/1.207, allocations: 44.85 MB / 1.005 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006507/1.208, allocations: 1.156 MB / 1.006 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009926/1.217, allocations: 6.324 MB / 1.012 GB, free: 14.61 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001507/1.219, allocations: 89.7 kB / 1.012 GB, free: 14.51 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002876/1.222, allocations: 3.07 MB / 1.015 GB, free: 11.42 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003949/1.226, allocations: 2.842 MB / 1.018 GB, free: 8.555 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003383/1.229, allocations: 1.916 MB / 1.02 GB, free: 6.629 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.229, allocations: 301.1 kB / 1.02 GB, free: 6.332 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007787/1.237, allocations: 4.546 MB / 1.025 GB, free: 1.762 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01095/1.248, allocations: 7.826 MB / 1.032 GB, free: 8.543 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8846/2.133, allocations: 85.26 MB / 1.115 GB, free: 312.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.811e-05/2.133, allocations: 24 kB / 1.115 GB, free: 312.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02787/2.161, allocations: 13.49 MB / 1.129 GB, free: 299.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/2.161, allocations: 107.4 kB / 1.129 GB, free: 299 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01985/2.181, allocations: 10.2 MB / 1.139 GB, free: 288.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001861/2.182, allocations: 0.6746 MB / 1.139 GB, free: 288 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008832/2.191, allocations: 2.426 MB / 1.142 GB, free: 285.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/2.203, allocations: 14.61 MB / 1.156 GB, free: 270.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007662/2.21, allocations: 423.4 kB / 1.156 GB, free: 269.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001401/2.212, allocations: 0.5849 MB / 1.157 GB, free: 269.2 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.009517/2.221, allocations: 6.393 MB / 1.163 GB, free: 262.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007361/2.229, allocations: 7.798 MB / 1.171 GB, free: 253.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5247/2.753, allocations: 84.85 MB / 1.254 GB, free: 167.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.333e-05/2.753, allocations: 28.48 kB / 1.254 GB, free: 167.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02564/2.779, allocations: 13.4 MB / 1.267 GB, free: 154.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.779e-05/2.779, allocations: 107.4 kB / 1.267 GB, free: 154.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0166/2.796, allocations: 10.11 MB / 1.277 GB, free: 144.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/2.797, allocations: 0.6828 MB / 1.277 GB, free: 143.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008359/2.806, allocations: 2.41 MB / 1.28 GB, free: 141.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/2.817, allocations: 14.61 MB / 1.294 GB, free: 125.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007132/2.824, allocations: 422.7 kB / 1.294 GB, free: 125.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002068/2.826, allocations: 0.5745 MB / 1.295 GB, free: 124.7 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.002961/2.829, allocations: 0.8103 MB / 1.296 GB, free: 123.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002364/2.831, allocations: 0.7603 MB / 1.297 GB, free: 123.4 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.01835/2.85, allocations: 11.14 MB / 1.307 GB, free: 112.6 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.933794581796974] Failed to read output from testmodel.py, exit status != 0: 2.987502575851977 3.294516085 2.393901257 Calling exit ...