Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01084/0.01084, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001344/0.001344, allocations: 110.9 kB / 24.19 MB, free: 2.652 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.001697/0.001697, allocations: 210.4 kB / 27.92 MB, free: 4.004 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.537/1.537, allocations: 230.6 MB / 262.1 MB, free: 6.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.108/1.108, allocations: 130.7 MB / 449.7 MB, free: 6.73 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_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.03475/0.03475, allocations: 20.79 MB / 0.6362 GB, free: 4.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.2075, allocations: 81.9 MB / 0.7162 GB, free: 2.648 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.5524/0.7599, allocations: 60.84 MB / 0.7756 GB, free: 9.488 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04589/0.8058, allocations: 25.1 MB / 0.8001 GB, free: 7.473 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008669/0.8144, allocations: 157.7 kB / 0.8003 GB, free: 7.398 MB / 0.5763 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.01052/0.825, allocations: 3.209 MB / 0.8034 GB, free: 5.16 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01772/0.8427, allocations: 4.772 MB / 0.8081 GB, free: 1.41 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01263/0.8553, allocations: 4.139 MB / 0.8121 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02449/0.8798, allocations: 12.96 MB / 0.8248 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008672/0.8885, allocations: 3.825 MB / 0.8285 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/0.9019, allocations: 5.392 MB / 0.8338 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01158/0.9135, allocations: 5.709 MB / 0.8394 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003825/0.9173, allocations: 0.8711 MB / 0.8402 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/0.9276, allocations: 3.431 MB / 0.8436 GB, free: 304 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005307/0.9329, allocations: 2.815 MB / 0.8463 GB, free: 13.47 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01056/0.9434, allocations: 4.509 MB / 0.8507 GB, free: 8.941 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0271/0.9705, allocations: 14.21 MB / 0.8646 GB, free: 10.69 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9705, allocations: 0 / 0.8646 GB, free: 10.69 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9705, allocations: 0 / 0.8646 GB, free: 10.69 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004446/0.971, allocations: 0 / 0.8646 GB, free: 10.69 MB / 0.6388 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.02752/0.9985, allocations: 9.065 MB / 0.8734 GB, free: 1.562 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.9985, allocations: 10.69 kB / 0.8735 GB, free: 1.555 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005521/1.004, allocations: 1.095 MB / 0.8745 GB, free: 468 kB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01795/1.022, allocations: 6.999 MB / 0.8814 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004459/1.022, allocations: 312.4 kB / 0.8817 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001925/1.024, allocations: 404 kB / 0.882 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03295/1.057, allocations: 11.49 MB / 0.8933 GB, free: 12.07 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002559/1.058, allocations: 47.56 kB / 0.8933 GB, free: 12.03 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002005/1.06, allocations: 206.6 kB / 0.8935 GB, free: 11.83 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006453/1.06, allocations: 378.2 kB / 0.8939 GB, free: 11.46 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02946/1.09, allocations: 9.785 MB / 0.9034 GB, free: 1.664 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.06042/1.15, allocations: 42.26 MB / 0.9447 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02434/1.174, allocations: 8.199 MB / 0.9527 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007204/1.182, allocations: 3.079 MB / 0.9557 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/1.183, allocations: 289.1 kB / 0.956 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02024/1.203, allocations: 6.672 MB / 0.9625 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004229/1.207, allocations: 0.7865 MB / 0.9633 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 1.787e-05/1.207, allocations: 0 / 0.9633 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1084/1.316, allocations: 50.42 MB / 1.012 GB, free: 96 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008704/1.317, allocations: 1.534 MB / 1.014 GB, free: 14.21 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01086/1.327, allocations: 6.128 MB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001564/1.329, allocations: 97.7 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003081/1.332, allocations: 2.829 MB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00515/1.337, allocations: 2.978 MB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004246/1.341, allocations: 1.797 MB / 1.027 GB, free: 336 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.342, allocations: 301.1 kB / 1.028 GB, free: 32 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008437/1.35, allocations: 4.172 MB / 1.032 GB, free: 11.84 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01164/1.362, allocations: 6.515 MB / 1.038 GB, free: 4.375 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6009/1.963, allocations: 51.06 MB / 1.088 GB, free: 341.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.441e-05/1.963, allocations: 18.06 kB / 1.088 GB, free: 341.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.0263/1.989, allocations: 12.63 MB / 1.1 GB, free: 333.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-05/1.989, allocations: 71.56 kB / 1.1 GB, free: 333.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0191/2.008, allocations: 9.995 MB / 1.11 GB, free: 323.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003651/2.012, allocations: 1.041 MB / 1.111 GB, free: 322.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009002/2.021, allocations: 2.348 MB / 1.114 GB, free: 319.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/2.032, allocations: 11.79 MB / 1.125 GB, free: 307.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006192/2.038, allocations: 322.1 kB / 1.125 GB, free: 307.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001896/2.04, allocations: 0.5426 MB / 1.126 GB, free: 306.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.01201/2.052, allocations: 5.873 MB / 1.132 GB, free: 300.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009343/2.061, allocations: 6.471 MB / 1.138 GB, free: 293.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2748/2.336, allocations: 50.95 MB / 1.188 GB, free: 241.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.486e-05/2.336, allocations: 20 kB / 1.188 GB, free: 241.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02418/2.36, allocations: 12.27 MB / 1.2 GB, free: 229.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.589e-05/2.361, allocations: 67.41 kB / 1.2 GB, free: 229.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01904/2.38, allocations: 9.649 MB / 1.209 GB, free: 219.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/2.382, allocations: 0.7384 MB / 1.21 GB, free: 218.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008904/2.391, allocations: 2.356 MB / 1.212 GB, free: 216.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/2.401, allocations: 11.61 MB / 1.224 GB, free: 204.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005729/2.407, allocations: 324.3 kB / 1.224 GB, free: 204 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/2.408, allocations: 0.5386 MB / 1.224 GB, free: 203.4 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.002929/2.411, allocations: 0.7337 MB / 1.225 GB, free: 202.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002808/2.414, allocations: 0.771 MB / 1.226 GB, free: 202.2 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.02025/2.434, allocations: 10.61 MB / 1.236 GB, free: 192 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.36653846106492] Failed to read output from testmodel.py, exit status != 0: 2.5812506428919733 2.592318784 1.618865133 Calling exit ...