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.01034/0.01034, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.001228/0.001228, allocations: 99.72 kB / 21.35 MB, free: 1.699 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.001496/0.001496, allocations: 213.8 kB / 24.75 MB, free: 3.719 MB / 14.72 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.469/1.469, allocations: 230.6 MB / 258.5 MB, free: 13.12 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.07/1.07, allocations: 130.6 MB / 445.6 MB, free: 14.64 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4069/0.4069, allocations: 46.15 MB / 0.6545 GB, free: 30.22 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.6197, allocations: 89.06 MB / 0.7414 GB, free: 2.684 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestBottle): time 0.02783/0.6476, allocations: 23.33 MB / 0.7642 GB, free: 11.26 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04349/0.691, allocations: 23.42 MB / 0.7871 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006324/0.6974, allocations: 127.1 kB / 0.7872 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.007795/0.7052, allocations: 2.59 MB / 0.7897 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01393/0.7191, allocations: 4.085 MB / 0.7937 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01155/0.7306, allocations: 3.953 MB / 0.7976 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02238/0.753, allocations: 13.2 MB / 0.8105 GB, free: 11.74 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008257/0.7613, allocations: 3.955 MB / 0.8143 GB, free: 7.719 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01219/0.7735, allocations: 5.315 MB / 0.8195 GB, free: 2.387 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01126/0.7847, allocations: 5.551 MB / 0.825 GB, free: 12.82 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.003895/0.7886, allocations: 0.8477 MB / 0.8258 GB, free: 11.97 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01027/0.7989, allocations: 3.237 MB / 0.8289 GB, free: 8.73 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.006365/0.8053, allocations: 2.839 MB / 0.8317 GB, free: 5.883 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01105/0.8163, allocations: 4.482 MB / 0.8361 GB, free: 1.379 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.02678/0.8431, allocations: 14.08 MB / 0.8498 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.485e-06/0.8431, allocations: 0 / 0.8498 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8431, allocations: 0 / 0.8498 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004909/0.8436, allocations: 0 / 0.8498 GB, free: 3.254 MB / 0.6544 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.02933/0.8729, allocations: 9.091 MB / 0.8587 GB, free: 10.05 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.873, allocations: 8.031 kB / 0.8587 GB, free: 10.04 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003319/0.8763, allocations: 0.7783 MB / 0.8595 GB, free: 9.25 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005897/0.8822, allocations: 1.081 MB / 0.8605 GB, free: 8.16 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01672/0.8989, allocations: 6.697 MB / 0.8671 GB, free: 1.387 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005037/0.8994, allocations: 334.2 kB / 0.8674 GB, free: 1.059 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/0.9017, allocations: 423.9 kB / 0.8678 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4372/1.339, allocations: 12.59 MB / 0.8801 GB, free: 106.6 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/1.339, allocations: 63.91 kB / 0.8802 GB, free: 106.6 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006055/1.34, allocations: 222.5 kB / 0.8804 GB, free: 106.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004129/1.34, allocations: 440.9 kB / 0.8808 GB, free: 106.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02382/1.364, allocations: 10.64 MB / 0.8912 GB, free: 103.1 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.05363/1.418, allocations: 53.97 MB / 0.9439 GB, free: 56.65 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01945/1.437, allocations: 8.064 MB / 0.9518 GB, free: 52.05 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005237/1.442, allocations: 3.123 MB / 0.9548 GB, free: 50.22 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/1.443, allocations: 0.5172 MB / 0.9553 GB, free: 49.91 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.016/1.459, allocations: 6.64 MB / 0.9618 GB, free: 46.05 MB / 0.67 GB Notification: Performance of pre-optimization done (n=827): time 8.736e-06/1.46, allocations: 0 / 0.9618 GB, free: 46.05 MB / 0.67 GB Notification: Performance of matching and sorting (n=828): time 0.07509/1.535, allocations: 45.24 MB / 1.006 GB, free: 3.973 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002325/1.535, allocations: 1.154 MB / 1.007 GB, free: 2.562 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009665/1.544, allocations: 6.181 MB / 1.013 GB, free: 12.39 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001555/1.546, allocations: 89.7 kB / 1.013 GB, free: 12.3 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.003043/1.549, allocations: 3.07 MB / 1.016 GB, free: 9.234 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.004229/1.553, allocations: 2.84 MB / 1.019 GB, free: 6.434 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004148/1.557, allocations: 1.928 MB / 1.021 GB, free: 4.496 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.558, allocations: 301.1 kB / 1.021 GB, free: 4.199 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009156/1.567, allocations: 4.471 MB / 1.026 GB, free: 15.71 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01497/1.582, allocations: 7.297 MB / 1.033 GB, free: 7.273 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6235/2.205, allocations: 85.22 MB / 1.116 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-05/2.205, allocations: 24 kB / 1.116 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.03397/2.239, allocations: 13.42 MB / 1.129 GB, free: 4.207 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001987/2.24, allocations: 108 kB / 1.129 GB, free: 4.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02623/2.266, allocations: 10.11 MB / 1.139 GB, free: 9.91 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002333/2.268, allocations: 0.6813 MB / 1.14 GB, free: 9.223 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0105/2.279, allocations: 2.426 MB / 1.142 GB, free: 6.793 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/2.297, allocations: 15.52 MB / 1.157 GB, free: 6.16 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007423/2.304, allocations: 419.2 kB / 1.158 GB, free: 5.75 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002309/2.307, allocations: 0.5777 MB / 1.158 GB, free: 5.172 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.01444/2.321, allocations: 6.33 MB / 1.164 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01326/2.334, allocations: 7.256 MB / 1.171 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.9506/3.285, allocations: 84.84 MB / 1.254 GB, free: 262.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.832e-05/3.285, allocations: 24 kB / 1.254 GB, free: 262.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02576/3.311, allocations: 13.32 MB / 1.267 GB, free: 250.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.62e-05/3.311, allocations: 111.1 kB / 1.267 GB, free: 250.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01852/3.329, allocations: 10.03 MB / 1.277 GB, free: 240.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/3.331, allocations: 0.6776 MB / 1.278 GB, free: 239.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008995/3.34, allocations: 2.414 MB / 1.28 GB, free: 237.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/3.352, allocations: 15.52 MB / 1.295 GB, free: 220.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007002/3.359, allocations: 418.5 kB / 1.296 GB, free: 220.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001895/3.361, allocations: 0.5777 MB / 1.296 GB, free: 219.7 MB / 0.8575 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.002573/3.363, allocations: 0.8137 MB / 1.297 GB, free: 219.1 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002182/3.366, allocations: 0.7457 MB / 1.298 GB, free: 218.8 MB / 0.8575 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.01819/3.384, allocations: 11.09 MB / 1.309 GB, free: 208.1 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.939252380994731] Failed to read output from testmodel.py, exit status != 0: 3.3920386679965304 3.400991456 2.5552471039999998 Calling exit ...