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.01052/0.01052, allocations: 1.751 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.001192/0.001192, allocations: 105.9 kB / 24.98 MB, free: 2.16 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.001713/0.001713, allocations: 203.1 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.437/1.437, 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 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.066/1.066, allocations: 130.7 MB / 450.4 MB, free: 6.57 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestBottle,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestBottle",fmuType="cs",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: 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.03162/0.03162, allocations: 20.6 MB / 0.6363 GB, free: 5.352 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.2007, allocations: 81.91 MB / 0.7163 GB, free: 3.344 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.5222/0.7229, allocations: 56.3 MB / 0.7713 GB, free: 12.97 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03576/0.7587, allocations: 23.73 MB / 0.7945 GB, free: 12.13 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006644/0.7653, allocations: 126.4 kB / 0.7946 GB, free: 12.07 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.007834/0.7732, allocations: 2.652 MB / 0.7972 GB, free: 10.62 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01371/0.7869, allocations: 4.175 MB / 0.8013 GB, free: 7.316 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01068/0.7976, allocations: 4.044 MB / 0.8052 GB, free: 4.246 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0207/0.8183, allocations: 13.22 MB / 0.8181 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00715/0.8254, allocations: 3.682 MB / 0.8217 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01194/0.8374, allocations: 5.311 MB / 0.8269 GB, free: 2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01111/0.8485, allocations: 5.568 MB / 0.8323 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003296/0.8518, allocations: 0.8477 MB / 0.8332 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/0.862, allocations: 3.45 MB / 0.8365 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00501/0.867, allocations: 2.839 MB / 0.8393 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009817/0.8768, allocations: 4.486 MB / 0.8437 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02511/0.9019, allocations: 14.15 MB / 0.8575 GB, free: 2.57 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.9019, allocations: 0 / 0.8575 GB, free: 2.57 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9019, allocations: 0 / 0.8575 GB, free: 2.57 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004218/0.9023, allocations: 2.688 kB / 0.8575 GB, free: 2.57 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.02903/0.9314, allocations: 9.012 MB / 0.8663 GB, free: 9.492 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.9314, allocations: 8.031 kB / 0.8663 GB, free: 9.484 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001775/0.9316, allocations: 130.2 kB / 0.8664 GB, free: 9.355 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001975/0.9336, allocations: 0.7822 MB / 0.8672 GB, free: 8.562 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004083/0.9377, allocations: 1.079 MB / 0.8683 GB, free: 7.48 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01604/0.9537, allocations: 6.523 MB / 0.8746 GB, free: 0.8867 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004056/0.9541, allocations: 328.7 kB / 0.8749 GB, free: 0.5625 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001939/0.956, allocations: 431.9 kB / 0.8753 GB, free: 144 kB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03115/0.9872, allocations: 12.6 MB / 0.8876 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001779/0.9874, allocations: 59.44 kB / 0.8877 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/0.9885, allocations: 222.1 kB / 0.8879 GB, free: 2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005444/0.989, allocations: 445 kB / 0.8883 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02841/1.017, allocations: 10.63 MB / 0.8987 GB, free: 6.926 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.07445/1.092, allocations: 53.3 MB / 0.9508 GB, free: 76 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02324/1.115, allocations: 7.841 MB / 0.9584 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008235/1.123, allocations: 3.121 MB / 0.9615 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/1.125, allocations: 378.1 kB / 0.9618 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02017/1.145, allocations: 6.638 MB / 0.9683 GB, free: 13.83 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=827): time 1.538e-05/1.145, allocations: 0 / 0.9683 GB, free: 13.83 MB / 0.7482 GB Notification: Performance of matching and sorting (n=828): time 0.1157/1.261, allocations: 44.72 MB / 1.012 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000712/1.262, allocations: 1.148 MB / 1.013 GB, free: 15.38 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01204/1.274, allocations: 6.183 MB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001673/1.275, allocations: 89.7 kB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003506/1.279, allocations: 3.062 MB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004842/1.284, allocations: 2.846 MB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005798/1.289, allocations: 1.917 MB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.289, allocations: 307.1 kB / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008702/1.298, allocations: 4.473 MB / 1.032 GB, free: 12.44 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01218/1.31, allocations: 7.292 MB / 1.039 GB, free: 3.965 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8724/2.183, allocations: 85.22 MB / 1.122 GB, free: 308 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/2.183, allocations: 31.5 kB / 1.122 GB, free: 308 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.0285/2.211, allocations: 13.41 MB / 1.135 GB, free: 294.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/2.212, allocations: 105.7 kB / 1.135 GB, free: 294.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02317/2.235, allocations: 10.12 MB / 1.145 GB, free: 284.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00193/2.237, allocations: 0.6808 MB / 1.146 GB, free: 283.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009268/2.246, allocations: 2.418 MB / 1.148 GB, free: 281.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/2.258, allocations: 14.69 MB / 1.162 GB, free: 266 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007471/2.265, allocations: 424.5 kB / 1.163 GB, free: 265.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002167/2.268, allocations: 0.5777 MB / 1.163 GB, free: 265 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.01242/2.28, allocations: 6.333 MB / 1.17 GB, free: 258.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009258/2.289, allocations: 7.248 MB / 1.177 GB, free: 250.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5623/2.852, allocations: 84.84 MB / 1.259 GB, free: 164.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-05/2.852, allocations: 27.94 kB / 1.259 GB, free: 164.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.03894/2.891, allocations: 13.31 MB / 1.272 GB, free: 151.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/2.891, allocations: 103.4 kB / 1.273 GB, free: 151 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01889/2.91, allocations: 10.04 MB / 1.282 GB, free: 140.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001735/2.911, allocations: 0.6818 MB / 1.283 GB, free: 140.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008916/2.92, allocations: 2.41 MB / 1.285 GB, free: 137.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/2.932, allocations: 14.7 MB / 1.3 GB, free: 122.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007136/2.939, allocations: 426 kB / 1.3 GB, free: 121.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00195/2.941, allocations: 0.5739 MB / 1.301 GB, free: 121.3 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.002761/2.944, allocations: 0.8097 MB / 1.302 GB, free: 120.6 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002295/2.946, allocations: 0.759 MB / 1.302 GB, free: 120 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.01905/2.965, allocations: 11.09 MB / 1.313 GB, free: 109.3 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.99336260498967] Failed to read output from testmodel.py, exit status != 0: 3.1064551430754364 3.409106511 2.503685483 Calling exit ...