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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.01016/0.01016, allocations: 1.762 MB / 20.61 MB, free: 3.863 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.09299/0.09299, allocations: 25.61 MB / 49.71 MB, free: 2.922 MB / 33.03 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.0009906/0.0009906, allocations: 118.1 kB / 60.66 MB, free: 3.02 MB / 44.04 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.001137/0.001137, allocations: 217.9 kB / 71.72 MB, free: 6.469 MB / 44.04 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.9742/0.9742, allocations: 230.6 MB / 313.3 MB, free: 11.77 MB / 234.7 MB " [Timeout remaining time 179] 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 0.7823/0.7823, allocations: 130.7 MB / 0.4963 GB, free: 2.172 MB / 362.8 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="me_cs",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: 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: 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: Performance of FrontEnd - loaded program: time 0.002805/0.002805, allocations: 158.7 kB / 0.69 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1573, allocations: 89.25 MB / 0.7772 GB, free: 3.012 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator): time 0.0191/0.1764, allocations: 24.14 MB / 0.8008 GB, free: 10.77 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.03105/0.2074, allocations: 24.11 MB / 0.8243 GB, free: 2.59 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005575/0.213, allocations: 162.8 kB / 0.8245 GB, free: 2.43 MB / 0.5887 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.005639/0.2186, allocations: 3.063 MB / 0.8275 GB, free: 15.35 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.009534/0.2282, allocations: 4.777 MB / 0.8321 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.007447/0.2356, allocations: 4.118 MB / 0.8362 GB, free: 6.438 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.01409/0.2497, allocations: 12.95 MB / 0.8488 GB, free: 9.445 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006373/0.2561, allocations: 4.062 MB / 0.8528 GB, free: 5.316 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009747/0.2658, allocations: 5.412 MB / 0.8581 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007788/0.2736, allocations: 5.463 MB / 0.8634 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.00185/0.2755, allocations: 0.8672 MB / 0.8642 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005279/0.2807, allocations: 2.585 MB / 0.8668 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002177/0.2829, allocations: 2.811 MB / 0.8695 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004206/0.2871, allocations: 3.499 MB / 0.8729 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.2987, allocations: 14.08 MB / 0.8867 GB, free: 2.48 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2987, allocations: 0 / 0.8867 GB, free: 2.48 MB / 0.6512 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2987, allocations: 0 / 0.8867 GB, free: 2.48 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.0002421/0.2989, allocations: 0 / 0.8867 GB, free: 2.48 MB / 0.6512 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.01131/0.3102, allocations: 9.05 MB / 0.8955 GB, free: 9.328 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3103, allocations: 11.97 kB / 0.8955 GB, free: 9.316 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006817/0.311, allocations: 0.7488 MB / 0.8963 GB, free: 8.555 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.3128, allocations: 1.092 MB / 0.8973 GB, free: 7.457 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00841/0.3212, allocations: 7.005 MB / 0.9042 GB, free: 388 kB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.3214, allocations: 308.4 kB / 0.9045 GB, free: 76 kB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3014/0.6228, allocations: 404.6 kB / 0.9048 GB, free: 112.8 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02046/0.6433, allocations: 13.52 MB / 0.918 GB, free: 104.4 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-05/0.6434, allocations: 46.95 kB / 0.9181 GB, free: 104.4 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004883/0.6439, allocations: 204.3 kB / 0.9183 GB, free: 104.3 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004909/0.6444, allocations: 374.8 kB / 0.9186 GB, free: 104.2 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/0.661, allocations: 9.775 MB / 0.9282 GB, free: 100.9 MB / 0.6668 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.024/0.685, allocations: 39.7 MB / 0.967 GB, free: 66.37 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.696, allocations: 8.194 MB / 0.975 GB, free: 58.01 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.6989, allocations: 3.105 MB / 0.978 GB, free: 54.83 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004394/0.6994, allocations: 250.7 kB / 0.9782 GB, free: 54.59 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008434/0.7078, allocations: 6.702 MB / 0.9848 GB, free: 47.73 MB / 0.6668 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002375/0.7102, allocations: 0.8018 MB / 0.9856 GB, free: 47.11 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=870): time 1.281e-05/0.7102, allocations: 0 / 0.9856 GB, free: 47.11 MB / 0.6668 GB Notification: Performance of matching and sorting (n=872): time 0.0464/0.7566, allocations: 50.46 MB / 1.035 GB, free: 12.36 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004879/0.7571, allocations: 1.541 MB / 1.036 GB, free: 10.46 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00661/0.7637, allocations: 6.216 MB / 1.042 GB, free: 4.344 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0006211/0.7643, allocations: 101.7 kB / 1.043 GB, free: 4.238 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.001743/0.7661, allocations: 2.84 MB / 1.045 GB, free: 1.617 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.001989/0.768, allocations: 2.972 MB / 1.048 GB, free: 15.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001898/0.7699, allocations: 1.791 MB / 1.05 GB, free: 13.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.7701, allocations: 307.9 kB / 1.05 GB, free: 12.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004776/0.7749, allocations: 4.202 MB / 1.054 GB, free: 8.703 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0062/0.7811, allocations: 7.257 MB / 1.061 GB, free: 268 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1328/0.9139, allocations: 51.1 MB / 1.111 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.951e-05/0.9139, allocations: 20 kB / 1.111 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01848/0.9324, allocations: 12.66 MB / 1.124 GB, free: 15.49 MB / 0.7762 GB Notification: Performance of prepare postOptimizeDAE: time 7.316e-05/0.9325, allocations: 69.75 kB / 1.124 GB, free: 15.42 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01214/0.9446, allocations: 10.04 MB / 1.134 GB, free: 5.316 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/0.9465, allocations: 1.044 MB / 1.135 GB, free: 4.266 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004368/0.9509, allocations: 2.348 MB / 1.137 GB, free: 1.914 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008044/0.959, allocations: 11.74 MB / 1.148 GB, free: 5.48 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003765/0.9627, allocations: 319.7 kB / 1.149 GB, free: 5.168 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006688/0.9634, allocations: 0.539 MB / 1.149 GB, free: 4.629 MB / 0.7918 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.007557/0.9709, allocations: 5.911 MB / 1.155 GB, free: 14.71 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005863/0.9768, allocations: 7.21 MB / 1.162 GB, free: 6.309 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1328/1.11, allocations: 50.96 MB / 1.212 GB, free: 2.398 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-05/1.11, allocations: 20 kB / 1.212 GB, free: 2.379 MB / 0.8543 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01783/1.127, allocations: 12.32 MB / 1.224 GB, free: 5.992 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 6.625e-05/1.127, allocations: 65.69 kB / 1.224 GB, free: 5.922 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3757/1.503, allocations: 9.684 MB / 1.233 GB, free: 298.5 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/1.505, allocations: 0.7436 MB / 1.234 GB, free: 298.5 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006673/1.511, allocations: 2.361 MB / 1.236 GB, free: 298.5 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007231/1.519, allocations: 11.54 MB / 1.248 GB, free: 289.6 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004545/1.523, allocations: 319.4 kB / 1.248 GB, free: 289.4 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009916/1.524, allocations: 0.5381 MB / 1.248 GB, free: 289.3 MB / 0.8699 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.001997/1.526, allocations: 0.7222 MB / 1.249 GB, free: 288.8 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/1.527, allocations: 0.776 MB / 1.25 GB, free: 288.8 MB / 0.8699 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.01352/1.541, allocations: 10.68 MB / 1.26 GB, free: 285.2 MB / 0.8699 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.5896260887384415]