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.01313/0.01313, allocations: 1.751 MB / 21.35 MB, free: 356 kB / 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.001674/0.001674, allocations: 104.9 kB / 24.93 MB, free: 2.031 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.001914/0.001914, allocations: 210 kB / 28.65 MB, free: 3.297 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.6/1.6, allocations: 230.6 MB / 262.8 MB, free: 5.832 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.14/1.14, allocations: 130.7 MB / 450.4 MB, free: 6.422 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.06802/0.06802, allocations: 20.98 MB / 0.637 GB, free: 4.211 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.2657, allocations: 81.91 MB / 0.717 GB, free: 2.207 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.6292/0.8949, allocations: 53.31 MB / 0.7691 GB, free: 15.55 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04185/0.9368, allocations: 22.75 MB / 0.7913 GB, free: 15.77 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009138/0.9459, allocations: 126.2 kB / 0.7914 GB, free: 15.71 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009433/0.9553, allocations: 2.521 MB / 0.7939 GB, free: 14.22 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01972/0.9751, allocations: 4.183 MB / 0.798 GB, free: 10.92 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01339/0.9884, allocations: 4.04 MB / 0.8019 GB, free: 7.863 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02396/1.012, allocations: 13.2 MB / 0.8148 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008725/1.021, allocations: 3.912 MB / 0.8186 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01403/1.035, allocations: 5.338 MB / 0.8238 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01255/1.048, allocations: 5.368 MB / 0.8291 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00446/1.052, allocations: 0.8477 MB / 0.8299 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01097/1.063, allocations: 2.653 MB / 0.8325 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006284/1.069, allocations: 2.839 MB / 0.8353 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01175/1.081, allocations: 3.475 MB / 0.8387 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03803/1.119, allocations: 14.03 MB / 0.8524 GB, free: 7.473 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/1.119, allocations: 0 / 0.8524 GB, free: 7.473 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.705e-06/1.119, allocations: 0 / 0.8524 GB, free: 7.473 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005802/1.12, allocations: 2.656 kB / 0.8524 GB, free: 7.473 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.03935/1.159, allocations: 9.011 MB / 0.8612 GB, free: 14.39 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.536e-05/1.159, allocations: 8.031 kB / 0.8612 GB, free: 14.38 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007524/1.167, allocations: 1.079 MB / 0.8622 GB, free: 13.3 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01967/1.186, allocations: 6.53 MB / 0.8686 GB, free: 6.703 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005581/1.187, allocations: 328.9 kB / 0.8689 GB, free: 6.379 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002637/1.19, allocations: 432 kB / 0.8693 GB, free: 5.957 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03899/1.229, allocations: 14.27 MB / 0.8833 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003362/1.229, allocations: 55.44 kB / 0.8833 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00228/1.231, allocations: 220 kB / 0.8835 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007786/1.232, allocations: 446.3 kB / 0.884 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03132/1.263, allocations: 10.65 MB / 0.8944 GB, free: 10.51 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.08151/1.345, allocations: 49.91 MB / 0.9431 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02334/1.368, allocations: 7.867 MB / 0.9508 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007834/1.376, allocations: 3.172 MB / 0.9539 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/1.378, allocations: 340.5 kB / 0.9542 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02023/1.398, allocations: 6.709 MB / 0.9608 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=827): time 1.809e-05/1.398, allocations: 2.688 kB / 0.9608 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=828): time 0.1125/1.51, allocations: 44.82 MB / 1.005 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008775/1.511, allocations: 1.148 MB / 1.006 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01188/1.523, allocations: 6.13 MB / 1.012 GB, free: 15.97 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002065/1.525, allocations: 97.64 kB / 1.012 GB, free: 15.87 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003554/1.529, allocations: 3.076 MB / 1.015 GB, free: 12.77 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.005104/1.534, allocations: 2.842 MB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004052/1.538, allocations: 1.917 MB / 1.019 GB, free: 7.977 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.538, allocations: 305.1 kB / 1.02 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009057/1.547, allocations: 4.542 MB / 1.024 GB, free: 3.109 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01399/1.561, allocations: 7.833 MB / 1.032 GB, free: 9.883 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9562/2.517, allocations: 85.25 MB / 1.115 GB, free: 316 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-05/2.517, allocations: 28 kB / 1.115 GB, free: 316 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02951/2.547, allocations: 13.48 MB / 1.128 GB, free: 302.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/2.547, allocations: 103.4 kB / 1.128 GB, free: 302.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01942/2.566, allocations: 10.19 MB / 1.138 GB, free: 292.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/2.568, allocations: 0.6877 MB / 1.139 GB, free: 291.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009512/2.578, allocations: 2.424 MB / 1.141 GB, free: 289.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/2.59, allocations: 14.44 MB / 1.155 GB, free: 274.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008429/2.598, allocations: 428.3 kB / 1.156 GB, free: 273.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002472/2.601, 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.01316/2.614, allocations: 6.384 MB / 1.163 GB, free: 266.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009915/2.624, allocations: 7.798 MB / 1.17 GB, free: 257.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5351/3.159, allocations: 84.86 MB / 1.253 GB, free: 171.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.951e-05/3.159, allocations: 24.77 kB / 1.253 GB, free: 171.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02557/3.184, allocations: 13.37 MB / 1.266 GB, free: 158.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.08e-05/3.185, allocations: 107.4 kB / 1.266 GB, free: 158.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01523/3.2, allocations: 10.11 MB / 1.276 GB, free: 148.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/3.201, allocations: 0.6916 MB / 1.277 GB, free: 147.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007772/3.209, allocations: 2.41 MB / 1.279 GB, free: 145 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/3.22, allocations: 14.45 MB / 1.293 GB, free: 129.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007274/3.228, allocations: 422.5 kB / 1.294 GB, free: 129.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001811/3.229, allocations: 0.5699 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.002504/3.232, allocations: 0.8181 MB / 1.295 GB, free: 128.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002044/3.234, allocations: 0.7306 MB / 1.296 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.01636/3.25, allocations: 11.13 MB / 1.307 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: 7.500057619065046] Failed to read output from testmodel.py, exit status != 0: 3.424333671107888 3.434251883 2.31230801 Calling exit ...