Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator.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.01054/0.01054, allocations: 1.768 MB / 18.12 MB, free: 4.906 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.001343/0.001343, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.001861/0.001861, allocations: 219.5 kB / 24.75 MB, free: 3.695 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.633/1.633, allocations: 230.6 MB / 258.5 MB, free: 13.1 MB / 206.1 MB " [Timeout remaining time 178] 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 1.165/1.165, allocations: 130.5 MB / 445.5 MB, free: 14.84 MB / 350.1 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 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tank_L2.volume.h|tank_L2.volume.p|tank_L3_adv.volume.h_liq|tank_L3_adv.volume.h_vap|tank_L3_adv.volume.p_vap|tank_L3_adv.volume.volume_vap|tank_L3_adv.wall.U.1.|tank_L3_adv.wall.U.2.|tank_L3_adv.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tank_L2.volume.h|tank_L2.volume.p|tank_L3_adv.volume.h_liq|tank_L3_adv.volume.h_vap|tank_L3_adv.volume.p_vap|tank_L3_adv.volume.volume_vap|tank_L3_adv.wall.U.1.|tank_L3_adv.wall.U.2.|tank_L3_adv.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") [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.4623/0.4623, allocations: 46.14 MB / 0.6549 GB, free: 31.19 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.6963, allocations: 89.04 MB / 0.7419 GB, free: 2.586 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator): time 0.03873/0.7351, allocations: 27.86 MB / 0.7691 GB, free: 6.617 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.052/0.7871, allocations: 24.79 MB / 0.7933 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008829/0.7959, allocations: 162.8 kB / 0.7935 GB, free: 13.58 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.01012/0.806, allocations: 3.141 MB / 0.7965 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01704/0.8231, allocations: 4.66 MB / 0.8011 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01337/0.8364, allocations: 4.042 MB / 0.805 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02711/0.8635, allocations: 12.96 MB / 0.8177 GB, free: 4.703 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01057/0.8741, allocations: 4.024 MB / 0.8216 GB, free: 0.6094 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0143/0.8884, allocations: 5.385 MB / 0.8269 GB, free: 11.21 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01333/0.9017, allocations: 5.7 MB / 0.8325 GB, free: 5.484 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.005703/0.9074, allocations: 0.8672 MB / 0.8333 GB, free: 4.617 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01326/0.9207, allocations: 3.193 MB / 0.8364 GB, free: 1.426 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.006926/0.9276, allocations: 2.819 MB / 0.8392 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01262/0.9402, allocations: 4.509 MB / 0.8436 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03269/0.9729, allocations: 14.12 MB / 0.8574 GB, free: 11.89 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.9729, allocations: 0 / 0.8574 GB, free: 11.89 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.096e-06/0.973, allocations: 0 / 0.8574 GB, free: 11.89 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005866/0.9735, allocations: 3.938 kB / 0.8574 GB, free: 11.89 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1582 * Number of variables: 1582 Notification: Performance of Generate backend data structure: time 0.03465/1.008, allocations: 9.133 MB / 0.8663 GB, free: 2.645 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.008, allocations: 8.031 kB / 0.8663 GB, free: 2.637 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006593/1.015, allocations: 1.096 MB / 0.8674 GB, free: 1.535 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5561/1.571, allocations: 7.185 MB / 0.8744 GB, free: 110.1 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003516/1.571, allocations: 306.5 kB / 0.8747 GB, free: 109.9 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001773/1.573, allocations: 397.3 kB / 0.8751 GB, free: 109.8 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02884/1.602, allocations: 11.5 MB / 0.8863 GB, free: 103.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/1.602, allocations: 49.22 kB / 0.8863 GB, free: 103.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006652/1.603, allocations: 204.7 kB / 0.8865 GB, free: 103.6 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004639/1.603, allocations: 377.2 kB / 0.8869 GB, free: 103.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02637/1.63, allocations: 9.789 MB / 0.8964 GB, free: 99.6 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.05623/1.686, allocations: 42.33 MB / 0.9378 GB, free: 62.36 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02479/1.711, allocations: 8.341 MB / 0.9459 GB, free: 57.64 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007051/1.718, allocations: 3.084 MB / 0.9489 GB, free: 55.81 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/1.719, allocations: 375.8 kB / 0.9493 GB, free: 55.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01875/1.738, allocations: 6.671 MB / 0.9558 GB, free: 51.75 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005164/1.743, allocations: 0.7985 MB / 0.9566 GB, free: 51.37 MB / 0.67 GB Notification: Performance of pre-optimization done (n=870): time 3.358e-05/1.743, allocations: 0 / 0.9566 GB, free: 51.37 MB / 0.67 GB Notification: Performance of matching and sorting (n=872): time 0.1008/1.844, allocations: 50.85 MB / 1.006 GB, free: 3.672 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004519/1.844, allocations: 1.536 MB / 1.008 GB, free: 1.793 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01571/1.86, allocations: 6.12 MB / 1.014 GB, free: 11.74 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001971/1.862, allocations: 101.7 kB / 1.014 GB, free: 11.63 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.003842/1.865, allocations: 2.838 MB / 1.017 GB, free: 8.949 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.006321/1.872, allocations: 2.977 MB / 1.019 GB, free: 6.016 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006031/1.878, allocations: 1.783 MB / 1.021 GB, free: 4.219 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001986/1.878, allocations: 311.8 kB / 1.022 GB, free: 3.914 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009802/1.888, allocations: 4.168 MB / 1.026 GB, free: 15.73 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0132/1.901, allocations: 6.514 MB / 1.032 GB, free: 8.297 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.298/2.199, allocations: 51.06 MB / 1.082 GB, free: 5.164 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.151e-05/2.199, allocations: 20 kB / 1.082 GB, free: 5.145 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.03798/2.237, allocations: 12.63 MB / 1.094 GB, free: 8.52 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/2.237, allocations: 69.69 kB / 1.094 GB, free: 8.445 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02855/2.266, allocations: 10 MB / 1.104 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004382/2.27, allocations: 1.042 MB / 1.105 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01071/2.281, allocations: 2.344 MB / 1.107 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01696/2.298, allocations: 12.41 MB / 1.119 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008571/2.306, allocations: 322 kB / 1.12 GB, free: 13.47 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002701/2.309, allocations: 0.5426 MB / 1.12 GB, free: 12.93 MB / 0.795 GB Warning: Assuming fixed start value for the following 3 variables: tank_L3_adv.volume.h_liq:VARIABLE(start = tank_L3_adv.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real tank_L3_adv.volume.h_vap:VARIABLE(start = tank_L3_adv.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real tank_L3_adv.volume.p_vap:VARIABLE(min = 0.0 start = tank_L3_adv.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01668/2.326, allocations: 5.876 MB / 1.126 GB, free: 7.043 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01556/2.341, allocations: 6.475 MB / 1.132 GB, free: 15.56 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3006/2.642, allocations: 50.94 MB / 1.182 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.007e-05/2.642, allocations: 25.88 kB / 1.182 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.5099/3.152, allocations: 12.26 MB / 1.194 GB, free: 280.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/3.152, allocations: 63.34 kB / 1.194 GB, free: 280.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02442/3.176, allocations: 9.653 MB / 1.204 GB, free: 279.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/3.179, allocations: 0.7314 MB / 1.204 GB, free: 279.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/3.189, allocations: 2.359 MB / 1.207 GB, free: 279.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/3.201, allocations: 12.23 MB / 1.219 GB, free: 268.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007621/3.208, allocations: 318.4 kB / 1.219 GB, free: 268.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002467/3.211, allocations: 0.5374 MB / 1.219 GB, free: 268.6 MB / 0.8575 GB Warning: Assuming fixed start value for the following 3 variables: tank_L3_adv.volume.h_liq:VARIABLE(start = tank_L3_adv.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real tank_L3_adv.volume.h_vap:VARIABLE(start = tank_L3_adv.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real tank_L3_adv.volume.p_vap:VARIABLE(min = 0.0 start = tank_L3_adv.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: 295 * Number of states: 0 () * Number of discrete variables: 7 (ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1134): * Single equations (assignments): 1126 * Array equations: 0 * Algorithm blocks: 1 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.003753/3.215, allocations: 0.7212 MB / 1.22 GB, free: 268.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002882/3.218, allocations: 0.7733 MB / 1.221 GB, free: 268.2 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 1265 equation(s) and 1212 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02612/3.244, allocations: 10.63 MB / 1.231 GB, free: 265.3 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.21070125499682] Failed to read output from testmodel.py, exit status != 0: 3.253732802986633 3.268060205 2.289349366 Calling exit ...