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.01231/0.01231, allocations: 1.757 MB / 20.61 MB, free: 0.8711 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.001427/0.001427, allocations: 106.8 kB / 24.18 MB, free: 2.172 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.001746/0.001746, allocations: 212.3 kB / 27.9 MB, free: 3.5 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.392/1.392, allocations: 230.6 MB / 262.1 MB, free: 5.824 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.021/1.021, allocations: 130.7 MB / 449.7 MB, free: 6.391 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.06457/0.06457, allocations: 20.98 MB / 0.6363 GB, free: 4.219 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.2192, allocations: 81.91 MB / 0.7163 GB, free: 2.199 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.4471/0.6663, allocations: 53.31 MB / 0.7684 GB, free: 15.55 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03397/0.7003, allocations: 22.74 MB / 0.7906 GB, free: 15.77 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007051/0.7073, allocations: 126.8 kB / 0.7907 GB, free: 15.71 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.007899/0.7152, allocations: 2.52 MB / 0.7932 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01409/0.7293, allocations: 4.177 MB / 0.7973 GB, free: 10.95 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01203/0.7413, allocations: 4.041 MB / 0.8012 GB, free: 7.891 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02072/0.7621, allocations: 13.2 MB / 0.8141 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008032/0.7701, allocations: 3.916 MB / 0.8179 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01136/0.7814, allocations: 5.334 MB / 0.8231 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01046/0.7919, allocations: 5.367 MB / 0.8284 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003328/0.7952, allocations: 0.8477 MB / 0.8292 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008768/0.804, allocations: 2.653 MB / 0.8318 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005034/0.809, allocations: 2.839 MB / 0.8346 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008693/0.8177, allocations: 3.475 MB / 0.838 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02298/0.8407, allocations: 14.03 MB / 0.8517 GB, free: 7.461 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8407, allocations: 0 / 0.8517 GB, free: 7.461 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8407, allocations: 1.5 kB / 0.8517 GB, free: 7.461 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004248/0.8411, allocations: 2.625 kB / 0.8517 GB, free: 7.461 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.02442/0.8656, allocations: 9.007 MB / 0.8605 GB, free: 14.38 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8656, allocations: 10.66 kB / 0.8605 GB, free: 14.38 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004474/0.8701, allocations: 1.079 MB / 0.8615 GB, free: 13.29 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01525/0.8853, allocations: 6.53 MB / 0.8679 GB, free: 6.695 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/0.8857, allocations: 335.5 kB / 0.8682 GB, free: 6.367 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001696/0.8874, allocations: 428 kB / 0.8686 GB, free: 5.949 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03065/0.918, allocations: 14.28 MB / 0.8826 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002148/0.9183, allocations: 55.5 kB / 0.8826 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001515/0.9198, allocations: 220 kB / 0.8828 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006715/0.9204, allocations: 446.3 kB / 0.8833 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02719/0.9476, allocations: 10.64 MB / 0.8936 GB, free: 10.5 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.06812/1.016, allocations: 49.93 MB / 0.9424 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02115/1.037, allocations: 7.875 MB / 0.9501 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006406/1.043, allocations: 3.174 MB / 0.9532 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/1.045, allocations: 333.8 kB / 0.9535 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01732/1.062, allocations: 6.703 MB / 0.9601 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=827): time 1.328e-05/1.062, allocations: 3.938 kB / 0.9601 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=828): time 0.09308/1.155, allocations: 44.83 MB / 1.004 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006113/1.156, allocations: 1.148 MB / 1.005 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009275/1.165, allocations: 6.12 MB / 1.011 GB, free: 15.96 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001398/1.166, allocations: 97.69 kB / 1.011 GB, free: 15.86 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002795/1.169, allocations: 3.084 MB / 1.014 GB, free: 12.76 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004064/1.173, allocations: 2.842 MB / 1.017 GB, free: 9.891 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003376/1.177, allocations: 1.913 MB / 1.019 GB, free: 7.965 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.177, allocations: 307.8 kB / 1.019 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007701/1.184, allocations: 4.539 MB / 1.023 GB, free: 3.098 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/1.196, allocations: 7.833 MB / 1.031 GB, free: 9.867 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8583/2.054, allocations: 85.25 MB / 1.114 GB, free: 316 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-05/2.054, allocations: 24 kB / 1.114 GB, free: 316 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02235/2.076, allocations: 13.48 MB / 1.127 GB, free: 302.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.733e-05/2.077, allocations: 112.9 kB / 1.128 GB, free: 302.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01583/2.092, allocations: 10.19 MB / 1.138 GB, free: 292.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/2.094, allocations: 0.6851 MB / 1.138 GB, free: 291.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008326/2.102, allocations: 2.422 MB / 1.141 GB, free: 289.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/2.114, allocations: 14.43 MB / 1.155 GB, free: 274.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007819/2.121, allocations: 430.9 kB / 1.155 GB, free: 273.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00191/2.123, allocations: 0.5816 MB / 1.156 GB, free: 273.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.01103/2.134, allocations: 6.397 MB / 1.162 GB, free: 266.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008181/2.142, allocations: 7.791 MB / 1.17 GB, free: 257.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5308/2.673, allocations: 84.86 MB / 1.252 GB, free: 171.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.294e-05/2.673, allocations: 27.28 kB / 1.252 GB, free: 171.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02536/2.699, allocations: 13.36 MB / 1.265 GB, free: 158.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/2.699, allocations: 111.6 kB / 1.266 GB, free: 158.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01725/2.716, allocations: 10.11 MB / 1.275 GB, free: 148.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001767/2.718, allocations: 0.679 MB / 1.276 GB, free: 147.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008358/2.726, allocations: 2.418 MB / 1.278 GB, free: 145.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/2.737, allocations: 14.45 MB / 1.293 GB, free: 129.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007721/2.745, allocations: 420.1 kB / 1.293 GB, free: 129.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002009/2.747, allocations: 0.5777 MB / 1.294 GB, free: 128.9 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.003484/2.751, allocations: 0.81 MB / 1.294 GB, free: 128.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002839/2.753, allocations: 0.7388 MB / 1.295 GB, free: 127.7 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.01896/2.772, allocations: 11.12 MB / 1.306 GB, free: 116.9 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.459997475147247] Failed to read output from testmodel.py, exit status != 0: 2.926779868081212 2.937149484 2.0939915 Calling exit ...