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.01089/0.01089, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001329/0.001329, allocations: 107.4 kB / 24.19 MB, free: 2.688 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.001635/0.001635, allocations: 206.7 kB / 27.92 MB, free: 4.027 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.586/1.586, allocations: 230.6 MB / 262.1 MB, free: 5.988 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.064/1.064, allocations: 130.7 MB / 449.7 MB, free: 6.566 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: 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.03226/0.03226, allocations: 20.78 MB / 0.6362 GB, free: 4.668 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1913, allocations: 81.9 MB / 0.7162 GB, free: 2.668 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.4831/0.6744, allocations: 56.31 MB / 0.7712 GB, free: 12.78 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03733/0.7118, allocations: 23.72 MB / 0.7944 GB, free: 11.94 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007047/0.7188, allocations: 129.6 kB / 0.7945 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008265/0.7271, allocations: 2.648 MB / 0.7971 GB, free: 10.36 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.015/0.7421, allocations: 4.177 MB / 0.8012 GB, free: 7.055 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01169/0.7538, allocations: 4.056 MB / 0.8051 GB, free: 3.98 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02111/0.7749, allocations: 13.2 MB / 0.818 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007279/0.7821, allocations: 3.682 MB / 0.8216 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01141/0.7936, allocations: 5.315 MB / 0.8268 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01108/0.8046, allocations: 5.569 MB / 0.8322 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00322/0.8079, allocations: 0.8477 MB / 0.8331 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00998/0.8178, allocations: 3.454 MB / 0.8364 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004934/0.8228, allocations: 2.839 MB / 0.8392 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009675/0.8324, allocations: 4.489 MB / 0.8436 GB, free: 264 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02567/0.8581, allocations: 14.14 MB / 0.8574 GB, free: 2.066 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.8581, allocations: 0 / 0.8574 GB, free: 2.066 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8581, allocations: 0 / 0.8574 GB, free: 2.066 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004528/0.8586, allocations: 0.75 kB / 0.8574 GB, free: 2.066 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.02641/0.885, allocations: 9.01 MB / 0.8662 GB, free: 8.984 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.885, allocations: 12.03 kB / 0.8662 GB, free: 8.973 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004651/0.8897, allocations: 1.075 MB / 0.8673 GB, free: 7.895 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.9059, allocations: 6.524 MB / 0.8736 GB, free: 1.305 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004477/0.9063, allocations: 324.9 kB / 0.8739 GB, free: 0.9844 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002053/0.9084, allocations: 436 kB / 0.8744 GB, free: 0.5586 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03112/0.9395, allocations: 12.6 MB / 0.8867 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001418/0.9396, allocations: 61 kB / 0.8867 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007674/0.9404, allocations: 223.9 kB / 0.8869 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005104/0.9409, allocations: 442.4 kB / 0.8874 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02729/0.9682, allocations: 10.63 MB / 0.8977 GB, free: 7.34 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.07426/1.042, allocations: 53.31 MB / 0.9498 GB, free: 500 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02466/1.067, allocations: 7.83 MB / 0.9574 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007063/1.074, allocations: 3.119 MB / 0.9605 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001641/1.076, allocations: 384.2 kB / 0.9609 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01896/1.095, allocations: 6.627 MB / 0.9673 GB, free: 14.25 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=827): time 1.514e-05/1.095, allocations: 6.656 kB / 0.9673 GB, free: 14.25 MB / 0.7482 GB Notification: Performance of matching and sorting (n=828): time 0.101/1.196, allocations: 44.72 MB / 1.011 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006505/1.196, allocations: 1.151 MB / 1.012 GB, free: 15.81 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/1.207, allocations: 6.185 MB / 1.018 GB, free: 9.633 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001694/1.209, allocations: 97.7 kB / 1.018 GB, free: 9.531 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003419/1.212, allocations: 3.058 MB / 1.021 GB, free: 6.449 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.005553/1.218, allocations: 2.849 MB / 1.024 GB, free: 3.578 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005372/1.223, allocations: 1.913 MB / 1.026 GB, free: 1.652 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.224, allocations: 301.1 kB / 1.026 GB, free: 1.355 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008777/1.232, allocations: 4.476 MB / 1.031 GB, free: 12.86 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01343/1.246, allocations: 7.296 MB / 1.038 GB, free: 4.379 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8994/2.145, allocations: 85.22 MB / 1.121 GB, free: 308.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.37e-05/2.145, allocations: 28 kB / 1.121 GB, free: 308.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02708/2.172, allocations: 13.41 MB / 1.134 GB, free: 295.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/2.172, allocations: 103.4 kB / 1.134 GB, free: 295.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01945/2.192, allocations: 10.12 MB / 1.144 GB, free: 285 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/2.194, allocations: 0.6871 MB / 1.145 GB, free: 284.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009623/2.203, allocations: 2.414 MB / 1.147 GB, free: 281.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/2.216, allocations: 14.69 MB / 1.161 GB, free: 266.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007461/2.223, allocations: 426.3 kB / 1.162 GB, free: 266 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002139/2.225, allocations: 0.5816 MB / 1.162 GB, free: 265.4 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.01191/2.237, allocations: 6.323 MB / 1.169 GB, free: 259.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008862/2.246, allocations: 7.252 MB / 1.176 GB, free: 250.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5662/2.812, allocations: 84.83 MB / 1.258 GB, free: 164.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.452e-05/2.812, allocations: 27.94 kB / 1.258 GB, free: 164.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02658/2.839, allocations: 13.31 MB / 1.271 GB, free: 151.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.485e-05/2.839, allocations: 107.4 kB / 1.272 GB, free: 151.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01777/2.857, allocations: 10.03 MB / 1.281 GB, free: 141.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/2.858, allocations: 0.6809 MB / 1.282 GB, free: 140.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009026/2.867, allocations: 2.414 MB / 1.284 GB, free: 138.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/2.879, allocations: 14.69 MB / 1.299 GB, free: 122.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006796/2.886, allocations: 425.3 kB / 1.299 GB, free: 122.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001452/2.887, allocations: 0.5777 MB / 1.3 GB, free: 121.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.002142/2.89, allocations: 0.8078 MB / 1.301 GB, free: 121 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001941/2.892, allocations: 0.7512 MB / 1.301 GB, free: 120.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.01711/2.909, allocations: 11.09 MB / 1.312 GB, free: 109.7 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.190970967989415] Failed to read output from testmodel.py, exit status != 0: 3.0495201908051968 3.378642758 2.516953295 Calling exit ...