Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.009759/0.009759, allocations: 1.791 MB / 21.89 MB, free: 2.637 MB / 18.57 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.0008468/0.0008468, allocations: 87.69 kB / 25.62 MB, free: 6.535 MB / 18.57 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.000915/0.000915, allocations: 165.8 kB / 29.46 MB, free: 3.035 MB / 18.57 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 0.9153/0.9153, allocations: 177.1 MB / 210.3 MB, free: 1.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7538/0.7538, allocations: 102.5 MB / 369.8 MB, free: 0.8906 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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 1.0.0 (/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.[0-9,]+.|evaporator.h|evaporator.p",fileNamePrefix="ClaRa_dev_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.[0-9,]+.|evaporator.h|evaporator.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestDrum") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 469.8 MB, free: 12.97 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.109e-05, allocations: 2.312 kB / 469.8 MB, free: 12.96 MB / 442.8 MB 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.3355/0.3355, allocations: 72.91 MB / 0.53 GB, free: 70.36 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0246/0.3601, allocations: 23.36 MB / 0.5528 GB, free: 55 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00344/0.3635, allocations: 122.8 kB / 0.553 GB, free: 54.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004582/0.3681, allocations: 2.699 MB / 0.5556 GB, free: 53.73 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006793/0.3749, allocations: 4.013 MB / 0.5595 GB, free: 51.36 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006362/0.3813, allocations: 3.752 MB / 0.5632 GB, free: 49.34 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01247/0.3938, allocations: 12.85 MB / 0.5757 GB, free: 42.59 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004597/0.3983, allocations: 3.932 MB / 0.5796 GB, free: 39.64 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007779/0.4061, allocations: 6.853 MB / 0.5862 GB, free: 35.3 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004432/0.4106, allocations: 4.469 MB / 0.5906 GB, free: 30.82 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001098/0.4117, allocations: 0.8008 MB / 0.5914 GB, free: 30.02 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00385/0.4155, allocations: 2.457 MB / 0.5938 GB, free: 27.56 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.4168, allocations: 2.749 MB / 0.5965 GB, free: 24.8 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002377/0.4192, allocations: 2.734 MB / 0.5991 GB, free: 22.07 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.006487/0.4257, allocations: 8.587 MB / 0.6075 GB, free: 13.45 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4257, allocations: 0 / 0.6075 GB, free: 13.45 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4257, allocations: 0 / 0.6075 GB, free: 13.45 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.599e-05/0.4257, allocations: 0 / 0.6075 GB, free: 13.45 MB / 490.8 MB 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.007425/0.4332, allocations: 8.967 MB / 0.6163 GB, free: 4.422 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4332, allocations: 14.69 kB / 0.6163 GB, free: 4.41 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.4353, allocations: 1.353 MB / 0.6176 GB, free: 3.055 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005541/0.4408, allocations: 5.816 MB / 0.6233 GB, free: 13.17 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.441, allocations: 304.4 kB / 0.6236 GB, free: 12.87 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/0.4414, allocations: 436 kB / 0.624 GB, free: 12.44 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/0.454, allocations: 10.88 MB / 0.6346 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-05/0.4541, allocations: 47.56 kB / 0.6347 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000373/0.4544, allocations: 197.9 kB / 0.6349 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000281/0.4547, allocations: 396.9 kB / 0.6352 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.4649, allocations: 5.304 MB / 0.6404 GB, free: 9.641 MB / 0.5105 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.03223/0.4972, allocations: 53.9 MB / 0.6931 GB, free: 2.117 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/0.5072, allocations: 5.097 MB / 0.698 GB, free: 12.82 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/0.5094, allocations: 1.423 MB / 0.6994 GB, free: 11.3 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005084/0.5099, allocations: 306.2 kB / 0.6997 GB, free: 11 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.681e-05/0.5099, allocations: 104.4 kB / 0.6998 GB, free: 10.89 MB / 0.573 GB Notification: Performance of pre-optimization done (n=816): time 6.743e-06/0.51, allocations: 2.625 kB / 0.6998 GB, free: 10.89 MB / 0.573 GB Notification: Performance of matching and sorting (n=817): time 0.041/0.551, allocations: 32.88 MB / 0.7319 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003149/0.5513, allocations: 1.144 MB / 0.733 GB, free: 8.309 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005035/0.5563, allocations: 5.042 MB / 0.738 GB, free: 3.234 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0004954/0.5568, allocations: 88.39 kB / 0.7381 GB, free: 3.145 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.5585, allocations: 3.06 MB / 0.741 GB, free: 64 kB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.2174/0.7759, allocations: 2.859 MB / 0.7438 GB, free: 190.2 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002454/0.7784, allocations: 1.894 MB / 0.7457 GB, free: 190 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.7785, allocations: 480.2 kB / 0.7461 GB, free: 189.5 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002819/0.7813, allocations: 1.635 MB / 0.7477 GB, free: 189.5 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005505/0.7868, allocations: 5.687 MB / 0.7533 GB, free: 184.6 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01433/0.8011, allocations: 8.862 MB / 0.762 GB, free: 180.3 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.304e-05/0.8012, allocations: 22.59 kB / 0.762 GB, free: 180.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.01679/0.8179, allocations: 7.445 MB / 0.7692 GB, free: 178.8 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.307e-05/0.818, allocations: 37 kB / 0.7693 GB, free: 178.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008687/0.8267, allocations: 4.757 MB / 0.7739 GB, free: 177.8 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02538/0.8521, allocations: 3.968 MB / 0.7778 GB, free: 177.6 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006272/0.8583, allocations: 2.257 MB / 0.78 GB, free: 177.4 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006217/0.8646, allocations: 13.09 MB / 0.7928 GB, free: 164.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004683/0.8692, allocations: 344.7 kB / 0.7931 GB, free: 164.7 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009439/0.8702, allocations: 0.5414 MB / 0.7936 GB, free: 164.6 MB / 0.6043 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.005021/0.8752, allocations: 1.828 MB / 0.7954 GB, free: 164.2 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004135/0.8793, allocations: 5.672 MB / 0.801 GB, free: 158.4 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00949/0.8888, allocations: 8.813 MB / 0.8096 GB, free: 148.7 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-05/0.8889, allocations: 22.66 kB / 0.8096 GB, free: 148.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.01095/0.8998, allocations: 7.376 MB / 0.8168 GB, free: 142.2 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.8999, allocations: 39.7 kB / 0.8168 GB, free: 142.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006913/0.9068, allocations: 4.684 MB / 0.8214 GB, free: 138.1 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01714/0.9239, allocations: 2.812 MB / 0.8242 GB, free: 135.9 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005027/0.9289, allocations: 2.255 MB / 0.8264 GB, free: 133.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00506/0.934, allocations: 13.02 MB / 0.8391 GB, free: 120 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003861/0.9379, allocations: 331.2 kB / 0.8394 GB, free: 119.7 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007322/0.9386, allocations: 0.5451 MB / 0.8399 GB, free: 119.1 MB / 0.6043 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.002367/0.941, allocations: 0.767 MB / 0.8407 GB, free: 118.4 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001796/0.9428, allocations: 0.7999 MB / 0.8415 GB, free: 117.6 MB / 0.6043 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.01009/0.9528, allocations: 9.483 MB / 0.8507 GB, free: 108.7 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5147989520337433]