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.01228/0.01228, allocations: 1.744 MB / 21.38 MB, free: 464 kB / 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.001473/0.001473, allocations: 102.6 kB / 24.97 MB, free: 2.039 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.00181/0.00181, allocations: 210.1 kB / 28.68 MB, free: 3.324 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.395/1.395, allocations: 230.6 MB / 262.9 MB, free: 5.805 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.04/1.04, allocations: 130.7 MB / 450.4 MB, free: 6.387 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: 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.06234/0.06234, allocations: 20.62 MB / 0.6367 GB, free: 4.574 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.2339, allocations: 81.91 MB / 0.7167 GB, free: 2.578 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.TestFeedWaterTank_1Separator): time 0.5609/0.7948, allocations: 57.09 MB / 0.7724 GB, free: 13.12 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04062/0.8354, allocations: 24.09 MB / 0.796 GB, free: 12.22 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009543/0.8449, allocations: 158.4 kB / 0.7961 GB, free: 12.15 MB / 0.5763 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.0104/0.8553, allocations: 3.092 MB / 0.7991 GB, free: 10.01 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01785/0.8732, allocations: 4.785 MB / 0.8038 GB, free: 6.258 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01309/0.8863, allocations: 4.131 MB / 0.8078 GB, free: 3.09 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02453/0.9108, allocations: 12.95 MB / 0.8205 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009655/0.9204, allocations: 3.821 MB / 0.8242 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01322/0.9337, allocations: 5.42 MB / 0.8295 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01245/0.9461, allocations: 5.709 MB / 0.8351 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003953/0.9501, allocations: 0.8698 MB / 0.8359 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00996/0.96, allocations: 2.642 MB / 0.8385 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005879/0.9659, allocations: 2.819 MB / 0.8413 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01009/0.976, allocations: 3.491 MB / 0.8447 GB, free: 15.33 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02799/1.004, allocations: 14.09 MB / 0.8584 GB, free: 1.203 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/1.004, allocations: 0 / 0.8584 GB, free: 1.203 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.833e-06/1.004, allocations: 2.656 kB / 0.8584 GB, free: 1.203 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005271/1.005, allocations: 0 / 0.8584 GB, free: 1.203 MB / 0.6232 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.02857/1.033, allocations: 9.066 MB / 0.8673 GB, free: 8.07 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/1.033, allocations: 12.03 kB / 0.8673 GB, free: 8.059 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005604/1.039, allocations: 1.091 MB / 0.8684 GB, free: 6.965 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01799/1.057, allocations: 7.006 MB / 0.8752 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004686/1.057, allocations: 312.4 kB / 0.8755 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002118/1.059, allocations: 408 kB / 0.8759 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03384/1.093, allocations: 13.51 MB / 0.8891 GB, free: 15.97 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002306/1.093, allocations: 51.5 kB / 0.8891 GB, free: 15.92 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001803/1.095, allocations: 212 kB / 0.8893 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006691/1.096, allocations: 374.2 kB / 0.8897 GB, free: 15.34 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02909/1.125, allocations: 9.817 MB / 0.8993 GB, free: 5.516 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.05836/1.183, allocations: 38.98 MB / 0.9374 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02412/1.207, allocations: 8.204 MB / 0.9454 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007074/1.215, allocations: 3.109 MB / 0.9484 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/1.216, allocations: 250.7 kB / 0.9486 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01987/1.236, allocations: 6.702 MB / 0.9552 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004106/1.24, allocations: 0.7698 MB / 0.9559 GB, free: 10 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 2.38e-05/1.24, allocations: 0 / 0.9559 GB, free: 10 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1089/1.349, allocations: 50.47 MB / 1.005 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009152/1.349, allocations: 1.533 MB / 1.007 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/1.36, allocations: 5.863 MB / 1.012 GB, free: 15.45 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001701/1.361, allocations: 93.7 kB / 1.013 GB, free: 15.35 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003004/1.364, allocations: 2.869 MB / 1.015 GB, free: 12.46 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004531/1.369, allocations: 2.974 MB / 1.018 GB, free: 9.465 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003822/1.373, allocations: 1.791 MB / 1.02 GB, free: 7.66 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.373, allocations: 312.3 kB / 1.02 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00787/1.381, allocations: 4.209 MB / 1.024 GB, free: 3.125 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01164/1.392, allocations: 7.246 MB / 1.031 GB, free: 10.69 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6103/2.003, allocations: 51.09 MB / 1.081 GB, free: 343.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-05/2.003, allocations: 15.69 kB / 1.081 GB, free: 343.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02706/2.03, allocations: 12.64 MB / 1.094 GB, free: 337 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/2.03, allocations: 63.05 kB / 1.094 GB, free: 337 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01904/2.049, allocations: 10.04 MB / 1.104 GB, free: 327 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003514/2.052, allocations: 1.042 MB / 1.105 GB, free: 326 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008168/2.061, allocations: 2.348 MB / 1.107 GB, free: 323.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/2.071, allocations: 11.63 MB / 1.118 GB, free: 311.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006046/2.077, allocations: 313.2 kB / 1.119 GB, free: 311.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001991/2.079, allocations: 0.5387 MB / 1.119 GB, free: 310.6 MB / 0.8263 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.01167/2.09, allocations: 5.908 MB / 1.125 GB, free: 304.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008964/2.099, allocations: 7.211 MB / 1.132 GB, free: 296.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2558/2.355, allocations: 50.97 MB / 1.182 GB, free: 244.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.975e-05/2.355, allocations: 23.98 kB / 1.182 GB, free: 244.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.0253/2.381, allocations: 12.28 MB / 1.194 GB, free: 232.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/2.381, allocations: 73.62 kB / 1.194 GB, free: 232.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01765/2.398, allocations: 9.692 MB / 1.203 GB, free: 222.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00195/2.4, allocations: 0.7455 MB / 1.204 GB, free: 221.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007622/2.408, allocations: 2.352 MB / 1.206 GB, free: 219.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009176/2.417, allocations: 11.42 MB / 1.217 GB, free: 207.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006218/2.423, allocations: 317.2 kB / 1.218 GB, free: 207.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/2.425, allocations: 0.5348 MB / 1.218 GB, free: 206.7 MB / 0.8263 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.0029/2.427, allocations: 0.7314 MB / 1.219 GB, free: 206 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002018/2.43, allocations: 0.7558 MB / 1.22 GB, free: 205.5 MB / 0.8263 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.01551/2.445, allocations: 10.61 MB / 1.23 GB, free: 195.3 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.266261263983324] Failed to read output from testmodel.py, exit status != 0: 2.6235456080175936 2.634457616 1.626423806 Calling exit ...