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.01042/0.01042, allocations: 1.757 MB / 20.59 MB, free: 1.277 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.0013/0.0013, allocations: 107.3 kB / 24.19 MB, free: 2.656 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.001582/0.001582, allocations: 205.3 kB / 27.91 MB, free: 4.008 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.501/1.501, allocations: 230.6 MB / 262.1 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.089/1.089, allocations: 130.7 MB / 449.7 MB, free: 6.551 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: 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.0327/0.0327, allocations: 20.78 MB / 0.6357 GB, free: 5.176 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.2168, allocations: 81.91 MB / 0.7157 GB, free: 3.172 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.5028/0.7196, allocations: 56.3 MB / 0.7707 GB, free: 12.88 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03747/0.757, allocations: 23.73 MB / 0.7939 GB, free: 12.04 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006903/0.7639, allocations: 129.3 kB / 0.794 GB, free: 11.98 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008252/0.7722, allocations: 2.646 MB / 0.7966 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01518/0.7874, allocations: 4.177 MB / 0.8007 GB, free: 7.211 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01272/0.8001, allocations: 4.045 MB / 0.8046 GB, free: 4.137 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02357/0.8237, allocations: 13.2 MB / 0.8175 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007842/0.8315, allocations: 3.682 MB / 0.8211 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01164/0.8432, allocations: 5.311 MB / 0.8263 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/0.8542, allocations: 5.575 MB / 0.8317 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00322/0.8574, allocations: 0.8477 MB / 0.8326 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/0.8676, allocations: 3.457 MB / 0.8359 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005017/0.8726, allocations: 2.835 MB / 0.8387 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009676/0.8823, allocations: 4.493 MB / 0.8431 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02529/0.9075, allocations: 14.14 MB / 0.8569 GB, free: 2.406 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.9076, allocations: 4 kB / 0.8569 GB, free: 2.402 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9076, allocations: 0 / 0.8569 GB, free: 2.402 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004977/0.9081, allocations: 0 / 0.8569 GB, free: 2.402 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.02687/0.9349, allocations: 9.007 MB / 0.8657 GB, free: 9.324 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.935, allocations: 12.03 kB / 0.8657 GB, free: 9.312 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003044/0.938, allocations: 0.7822 MB / 0.8665 GB, free: 8.52 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005519/0.9435, allocations: 1.079 MB / 0.8675 GB, free: 7.438 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01924/0.9628, allocations: 6.523 MB / 0.8739 GB, free: 0.8477 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004756/0.9632, allocations: 324.9 kB / 0.8742 GB, free: 0.5273 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002217/0.9655, allocations: 431.8 kB / 0.8746 GB, free: 108 kB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03187/0.9973, allocations: 12.6 MB / 0.8869 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001519/0.9975, allocations: 59.44 kB / 0.887 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009801/0.9985, allocations: 226.5 kB / 0.8872 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005556/0.999, allocations: 442.4 kB / 0.8876 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02869/1.028, allocations: 10.63 MB / 0.898 GB, free: 6.883 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.07579/1.104, allocations: 53.3 MB / 0.9501 GB, free: 40 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02229/1.126, allocations: 7.84 MB / 0.9577 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007149/1.133, allocations: 3.113 MB / 0.9608 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/1.135, allocations: 380.2 kB / 0.9611 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01947/1.154, allocations: 6.642 MB / 0.9676 GB, free: 13.8 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=827): time 1.065e-05/1.154, allocations: 0 / 0.9676 GB, free: 13.8 MB / 0.7482 GB Notification: Performance of matching and sorting (n=828): time 0.09486/1.249, allocations: 44.71 MB / 1.011 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006763/1.25, allocations: 1.151 MB / 1.012 GB, free: 15.36 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01152/1.261, allocations: 6.188 MB / 1.018 GB, free: 9.176 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001477/1.263, allocations: 96.33 kB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00335/1.266, allocations: 3.062 MB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00413/1.27, allocations: 2.846 MB / 1.024 GB, free: 3.121 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005128/1.275, allocations: 1.921 MB / 1.026 GB, free: 1.188 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.275, allocations: 305.1 kB / 1.026 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00936/1.285, allocations: 4.476 MB / 1.031 GB, free: 12.39 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01275/1.297, allocations: 7.284 MB / 1.038 GB, free: 3.922 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8658/2.163, allocations: 85.23 MB / 1.121 GB, free: 307.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.766e-05/2.163, allocations: 24 kB / 1.121 GB, free: 307.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02654/2.19, allocations: 13.42 MB / 1.134 GB, free: 294.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/2.19, allocations: 104.3 kB / 1.134 GB, free: 294.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01903/2.209, allocations: 10.12 MB / 1.144 GB, free: 284.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/2.211, allocations: 0.6822 MB / 1.145 GB, free: 283.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009064/2.22, allocations: 2.422 MB / 1.147 GB, free: 281.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/2.232, allocations: 14.69 MB / 1.162 GB, free: 265.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006998/2.239, allocations: 421.8 kB / 1.162 GB, free: 265.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002095/2.241, allocations: 0.5816 MB / 1.163 GB, free: 264.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01191/2.253, allocations: 6.322 MB / 1.169 GB, free: 258.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009264/2.262, allocations: 7.252 MB / 1.176 GB, free: 250.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5398/2.802, allocations: 84.83 MB / 1.259 GB, free: 164.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.965e-05/2.802, allocations: 30.86 kB / 1.259 GB, free: 164.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02971/2.832, allocations: 13.31 MB / 1.272 GB, free: 151.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.00015/2.832, allocations: 106.5 kB / 1.272 GB, free: 150.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02165/2.854, allocations: 10.03 MB / 1.282 GB, free: 140.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/2.856, allocations: 0.6865 MB / 1.282 GB, free: 140.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009215/2.865, allocations: 2.414 MB / 1.285 GB, free: 137.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/2.877, allocations: 14.69 MB / 1.299 GB, free: 122.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007833/2.885, allocations: 434.1 kB / 1.299 GB, free: 121.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00214/2.887, allocations: 0.5776 MB / 1.3 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.003883/2.891, allocations: 0.8085 MB / 1.301 GB, free: 120.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003171/2.894, allocations: 0.7512 MB / 1.302 GB, free: 119.9 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.02277/2.917, allocations: 11.09 MB / 1.312 GB, free: 109.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.092568452935666] Failed to read output from testmodel.py, exit status != 0: 3.071294266032055 3.40621869 2.494960335 Calling exit ...