Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.009889/0.009889, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.0007886/0.0007886, allocations: 83.94 kB / 25.15 MB, free: 7.465 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.000865/0.000865, allocations: 159.5 kB / 29.05 MB, free: 3.672 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.9788/0.9788, allocations: 177.2 MB / 210 MB, free: 3.539 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.6156/0.6156, allocations: 102.4 MB / 369.5 MB, free: 340 kB / 330.7 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.TestBottle,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|bottle_L3_1.insulation.U.[0-9,]+.|bottle_L3_1.volume.h_liq|bottle_L3_1.volume.h_vap|bottle_L3_1.volume.p_vap|bottle_L3_1.volume.volume_vap|bottle_L3_1.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestBottle,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|bottle_L3_1.insulation.U.[0-9,]+.|bottle_L3_1.volume.h_liq|bottle_L3_1.volume.h_vap|bottle_L3_1.volume.p_vap|bottle_L3_1.volume.volume_vap|bottle_L3_1.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 469.9 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.321e-05, allocations: 6.062 kB / 469.9 MB, free: 19.02 MB / 410.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.TestBottle): time 0.1489/0.149, allocations: 72.39 MB / 0.5296 GB, free: 15.52 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.04148/0.1904, allocations: 23.33 MB / 0.5524 GB, free: 8.129 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006546/0.197, allocations: 127.1 kB / 0.5525 GB, free: 8.004 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007999/0.205, allocations: 2.534 MB / 0.555 GB, free: 5.457 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.2153, allocations: 4.292 MB / 0.5592 GB, free: 1.141 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009211/0.2245, allocations: 4.1 MB / 0.5632 GB, free: 13.03 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01562/0.2401, allocations: 13.52 MB / 0.5764 GB, free: 15.47 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00707/0.2472, allocations: 4.156 MB / 0.5804 GB, free: 11.24 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01507/0.2623, allocations: 7.215 MB / 0.5875 GB, free: 4.008 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007635/0.2699, allocations: 4.834 MB / 0.5922 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002789/0.2727, allocations: 0.8438 MB / 0.593 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006769/0.2795, allocations: 2.686 MB / 0.5957 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003889/0.2833, allocations: 2.936 MB / 0.5985 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.005698/0.289, allocations: 2.872 MB / 0.6013 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01522/0.3043, allocations: 9.087 MB / 0.6102 GB, free: 12.68 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3043, allocations: 0 / 0.6102 GB, free: 12.68 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3043, allocations: 0 / 0.6102 GB, free: 12.68 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0003597/0.3046, allocations: 0 / 0.6102 GB, free: 12.68 MB / 0.5262 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.01653/0.3212, allocations: 9.377 MB / 0.6194 GB, free: 3.199 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3212, allocations: 12.03 kB / 0.6194 GB, free: 3.188 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/0.324, allocations: 1.413 MB / 0.6208 GB, free: 1.77 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/0.3348, allocations: 6.072 MB / 0.6267 GB, free: 11.6 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003071/0.3351, allocations: 324.9 kB / 0.627 GB, free: 11.28 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001596/0.3367, allocations: 452.3 kB / 0.6274 GB, free: 10.84 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01976/0.3565, allocations: 11.71 MB / 0.6389 GB, free: 12.83 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/0.3566, allocations: 63.44 kB / 0.6389 GB, free: 12.77 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006484/0.3573, allocations: 227.9 kB / 0.6391 GB, free: 12.54 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003561/0.3576, allocations: 438.4 kB / 0.6396 GB, free: 12.11 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/0.3725, allocations: 5.627 MB / 0.6451 GB, free: 6.453 MB / 0.5574 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.2856/0.6581, allocations: 63.2 MB / 0.7068 GB, free: 37.87 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.6689, allocations: 5.159 MB / 0.7118 GB, free: 37.11 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003205/0.6721, allocations: 1.512 MB / 0.7133 GB, free: 36.8 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008142/0.6729, allocations: 346.5 kB / 0.7136 GB, free: 36.79 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009828/0.6828, allocations: 4.526 MB / 0.718 GB, free: 36.16 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=827): time 1.292e-05/0.6828, allocations: 6.094 kB / 0.718 GB, free: 36.16 MB / 0.5574 GB Notification: Performance of matching and sorting (n=828): time 0.05577/0.7386, allocations: 34.59 MB / 0.7518 GB, free: 19.91 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002855/0.7388, allocations: 1.15 MB / 0.7529 GB, free: 18.56 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00634/0.7452, allocations: 5.492 MB / 0.7583 GB, free: 17.74 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001461/0.7467, allocations: 90.3 kB / 0.7584 GB, free: 17.71 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001964/0.7486, allocations: 3.298 MB / 0.7616 GB, free: 16.32 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.003277/0.7519, allocations: 2.904 MB / 0.7644 GB, free: 14.31 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00286/0.7548, allocations: 2.04 MB / 0.7664 GB, free: 13.13 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 5.046e-05/0.7548, allocations: 479.8 kB / 0.7669 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/0.7583, allocations: 1.78 MB / 0.7686 GB, free: 12.04 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005004/0.7633, allocations: 6.334 MB / 0.7748 GB, free: 5.547 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.015/0.7783, allocations: 9.897 MB / 0.7845 GB, free: 14.57 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.86e-05/0.7784, allocations: 26.5 kB / 0.7845 GB, free: 14.57 MB / 0.573 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02047/0.7989, allocations: 8.224 MB / 0.7925 GB, free: 9.516 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.799, allocations: 107.4 kB / 0.7926 GB, free: 9.398 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01199/0.811, allocations: 5.15 MB / 0.7977 GB, free: 4.215 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/0.8126, allocations: 0.578 MB / 0.7982 GB, free: 3.652 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005627/0.8182, allocations: 2.401 MB / 0.8006 GB, free: 1.398 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.8284, allocations: 16.61 MB / 0.8168 GB, free: 15.95 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00535/0.8338, allocations: 397.9 kB / 0.8172 GB, free: 15.57 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/0.8351, allocations: 0.5803 MB / 0.8177 GB, free: 14.99 MB / 0.6043 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.005363/0.8405, allocations: 1.966 MB / 0.8197 GB, free: 13 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00586/0.8464, allocations: 6.307 MB / 0.8258 GB, free: 4.875 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01363/0.86, allocations: 9.832 MB / 0.8354 GB, free: 9.789 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.483e-05/0.8601, allocations: 28 kB / 0.8355 GB, free: 9.762 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.01677/0.8768, allocations: 8.145 MB / 0.8434 GB, free: 2.145 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 9.641e-05/0.8769, allocations: 103.4 kB / 0.8435 GB, free: 2.031 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01026/0.8872, allocations: 5.094 MB / 0.8485 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/0.8887, allocations: 0.582 MB / 0.8491 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005515/0.8942, allocations: 2.392 MB / 0.8514 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008956/0.9032, allocations: 16.59 MB / 0.8676 GB, free: 8.652 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004849/0.908, allocations: 386 kB / 0.868 GB, free: 8.277 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001289/0.9093, allocations: 0.5777 MB / 0.8685 GB, free: 7.699 MB / 0.6512 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.002264/0.9116, allocations: 0.8941 MB / 0.8694 GB, free: 6.941 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002625/0.9142, allocations: 0.8604 MB / 0.8702 GB, free: 6.082 MB / 0.6512 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.01244/0.9266, allocations: 9.529 MB / 0.8795 GB, free: 13.11 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.864563639741391]