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.01544/0.01544, allocations: 1.771 MB / 18.82 MB, free: 4.355 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.001467/0.001467, allocations: 99.72 kB / 22.07 MB, free: 1.109 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.001756/0.001756, allocations: 216.4 kB / 25.45 MB, free: 3.344 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.458/1.458, allocations: 230.6 MB / 259.3 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.083/1.083, allocations: 130.6 MB / 446.3 MB, free: 14.56 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: 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.3826/0.3826, allocations: 46.14 MB / 0.6552 GB, free: 30.09 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.5509, allocations: 89.06 MB / 0.7421 GB, free: 2.656 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestBottle): time 0.02593/0.5768, allocations: 23.32 MB / 0.7649 GB, free: 11.25 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.03821/0.615, allocations: 23.43 MB / 0.7878 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006337/0.6214, allocations: 131 kB / 0.7879 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.008868/0.6302, allocations: 2.578 MB / 0.7904 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01285/0.6431, allocations: 4.089 MB / 0.7944 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01024/0.6533, allocations: 3.96 MB / 0.7983 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01772/0.671, allocations: 13.18 MB / 0.8112 GB, free: 11.73 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006634/0.6777, allocations: 3.971 MB / 0.815 GB, free: 7.691 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009669/0.6873, allocations: 5.299 MB / 0.8202 GB, free: 2.375 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009846/0.6972, allocations: 5.548 MB / 0.8256 GB, free: 12.8 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.0035/0.7007, allocations: 0.8477 MB / 0.8265 GB, free: 11.96 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008766/0.7095, allocations: 3.248 MB / 0.8296 GB, free: 8.707 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.004664/0.7141, allocations: 2.839 MB / 0.8324 GB, free: 5.859 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.007943/0.7221, allocations: 4.482 MB / 0.8368 GB, free: 1.355 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.02289/0.7449, allocations: 14.08 MB / 0.8505 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.745, allocations: 0 / 0.8505 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.996e-06/0.745, allocations: 0 / 0.8505 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004102/0.7454, allocations: 0 / 0.8505 GB, free: 3.23 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.02429/0.7697, allocations: 9.089 MB / 0.8594 GB, free: 10.02 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.7697, allocations: 12.03 kB / 0.8594 GB, free: 10.01 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000155/0.7699, allocations: 128.8 kB / 0.8595 GB, free: 9.879 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00181/0.7717, allocations: 0.7783 MB / 0.8603 GB, free: 9.09 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003848/0.7755, allocations: 1.084 MB / 0.8614 GB, free: 8 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/0.7899, allocations: 6.695 MB / 0.8679 GB, free: 1.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004117/0.7903, allocations: 332.6 kB / 0.8682 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/0.7919, allocations: 431.8 kB / 0.8686 GB, free: 492 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4272/1.219, allocations: 12.59 MB / 0.8809 GB, free: 104.3 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/1.219, allocations: 60.28 kB / 0.881 GB, free: 104.3 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006891/1.22, allocations: 219.8 kB / 0.8812 GB, free: 104.2 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004249/1.22, allocations: 440.3 kB / 0.8816 GB, free: 104.1 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02626/1.247, allocations: 10.64 MB / 0.892 GB, free: 100.8 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.05264/1.299, allocations: 53.97 MB / 0.9447 GB, free: 54.63 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01918/1.318, allocations: 8.06 MB / 0.9526 GB, free: 50.04 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005039/1.323, allocations: 3.13 MB / 0.9556 GB, free: 48.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/1.325, allocations: 0.513 MB / 0.9561 GB, free: 47.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0158/1.34, allocations: 6.632 MB / 0.9626 GB, free: 44.04 MB / 0.67 GB Notification: Performance of pre-optimization done (n=827): time 9.748e-06/1.34, allocations: 0 / 0.9626 GB, free: 44.04 MB / 0.67 GB Notification: Performance of matching and sorting (n=828): time 0.07783/1.418, allocations: 45.24 MB / 1.007 GB, free: 1.523 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003086/1.419, allocations: 1.149 MB / 1.008 GB, free: 120 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01067/1.429, allocations: 6.187 MB / 1.014 GB, free: 10 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.00164/1.431, allocations: 97.7 kB / 1.014 GB, free: 9.902 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002877/1.434, allocations: 3.063 MB / 1.017 GB, free: 7.121 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.004447/1.438, allocations: 2.851 MB / 1.02 GB, free: 4.598 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004285/1.443, allocations: 1.909 MB / 1.022 GB, free: 2.676 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.443, allocations: 306.6 kB / 1.022 GB, free: 2.375 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008237/1.451, allocations: 4.478 MB / 1.026 GB, free: 13.89 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01145/1.462, allocations: 7.29 MB / 1.033 GB, free: 5.453 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5947/2.057, allocations: 85.23 MB / 1.117 GB, free: 15.87 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.69e-05/2.057, allocations: 28 kB / 1.117 GB, free: 15.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.03367/2.091, allocations: 13.41 MB / 1.13 GB, free: 2.359 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.000175/2.091, allocations: 109.1 kB / 1.13 GB, free: 2.242 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02609/2.117, allocations: 10.11 MB / 1.14 GB, free: 8.062 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002395/2.119, allocations: 0.6875 MB / 1.14 GB, free: 7.371 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01069/2.13, allocations: 2.422 MB / 1.143 GB, free: 4.945 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01803/2.148, allocations: 15.51 MB / 1.158 GB, free: 4.32 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007717/2.156, allocations: 439.1 kB / 1.158 GB, free: 3.891 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002507/2.158, allocations: 0.5777 MB / 1.159 GB, free: 3.312 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.01443/2.173, allocations: 6.324 MB / 1.165 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01235/2.185, allocations: 7.252 MB / 1.172 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.9559/3.141, allocations: 84.84 MB / 1.255 GB, free: 258.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.591e-05/3.141, allocations: 24 kB / 1.255 GB, free: 258.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02594/3.167, allocations: 13.31 MB / 1.268 GB, free: 246.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/3.167, allocations: 115.1 kB / 1.268 GB, free: 246.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01839/3.186, allocations: 10.02 MB / 1.278 GB, free: 236.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/3.187, allocations: 0.6828 MB / 1.279 GB, free: 235.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008736/3.196, allocations: 2.414 MB / 1.281 GB, free: 233.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/3.208, allocations: 15.51 MB / 1.296 GB, free: 216.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006871/3.215, allocations: 428.1 kB / 1.297 GB, free: 216.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001868/3.217, allocations: 0.5738 MB / 1.297 GB, free: 215.8 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.00307/3.22, allocations: 0.8091 MB / 1.298 GB, free: 215.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002391/3.222, allocations: 0.7455 MB / 1.299 GB, free: 214.9 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.0183/3.24, allocations: 11.09 MB / 1.309 GB, free: 204.2 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.7317407869850285] Failed to read output from testmodel.py, exit status != 0: 3.248224594979547 3.256739087 2.5093505560000002 Calling exit ...