Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01213/0.01213, allocations: 1.749 MB / 21.38 MB, free: 0.5625 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.001232/0.001232, allocations: 109 kB / 24.98 MB, free: 2.156 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.001623/0.001623, allocations: 204 kB / 28.71 MB, free: 3.441 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.396/1.396, allocations: 230.6 MB / 262.9 MB, free: 6.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.033/1.033, allocations: 130.7 MB / 450.4 MB, free: 6.574 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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_dev_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_dev_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.03025/0.03025, allocations: 20.61 MB / 0.6368 GB, free: 4.82 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.2008, allocations: 81.9 MB / 0.7168 GB, free: 2.832 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.4873/0.688, allocations: 56.3 MB / 0.7718 GB, free: 12.82 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03423/0.7222, allocations: 23.74 MB / 0.7949 GB, free: 11.97 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006397/0.7286, allocations: 126.7 kB / 0.7951 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.007468/0.7361, allocations: 2.646 MB / 0.7976 GB, free: 10.42 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.7492, allocations: 4.177 MB / 0.8017 GB, free: 7.109 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01083/0.76, allocations: 4.048 MB / 0.8057 GB, free: 4.031 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02421/0.7842, allocations: 13.2 MB / 0.8186 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00844/0.7926, allocations: 3.686 MB / 0.8222 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01222/0.8049, allocations: 5.311 MB / 0.8274 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/0.816, allocations: 5.574 MB / 0.8328 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003392/0.8194, allocations: 0.8438 MB / 0.8336 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.8297, allocations: 3.445 MB / 0.837 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005438/0.8352, allocations: 2.854 MB / 0.8398 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0103/0.8455, allocations: 4.478 MB / 0.8441 GB, free: 408 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02767/0.8731, allocations: 14.15 MB / 0.858 GB, free: 2.203 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.8731, allocations: 3.938 kB / 0.858 GB, free: 2.199 MB / 0.6232 GB Notification: Performance of FrontEnd: time 3.055e-06/0.8731, allocations: 0 / 0.858 GB, free: 2.199 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005936/0.8737, allocations: 0 / 0.858 GB, free: 2.199 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.03129/0.905, allocations: 9.003 MB / 0.8668 GB, free: 9.125 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.9051, allocations: 12.03 kB / 0.8668 GB, free: 9.113 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005049/0.9101, allocations: 1.081 MB / 0.8678 GB, free: 8.031 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/0.9255, allocations: 6.528 MB / 0.8742 GB, free: 1.438 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004655/0.9259, allocations: 324.9 kB / 0.8745 GB, free: 1.117 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001979/0.9279, allocations: 432 kB / 0.8749 GB, free: 0.6953 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03239/0.9603, allocations: 12.6 MB / 0.8872 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001606/0.9604, allocations: 59.44 kB / 0.8873 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007506/0.9612, allocations: 223.9 kB / 0.8875 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005368/0.9617, allocations: 437 kB / 0.8879 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02866/0.9904, allocations: 10.65 MB / 0.8983 GB, free: 7.473 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.08168/1.072, allocations: 53.3 MB / 0.9504 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02348/1.096, allocations: 7.838 MB / 0.958 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007893/1.103, allocations: 3.11 MB / 0.9611 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/1.105, allocations: 376.3 kB / 0.9614 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02036/1.126, allocations: 6.645 MB / 0.9679 GB, free: 14.39 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=827): time 1.661e-05/1.126, allocations: 0 / 0.9679 GB, free: 14.39 MB / 0.7482 GB Notification: Performance of matching and sorting (n=828): time 0.1045/1.23, allocations: 44.71 MB / 1.012 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007705/1.231, allocations: 1.155 MB / 1.013 GB, free: 15.94 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/1.242, allocations: 6.181 MB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.00165/1.243, allocations: 93.7 kB / 1.019 GB, free: 9.672 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003147/1.247, allocations: 3.062 MB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004461/1.251, allocations: 2.846 MB / 1.025 GB, free: 3.715 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004804/1.256, allocations: 1.916 MB / 1.026 GB, free: 1.789 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.256, allocations: 305.1 kB / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008729/1.265, allocations: 4.473 MB / 1.031 GB, free: 13 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01288/1.278, allocations: 7.297 MB / 1.038 GB, free: 4.52 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8533/2.131, allocations: 85.22 MB / 1.121 GB, free: 308.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.316e-05/2.131, allocations: 24 kB / 1.121 GB, free: 308.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02746/2.158, allocations: 13.41 MB / 1.135 GB, free: 295.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/2.159, allocations: 107.4 kB / 1.135 GB, free: 295.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02093/2.18, allocations: 10.12 MB / 1.145 GB, free: 285.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/2.181, allocations: 0.682 MB / 1.145 GB, free: 284.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009098/2.19, allocations: 2.429 MB / 1.148 GB, free: 282 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/2.202, allocations: 14.68 MB / 1.162 GB, free: 266.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007008/2.209, allocations: 428.6 kB / 1.162 GB, free: 266.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002161/2.211, allocations: 0.5816 MB / 1.163 GB, free: 265.6 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.01196/2.223, allocations: 6.329 MB / 1.169 GB, free: 259.2 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008918/2.232, allocations: 7.251 MB / 1.176 GB, free: 250.7 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5502/2.782, allocations: 84.83 MB / 1.259 GB, free: 164.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.198e-05/2.782, allocations: 30.98 kB / 1.259 GB, free: 164.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.03067/2.813, allocations: 13.31 MB / 1.272 GB, free: 151.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/2.813, allocations: 100.5 kB / 1.272 GB, free: 151.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02193/2.835, allocations: 10.04 MB / 1.282 GB, free: 141.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/2.837, allocations: 0.6917 MB / 1.283 GB, free: 140.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009555/2.847, allocations: 2.402 MB / 1.285 GB, free: 138.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/2.859, allocations: 14.7 MB / 1.299 GB, free: 122.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007655/2.867, allocations: 425.6 kB / 1.3 GB, free: 122.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002126/2.869, allocations: 0.5739 MB / 1.3 GB, free: 121.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.003931/2.873, allocations: 0.8052 MB / 1.301 GB, free: 121.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003382/2.877, allocations: 0.7512 MB / 1.302 GB, free: 120.6 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.0213/2.898, allocations: 11.1 MB / 1.313 GB, free: 109.8 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.978872962063178] Failed to read output from testmodel.py, exit status != 0: 3.0564048449741676 3.474008496 2.59729747 Calling exit ...