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.01261/0.01261, allocations: 1.349 MB / 20.45 MB, free: 1.262 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.001742/0.001742, allocations: 78.41 kB / 24.02 MB, free: 2.609 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.00197/0.00197, allocations: 153.7 kB / 27.7 MB, free: 3.863 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.503/1.503, allocations: 177.1 MB / 208.4 MB, free: 7.715 MB / 190.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.051/1.051, allocations: 102.5 MB / 367.7 MB, free: 4.613 MB / 334.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: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.5364 GB, free: 7.156 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.805e-05, allocations: 7.375 kB / 0.5364 GB, free: 7.148 MB / 446.1 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.TestFeedWaterTank_1Separator): time 0.1817/0.1817, allocations: 70.8 MB / 0.6056 GB, free: 2.832 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.04579/0.2275, allocations: 23.83 MB / 0.6288 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00696/0.2345, allocations: 154.9 kB / 0.629 GB, free: 10.77 MB / 0.5294 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.009493/0.244, allocations: 3.086 MB / 0.632 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0146/0.2586, allocations: 4.913 MB / 0.6368 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01106/0.2696, allocations: 4.175 MB / 0.6409 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02219/0.2918, allocations: 13.28 MB / 0.6538 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/0.3035, allocations: 4.105 MB / 0.6579 GB, free: 13.05 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01921/0.3228, allocations: 7.297 MB / 0.665 GB, free: 5.738 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01097/0.3337, allocations: 4.901 MB / 0.6698 GB, free: 0.8242 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.003477/0.3372, allocations: 0.8672 MB / 0.6706 GB, free: 15.95 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008941/0.3461, allocations: 2.624 MB / 0.6732 GB, free: 13.33 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.006005/0.3521, allocations: 2.885 MB / 0.676 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.008957/0.3611, allocations: 2.88 MB / 0.6788 GB, free: 7.547 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.3422/0.7033, allocations: 14.09 MB / 0.6926 GB, free: 49.42 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7034, allocations: 0 / 0.6926 GB, free: 49.42 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7034, allocations: 0 / 0.6926 GB, free: 49.42 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0005284/0.7039, allocations: 0.8438 kB / 0.6926 GB, free: 49.42 MB / 0.5763 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.03856/0.7424, allocations: 8.964 MB / 0.7013 GB, free: 45.67 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.7425, allocations: 9.938 kB / 0.7013 GB, free: 45.67 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005764/0.7483, allocations: 1.093 MB / 0.7024 GB, free: 45.16 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/0.7653, allocations: 7.008 MB / 0.7092 GB, free: 43.88 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004211/0.7657, allocations: 311.5 kB / 0.7095 GB, free: 43.87 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002378/0.7681, allocations: 401.6 kB / 0.7099 GB, free: 43.86 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03507/0.8032, allocations: 13.52 MB / 0.7231 GB, free: 38.16 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005173/0.8037, allocations: 45.94 kB / 0.7232 GB, free: 38.16 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003626/0.8073, allocations: 210.3 kB / 0.7234 GB, free: 38.16 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000837/0.8081, allocations: 375.9 kB / 0.7237 GB, free: 38.15 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03153/0.8397, allocations: 9.779 MB / 0.7333 GB, free: 36.68 MB / 0.5763 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.0485/0.8882, allocations: 38.85 MB / 0.7712 GB, free: 2.609 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02389/0.9121, allocations: 8.204 MB / 0.7792 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00807/0.9201, allocations: 3.106 MB / 0.7823 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/0.9214, allocations: 257.3 kB / 0.7825 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02222/0.9437, allocations: 6.703 MB / 0.7891 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005601/0.9493, allocations: 0.7654 MB / 0.7898 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=870): time 2.321e-05/0.9493, allocations: 2.688 kB / 0.7898 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=872): time 0.1249/1.074, allocations: 50.46 MB / 0.8391 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001024/1.075, allocations: 1.535 MB / 0.8406 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01254/1.088, allocations: 5.959 MB / 0.8464 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.00226/1.09, allocations: 101.7 kB / 0.8465 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003477/1.093, allocations: 2.85 MB / 0.8493 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.004889/1.098, allocations: 2.94 MB / 0.8522 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00445/1.103, allocations: 1.768 MB / 0.8539 GB, free: 15.28 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.103, allocations: 305.1 kB / 0.8542 GB, free: 14.98 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008994/1.112, allocations: 4.205 MB / 0.8583 GB, free: 10.75 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01302/1.125, allocations: 7.268 MB / 0.8654 GB, free: 2.34 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3024/1.427, allocations: 51.1 MB / 0.9153 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.279e-05/1.428, allocations: 23.94 kB / 0.9153 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.0377/1.465, allocations: 12.65 MB / 0.9276 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/1.465, allocations: 69.72 kB / 0.9277 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02996/1.495, allocations: 10.05 MB / 0.9375 GB, free: 8.953 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004512/1.5, allocations: 1.042 MB / 0.9385 GB, free: 7.918 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01074/1.511, allocations: 2.348 MB / 0.9408 GB, free: 5.699 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01624/1.527, allocations: 11.61 MB / 0.9522 GB, free: 9.566 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007551/1.534, allocations: 311.8 kB / 0.9525 GB, free: 9.262 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002598/1.537, allocations: 0.5499 MB / 0.953 GB, free: 8.715 MB / 0.7638 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.01648/1.553, allocations: 5.908 MB / 0.9588 GB, free: 2.797 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01385/1.567, allocations: 7.209 MB / 0.9658 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5594/2.127, allocations: 50.96 MB / 1.016 GB, free: 282.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.802e-05/2.127, allocations: 16 kB / 1.016 GB, free: 282.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02726/2.154, allocations: 12.3 MB / 1.028 GB, free: 270.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.661e-05/2.154, allocations: 69.44 kB / 1.028 GB, free: 270.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01942/2.174, allocations: 9.69 MB / 1.037 GB, free: 261.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/2.176, allocations: 0.7373 MB / 1.038 GB, free: 260.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008878/2.185, allocations: 2.363 MB / 1.04 GB, free: 258 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/2.195, allocations: 11.4 MB / 1.051 GB, free: 246.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007039/2.202, allocations: 312.4 kB / 1.052 GB, free: 245.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002124/2.204, allocations: 0.5388 MB / 1.052 GB, free: 245.3 MB / 0.7794 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.003866/2.208, allocations: 0.7353 MB / 1.053 GB, free: 244.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003177/2.211, allocations: 0.7501 MB / 1.054 GB, free: 244.2 MB / 0.7794 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.02093/2.232, allocations: 10.64 MB / 1.064 GB, free: 234.2 MB / 0.7794 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.096963450312614] Failed to read output from testmodel.py, exit status != 0: 2.3723144233226776 2.389616618 1.682665951 Calling exit ...