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.01052/0.01052, allocations: 2.335 MB / 21.18 MB, free: 3.531 MB / 13.93 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.0007339/0.0007339, allocations: 123.5 kB / 24.89 MB, free: 236 kB / 13.93 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.0009186/0.0009186, allocations: 216.3 kB / 28.73 MB, free: 1.039 MB / 18.57 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 0.9522/0.9522, allocations: 230.6 MB / 263 MB, free: 0.5352 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7047/0.7047, allocations: 130.7 MB / 450.7 MB, free: 2.773 MB / 346.8 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "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: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.03506/0.03506, allocations: 29.94 MB / 0.6466 GB, free: 6.816 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1564, allocations: 82.04 MB / 0.7267 GB, free: 4.68 MB / 0.5418 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.3723/0.5287, allocations: 57.12 MB / 0.7825 GB, free: 12.26 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02819/0.5568, allocations: 24.11 MB / 0.806 GB, free: 9.078 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005322/0.5622, allocations: 161.2 kB / 0.8062 GB, free: 9 MB / 0.573 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.00673/0.5689, allocations: 3.064 MB / 0.8092 GB, free: 6.594 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.5791, allocations: 4.781 MB / 0.8138 GB, free: 1.828 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007466/0.5865, allocations: 4.117 MB / 0.8179 GB, free: 13.74 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.01347/0.6, allocations: 12.95 MB / 0.8305 GB, free: 0.7578 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005118/0.6051, allocations: 4.071 MB / 0.8345 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007864/0.613, allocations: 5.412 MB / 0.8398 GB, free: 7.191 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007425/0.6204, allocations: 5.455 MB / 0.8451 GB, free: 1.719 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.002539/0.6229, allocations: 0.8672 MB / 0.8459 GB, free: 0.8516 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005823/0.6288, allocations: 2.595 MB / 0.8485 GB, free: 14.26 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.003481/0.6322, allocations: 2.818 MB / 0.8512 GB, free: 11.44 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.005394/0.6376, allocations: 3.491 MB / 0.8546 GB, free: 7.93 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.6533, allocations: 14.08 MB / 0.8684 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6533, allocations: 0 / 0.8684 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6533, allocations: 0 / 0.8684 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003955/0.6537, allocations: 0 / 0.8684 GB, free: 9.801 MB / 0.6355 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.01605/0.6698, allocations: 9.058 MB / 0.8772 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.6698, allocations: 8.031 kB / 0.8772 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00109/0.6709, allocations: 0.7489 MB / 0.878 GB, free: 15.9 MB / 0.6512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/0.6734, allocations: 1.091 MB / 0.879 GB, free: 14.81 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.6844, allocations: 7.015 MB / 0.8859 GB, free: 7.742 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.6847, allocations: 304.4 kB / 0.8862 GB, free: 7.441 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.6857, allocations: 407.8 kB / 0.8866 GB, free: 7.043 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01997/0.7057, allocations: 13.52 MB / 0.8998 GB, free: 7.801 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.209e-05/0.7058, allocations: 43.56 kB / 0.8998 GB, free: 7.758 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005111/0.7063, allocations: 210.6 kB / 0.9 GB, free: 7.555 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002974/0.7066, allocations: 374.2 kB / 0.9004 GB, free: 7.188 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.7244, allocations: 9.776 MB / 0.9099 GB, free: 13.4 MB / 0.6824 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.03575/0.7601, allocations: 39.68 MB / 0.9487 GB, free: 4.539 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01427/0.7744, allocations: 8.198 MB / 0.9567 GB, free: 12.17 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004934/0.7793, allocations: 3.102 MB / 0.9597 GB, free: 8.996 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/0.78, allocations: 257.2 kB / 0.9599 GB, free: 8.746 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01217/0.7921, allocations: 6.696 MB / 0.9665 GB, free: 1.898 MB / 0.7293 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002486/0.7946, allocations: 0.8007 MB / 0.9673 GB, free: 1.098 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=870): time 1.646e-05/0.7946, allocations: 0 / 0.9673 GB, free: 1.098 MB / 0.7293 GB Notification: Performance of matching and sorting (n=872): time 0.0622/0.8568, allocations: 50.47 MB / 1.017 GB, free: 14.29 MB / 0.7918 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004871/0.8573, allocations: 1.539 MB / 1.018 GB, free: 12.4 MB / 0.7918 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007517/0.8648, allocations: 6.221 MB / 1.024 GB, free: 6.191 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 0.001832/0.8667, allocations: 97.7 kB / 1.024 GB, free: 6.09 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.002106/0.8688, allocations: 2.845 MB / 1.027 GB, free: 3.223 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.002835/0.8716, allocations: 2.966 MB / 1.03 GB, free: 236 kB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002319/0.8739, allocations: 1.791 MB / 1.032 GB, free: 14.42 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.874, allocations: 301.1 kB / 1.032 GB, free: 14.12 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005366/0.8794, allocations: 4.209 MB / 1.036 GB, free: 9.891 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007121/0.8865, allocations: 7.256 MB / 1.043 GB, free: 1.449 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3898/1.276, allocations: 51.09 MB / 1.093 GB, free: 335.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.591e-05/1.276, allocations: 20 kB / 1.093 GB, free: 335.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01615/1.292, allocations: 12.66 MB / 1.105 GB, free: 323.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-05/1.293, allocations: 73.62 kB / 1.105 GB, free: 323.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01153/1.304, allocations: 10.04 MB / 1.115 GB, free: 313.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001815/1.306, allocations: 1.044 MB / 1.116 GB, free: 312.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004933/1.311, allocations: 2.348 MB / 1.119 GB, free: 310 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006593/1.317, allocations: 11.74 MB / 1.13 GB, free: 297.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004114/1.322, allocations: 318.6 kB / 1.13 GB, free: 297.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.323, allocations: 0.5427 MB / 1.131 GB, free: 296.8 MB / 0.823 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.007043/1.33, allocations: 5.905 MB / 1.137 GB, free: 290.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005158/1.335, allocations: 7.211 MB / 1.144 GB, free: 282.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1278/1.463, allocations: 50.97 MB / 1.193 GB, free: 230.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.478e-05/1.463, allocations: 20 kB / 1.193 GB, free: 230.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01522/1.478, allocations: 12.31 MB / 1.206 GB, free: 218.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/1.478, allocations: 65.69 kB / 1.206 GB, free: 218.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01065/1.489, allocations: 9.695 MB / 1.215 GB, free: 208.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/1.49, allocations: 0.7335 MB / 1.216 GB, free: 208 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004505/1.494, allocations: 2.356 MB / 1.218 GB, free: 205.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005803/1.5, allocations: 11.55 MB / 1.229 GB, free: 193.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003748/1.504, allocations: 316.3 kB / 1.23 GB, free: 193.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008316/1.505, allocations: 0.5348 MB / 1.23 GB, free: 192.7 MB / 0.823 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.001762/1.506, allocations: 0.7286 MB / 1.231 GB, free: 192 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001379/1.508, allocations: 0.7723 MB / 1.232 GB, free: 191.4 MB / 0.823 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.01179/1.519, allocations: 10.68 MB / 1.242 GB, free: 181.1 MB / 0.823 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.241058894433081]