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.0107/0.0107, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001287/0.001287, allocations: 99.84 kB / 24.18 MB, free: 2.438 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.001737/0.001737, allocations: 213.5 kB / 27.9 MB, free: 3.742 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.504/1.504, allocations: 230.6 MB / 262.1 MB, free: 5.832 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.09/1.09, allocations: 130.7 MB / 449.7 MB, free: 6.418 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.06818/0.06818, allocations: 20.98 MB / 0.6358 GB, free: 4.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.2412, allocations: 81.91 MB / 0.7158 GB, free: 2.703 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.5061/0.7473, allocations: 57.13 MB / 0.7716 GB, free: 13.01 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03684/0.7841, allocations: 24.11 MB / 0.7952 GB, free: 12.11 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007606/0.7917, allocations: 157.3 kB / 0.7953 GB, free: 12.04 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.009248/0.801, allocations: 3.06 MB / 0.7983 GB, free: 9.926 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01655/0.8175, allocations: 4.774 MB / 0.803 GB, free: 6.188 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.829, allocations: 4.119 MB / 0.807 GB, free: 3.027 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02092/0.8499, allocations: 12.95 MB / 0.8196 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007657/0.8576, allocations: 4.078 MB / 0.8236 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/0.8694, allocations: 5.4 MB / 0.8289 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/0.881, allocations: 5.454 MB / 0.8342 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003355/0.8843, allocations: 0.871 MB / 0.8351 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008671/0.893, allocations: 2.594 MB / 0.8376 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005177/0.8982, allocations: 2.807 MB / 0.8403 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008727/0.9069, allocations: 3.499 MB / 0.8438 GB, free: 15.38 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02532/0.9322, allocations: 14.08 MB / 0.8575 GB, free: 1.262 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.9322, allocations: 4 kB / 0.8575 GB, free: 1.258 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9322, allocations: 0 / 0.8575 GB, free: 1.258 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004308/0.9326, allocations: 2.625 kB / 0.8575 GB, free: 1.258 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.02763/0.9603, allocations: 9.053 MB / 0.8664 GB, free: 8.137 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.9603, allocations: 8.031 kB / 0.8664 GB, free: 8.129 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00263/0.963, allocations: 0.7449 MB / 0.8671 GB, free: 7.371 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004208/0.9672, allocations: 1.095 MB / 0.8682 GB, free: 6.273 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01675/0.9839, allocations: 7.011 MB / 0.875 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004367/0.9843, allocations: 304.4 kB / 0.8753 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001739/0.9861, allocations: 403.9 kB / 0.8757 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0299/1.016, allocations: 13.52 MB / 0.8889 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/1.016, allocations: 43.56 kB / 0.8889 GB, free: 15.23 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006573/1.017, allocations: 204 kB / 0.8891 GB, free: 15.03 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004847/1.017, allocations: 378.2 kB / 0.8895 GB, free: 14.66 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02738/1.045, allocations: 9.77 MB / 0.899 GB, free: 4.879 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.05917/1.104, allocations: 39.7 MB / 0.9378 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02236/1.126, allocations: 8.195 MB / 0.9458 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006525/1.133, allocations: 3.105 MB / 0.9488 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000846/1.134, allocations: 257.3 kB / 0.9491 GB, free: 268 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01844/1.152, allocations: 6.7 MB / 0.9556 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003808/1.156, allocations: 0.7969 MB / 0.9564 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 1.85e-05/1.156, allocations: 0 / 0.9564 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1007/1.256, allocations: 50.48 MB / 1.006 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001155/1.258, allocations: 1.533 MB / 1.007 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/1.27, allocations: 6.221 MB / 1.013 GB, free: 13.7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001806/1.272, allocations: 101.7 kB / 1.013 GB, free: 13.59 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003193/1.275, allocations: 2.837 MB / 1.016 GB, free: 10.73 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004564/1.28, allocations: 2.974 MB / 1.019 GB, free: 7.734 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003821/1.284, allocations: 1.795 MB / 1.021 GB, free: 5.926 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.284, allocations: 303.8 kB / 1.021 GB, free: 5.629 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008144/1.292, allocations: 4.202 MB / 1.025 GB, free: 1.402 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/1.304, allocations: 7.256 MB / 1.032 GB, free: 8.961 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5889/1.893, allocations: 51.08 MB / 1.082 GB, free: 342.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.469e-05/1.893, allocations: 25.28 kB / 1.082 GB, free: 342.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02587/1.918, allocations: 12.66 MB / 1.095 GB, free: 335.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.44e-05/1.919, allocations: 67.41 kB / 1.095 GB, free: 335.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01885/1.937, allocations: 10.04 MB / 1.104 GB, free: 325.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003349/1.941, allocations: 1.042 MB / 1.105 GB, free: 324.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008351/1.949, allocations: 2.344 MB / 1.108 GB, free: 321.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/1.96, allocations: 11.75 MB / 1.119 GB, free: 309.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006251/1.966, allocations: 321.9 kB / 1.119 GB, free: 309.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001919/1.968, allocations: 0.5387 MB / 1.12 GB, free: 308.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.01171/1.979, allocations: 5.905 MB / 1.126 GB, free: 302.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009055/1.989, allocations: 7.211 MB / 1.133 GB, free: 294.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2593/2.248, allocations: 50.97 MB / 1.183 GB, free: 242.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.202e-05/2.248, allocations: 20.55 kB / 1.183 GB, free: 242.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02524/2.273, allocations: 12.31 MB / 1.195 GB, free: 230.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/2.273, allocations: 69.69 kB / 1.195 GB, free: 230.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01804/2.291, allocations: 9.69 MB / 1.204 GB, free: 220.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/2.293, allocations: 0.7408 MB / 1.205 GB, free: 219.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009091/2.303, allocations: 2.356 MB / 1.207 GB, free: 217.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/2.313, allocations: 11.55 MB / 1.218 GB, free: 205.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007895/2.321, allocations: 326.5 kB / 1.219 GB, free: 205 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002453/2.324, allocations: 0.5348 MB / 1.219 GB, free: 204.5 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.00341/2.327, allocations: 0.7303 MB / 1.22 GB, free: 203.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002845/2.33, allocations: 0.7701 MB / 1.221 GB, free: 203.3 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.0212/2.351, allocations: 10.67 MB / 1.231 GB, free: 193 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.329593857750297] Failed to read output from testmodel.py, exit status != 0: 2.489199637901038 2.500231081 1.565419746 Calling exit ...