Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestDrum.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.0103/0.0103, allocations: 1.35 MB / 21.03 MB, free: 0.7539 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.001276/0.001276, allocations: 75.67 kB / 24.58 MB, free: 2.148 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.001546/0.001546, allocations: 168.4 kB / 28.26 MB, free: 3.406 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.422/1.422, allocations: 177.2 MB / 209 MB, free: 7.527 MB / 190.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 0.9762/0.9762, allocations: 102.5 MB / 368.4 MB, free: 4.16 MB / 334.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: translateModel(ClaRa.Components.MechanicalSeparation.Check.TestDrum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|drum.volume.h_liq|drum.volume.h_vap|drum.volume.p_vap|drum.volume.volume_vap|drum.wall.U.1.|drum.wall.U.2.|drum.wall.U.3.|evaporator.h|evaporator.p",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestDrum") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestDrum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|drum.volume.h_liq|drum.volume.h_vap|drum.volume.p_vap|drum.volume.volume_vap|drum.wall.U.1.|drum.wall.U.2.|drum.wall.U.3.|evaporator.h|evaporator.p",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestDrum") [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.06715/0.06715, allocations: 20.95 MB / 0.5569 GB, free: 4.953 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.2106, allocations: 81.88 MB / 0.6369 GB, free: 2.938 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.TestDrum): time 0.149/0.3596, allocations: 46.44 MB / 0.6822 GB, free: 4.504 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3215/0.6811, allocations: 22.76 MB / 0.7044 GB, free: 14.34 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004504/0.6856, allocations: 125.2 kB / 0.7045 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.007214/0.6928, allocations: 2.689 MB / 0.7072 GB, free: 13.2 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.7032, allocations: 3.893 MB / 0.711 GB, free: 11.52 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.008865/0.7121, allocations: 3.718 MB / 0.7146 GB, free: 9.535 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01492/0.727, allocations: 12.51 MB / 0.7268 GB, free: 2.988 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005874/0.7329, allocations: 3.734 MB / 0.7305 GB, free: 244 kB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/0.7431, allocations: 5.062 MB / 0.7354 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01045/0.7536, allocations: 4.992 MB / 0.7403 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002882/0.7564, allocations: 0.8018 MB / 0.7411 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008358/0.7648, allocations: 2.436 MB / 0.7434 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004906/0.7697, allocations: 2.656 MB / 0.746 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00839/0.7781, allocations: 3.312 MB / 0.7493 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0222/0.8003, allocations: 13.34 MB / 0.7623 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.8003, allocations: 0 / 0.7623 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8003, allocations: 0 / 0.7623 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003502/0.8007, allocations: 0 / 0.7623 GB, free: 9.527 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1607 * Number of variables: 1607 Notification: Performance of Generate backend data structure: time 0.02276/0.8234, allocations: 8.598 MB / 0.7707 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.8235, allocations: 8.031 kB / 0.7707 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004437/0.8279, allocations: 1.04 MB / 0.7717 GB, free: 15.82 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01476/0.8427, allocations: 6.297 MB / 0.7779 GB, free: 9.465 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004007/0.8431, allocations: 316 kB / 0.7782 GB, free: 9.152 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/0.8446, allocations: 395.9 kB / 0.7785 GB, free: 8.766 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03127/0.8759, allocations: 13.5 MB / 0.7917 GB, free: 9.676 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001914/0.8761, allocations: 50.19 kB / 0.7918 GB, free: 9.629 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001329/0.8774, allocations: 204.5 kB / 0.792 GB, free: 9.43 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005839/0.878, allocations: 390.3 kB / 0.7923 GB, free: 9.047 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02793/0.9059, allocations: 10.14 MB / 0.8023 GB, free: 14.89 MB / 0.6544 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.06126/0.9672, allocations: 43.41 MB / 0.8446 GB, free: 2.242 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02191/0.9891, allocations: 7.864 MB / 0.8523 GB, free: 10.24 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006199/0.9953, allocations: 3.016 MB / 0.8553 GB, free: 7.156 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/0.9963, allocations: 269 kB / 0.8555 GB, free: 6.895 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.9965, allocations: 101.6 kB / 0.8556 GB, free: 6.785 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=816): time 7.905e-06/0.9965, allocations: 0 / 0.8556 GB, free: 6.785 MB / 0.7013 GB Notification: Performance of matching and sorting (n=817): time 0.08904/1.086, allocations: 42.3 MB / 0.8969 GB, free: 12.21 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006924/1.086, allocations: 1.14 MB / 0.898 GB, free: 10.8 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008878/1.095, allocations: 5.658 MB / 0.9036 GB, free: 5.125 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.001208/1.096, allocations: 89.7 kB / 0.9037 GB, free: 5.031 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.002552/1.099, allocations: 2.823 MB / 0.9064 GB, free: 2.191 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.003625/1.102, allocations: 2.803 MB / 0.9091 GB, free: 15.36 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003175/1.106, allocations: 1.773 MB / 0.9109 GB, free: 13.57 MB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.106, allocations: 305.1 kB / 0.9112 GB, free: 13.27 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007376/1.113, allocations: 4.188 MB / 0.9153 GB, free: 9.066 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/1.124, allocations: 7.166 MB / 0.9223 GB, free: 0.6953 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4958/1.619, allocations: 69.42 MB / 0.99 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.037e-05/1.619, allocations: 23.75 kB / 0.9901 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.2885/1.908, allocations: 12.31 MB / 1.002 GB, free: 361.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.605e-05/1.908, allocations: 37.78 kB / 1.002 GB, free: 361.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02023/1.928, allocations: 9.441 MB / 1.011 GB, free: 360.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04674/1.975, allocations: 4.023 MB / 1.015 GB, free: 359.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008459/1.983, allocations: 2.275 MB / 1.018 GB, free: 359.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009921/1.993, allocations: 11.51 MB / 1.029 GB, free: 350.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005613/1.999, allocations: 347.8 kB / 1.029 GB, free: 350.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/2.001, allocations: 0.545 MB / 1.03 GB, free: 350 MB / 0.8419 GB Warning: Assuming fixed start value for the following 3 variables: drum.volume.h_liq:VARIABLE(start = drum.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real drum.volume.h_vap:VARIABLE(start = drum.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real drum.volume.p_vap:VARIABLE(min = 0.0 start = drum.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009385/2.01, allocations: 5.982 MB / 1.035 GB, free: 347.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00806/2.018, allocations: 7.121 MB / 1.042 GB, free: 341.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4619/2.48, allocations: 69.21 MB / 1.11 GB, free: 275.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.037e-05/2.48, allocations: 20 kB / 1.11 GB, free: 275.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.0274/2.507, allocations: 12.22 MB / 1.122 GB, free: 263.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/2.507, allocations: 37.09 kB / 1.122 GB, free: 263.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02066/2.528, allocations: 9.333 MB / 1.131 GB, free: 254.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0333/2.561, allocations: 2.877 MB / 1.134 GB, free: 251.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008327/2.57, allocations: 2.281 MB / 1.136 GB, free: 249 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009673/2.579, allocations: 11.41 MB / 1.147 GB, free: 237 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005627/2.585, allocations: 336.4 kB / 1.148 GB, free: 236.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001721/2.587, allocations: 0.5435 MB / 1.148 GB, free: 236.2 MB / 0.8419 GB Warning: Assuming fixed start value for the following 3 variables: drum.volume.h_liq:VARIABLE(start = drum.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real drum.volume.h_vap:VARIABLE(start = drum.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real drum.volume.p_vap:VARIABLE(min = 0.0 start = drum.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: 324 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1115): * Single equations (assignments): 1108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,20)} Notification: Performance of prepare postOptimizeDAE: time 0.002918/2.59, allocations: 0.6818 MB / 1.149 GB, free: 235.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002833/2.593, allocations: 0.6886 MB / 1.149 GB, free: 235.3 MB / 0.8419 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 1239 equation(s) and 1186 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (sink.fluidOut.q, sink.fluidOut.cp, sink.fluidOut.cv, sink.fluidOut.beta, sink.fluidOut.kappa, sink.fluidOut.drhodp_hxi, sink.fluidOut.drhodh_pxi, _, sink.fluidOut.w, sink.fluidOut.gamma) = ($cse406, $cse407, $cse408, $cse409, $cse410, $cse411, $cse412, $cse413, $cse414, $cse415) has size 9 but 3 variables (drum.volume.heattransfer.Delta_T_mean[1], drum.volume.summary.fluid.T[1], drum.scalar2VectorHeatPort.heatVector[2].T) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01861/2.611, allocations: 11 MB / 1.16 GB, free: 224.8 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.123019187012687] Failed to read output from testmodel.py, exit status != 0: 2.743452783091925 2.753230966 1.950457425 Calling exit ...