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.01037/0.01037, allocations: 1.75 MB / 20.6 MB, free: 1.027 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.001284/0.001284, allocations: 95.38 kB / 24.18 MB, free: 2.469 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.001601/0.001601, allocations: 212.9 kB / 27.9 MB, free: 3.77 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.475/1.475, allocations: 230.6 MB / 262.1 MB, free: 5.848 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.062/1.062, allocations: 130.7 MB / 449.6 MB, free: 6.445 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: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="me",version="2.0",platforms={"static"}) [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.06595/0.06595, allocations: 20.98 MB / 0.6358 GB, free: 4.738 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.2364, allocations: 81.91 MB / 0.7158 GB, free: 2.734 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.5362/0.7726, allocations: 57.13 MB / 0.7716 GB, free: 13.03 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04693/0.8196, allocations: 24.11 MB / 0.7952 GB, free: 12.14 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00901/0.8286, allocations: 156.8 kB / 0.7953 GB, free: 12.07 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.01012/0.8387, allocations: 3.067 MB / 0.7983 GB, free: 9.953 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01754/0.8562, allocations: 4.777 MB / 0.803 GB, free: 6.215 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01271/0.8689, allocations: 4.119 MB / 0.807 GB, free: 3.055 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02284/0.8918, allocations: 12.95 MB / 0.8196 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008788/0.9006, allocations: 4.07 MB / 0.8236 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01201/0.9126, allocations: 5.4 MB / 0.8289 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01093/0.9235, allocations: 5.457 MB / 0.8342 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003446/0.9269, allocations: 0.8737 MB / 0.8351 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0118/0.9387, allocations: 2.597 MB / 0.8376 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00698/0.9457, allocations: 2.811 MB / 0.8403 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009844/0.9556, allocations: 3.487 MB / 0.8438 GB, free: 15.45 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02708/0.9826, allocations: 14.09 MB / 0.8575 GB, free: 1.316 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.9826, allocations: 0 / 0.8575 GB, free: 1.316 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.414e-06/0.9826, allocations: 2.656 kB / 0.8575 GB, free: 1.316 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004842/0.9831, allocations: 0 / 0.8575 GB, free: 1.316 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.02695/1.01, allocations: 9.054 MB / 0.8664 GB, free: 8.195 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/1.01, allocations: 15.97 kB / 0.8664 GB, free: 8.18 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003009/1.013, allocations: 0.741 MB / 0.8671 GB, free: 7.426 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005726/1.019, allocations: 1.095 MB / 0.8682 GB, free: 6.328 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01927/1.038, allocations: 7.01 MB / 0.875 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004981/1.039, allocations: 308.3 kB / 0.8753 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002404/1.041, allocations: 399.9 kB / 0.8757 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03353/1.075, allocations: 13.52 MB / 0.8889 GB, free: 15.33 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002383/1.075, allocations: 47.56 kB / 0.8889 GB, free: 15.29 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001759/1.077, allocations: 200 kB / 0.8891 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006151/1.077, allocations: 382.1 kB / 0.8895 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02751/1.105, allocations: 9.774 MB / 0.899 GB, free: 4.93 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.05905/1.164, allocations: 39.68 MB / 0.9378 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02291/1.187, allocations: 8.2 MB / 0.9458 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007058/1.194, allocations: 3.105 MB / 0.9488 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/1.195, allocations: 254.6 kB / 0.9491 GB, free: 328 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02009/1.215, allocations: 6.704 MB / 0.9556 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004315/1.219, allocations: 0.7982 MB / 0.9564 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 2.376e-05/1.219, allocations: 2.656 kB / 0.9564 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1062/1.326, allocations: 50.47 MB / 1.006 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008806/1.326, allocations: 1.541 MB / 1.007 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01139/1.338, allocations: 6.221 MB / 1.013 GB, free: 13.75 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002135/1.34, allocations: 104.3 kB / 1.013 GB, free: 13.64 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003401/1.343, allocations: 2.833 MB / 1.016 GB, free: 10.79 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.005207/1.349, allocations: 2.974 MB / 1.019 GB, free: 7.789 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003727/1.352, allocations: 1.791 MB / 1.021 GB, free: 5.984 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.352, allocations: 301.1 kB / 1.021 GB, free: 5.688 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007717/1.36, allocations: 4.205 MB / 1.025 GB, free: 1.461 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01135/1.372, allocations: 7.256 MB / 1.032 GB, free: 9.012 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.593/1.965, allocations: 51.08 MB / 1.082 GB, free: 342.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-05/1.965, allocations: 19 kB / 1.082 GB, free: 342.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.0285/1.993, allocations: 12.66 MB / 1.095 GB, free: 335.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/1.993, allocations: 66.27 kB / 1.095 GB, free: 335.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0211/2.014, allocations: 10.04 MB / 1.104 GB, free: 325.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003517/2.018, allocations: 1.046 MB / 1.105 GB, free: 324.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008482/2.026, allocations: 2.356 MB / 1.108 GB, free: 321.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/2.037, allocations: 11.73 MB / 1.119 GB, free: 309.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007662/2.045, allocations: 315.5 kB / 1.119 GB, free: 309.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002605/2.048, allocations: 0.5465 MB / 1.12 GB, free: 308.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01211/2.06, allocations: 5.898 MB / 1.126 GB, free: 302.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008374/2.068, allocations: 7.214 MB / 1.133 GB, free: 294.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2545/2.322, allocations: 50.97 MB / 1.183 GB, free: 242.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.566e-05/2.323, allocations: 16 kB / 1.183 GB, free: 242.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02238/2.345, allocations: 12.32 MB / 1.195 GB, free: 230.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.877e-05/2.345, allocations: 65.69 kB / 1.195 GB, free: 230.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01609/2.361, allocations: 9.688 MB / 1.204 GB, free: 220.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/2.363, allocations: 0.7279 MB / 1.205 GB, free: 220 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007992/2.371, allocations: 2.359 MB / 1.207 GB, free: 217.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009441/2.38, allocations: 11.55 MB / 1.218 GB, free: 205.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006496/2.387, allocations: 318.3 kB / 1.219 GB, free: 205.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001695/2.389, allocations: 0.5348 MB / 1.219 GB, free: 204.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: 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.002359/2.391, allocations: 0.736 MB / 1.22 GB, free: 203.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002335/2.393, allocations: 0.7753 MB / 1.221 GB, free: 203.4 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.01681/2.41, allocations: 10.67 MB / 1.231 GB, free: 193.1 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.2526034959591925] Failed to read output from testmodel.py, exit status != 0: 2.5551685611717403 2.567189304 1.581535447 Calling exit ...