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.008234/0.008234, allocations: 1.795 MB / 21.35 MB, free: 3.195 MB / 18.57 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.001207/0.001207, allocations: 88.33 kB / 25.15 MB, free: 6.375 MB / 18.57 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.00149/0.00149, allocations: 161.8 kB / 29.06 MB, free: 3.379 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.9691/0.9691, allocations: 177.2 MB / 210 MB, free: 3.586 MB / 186.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.672/0.672, allocations: 102.5 MB / 369.5 MB, free: 380 kB / 330.7 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 1.0.0 (/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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 469.9 MB, free: 18.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.784e-05, allocations: 4.656 kB / 469.9 MB, free: 18.98 MB / 410.8 MB 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.1196/0.1196, allocations: 76.92 MB / 0.5341 GB, free: 10.99 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03146/0.151, allocations: 24.73 MB / 0.5582 GB, free: 2.188 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005211/0.1562, allocations: 154.9 kB / 0.5583 GB, free: 2.035 MB / 474.8 MB [/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.006623/0.1629, allocations: 3.082 MB / 0.5614 GB, free: 14.93 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.1734, allocations: 4.921 MB / 0.5662 GB, free: 9.984 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007271/0.1807, allocations: 4.163 MB / 0.5702 GB, free: 5.812 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01493/0.1956, allocations: 13.29 MB / 0.5832 GB, free: 8.492 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006441/0.202, allocations: 4.31 MB / 0.5874 GB, free: 4.113 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/0.2129, allocations: 7.308 MB / 0.5945 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006597/0.2195, allocations: 4.904 MB / 0.5993 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001656/0.2211, allocations: 0.8672 MB / 0.6002 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005778/0.2269, allocations: 2.62 MB / 0.6027 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.229, allocations: 2.905 MB / 0.6056 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003288/0.2322, allocations: 2.88 MB / 0.6084 GB, free: 14.58 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.01341/0.2456, allocations: 9.083 MB / 0.6173 GB, free: 5.469 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2456, allocations: 0 / 0.6173 GB, free: 5.469 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2456, allocations: 0 / 0.6173 GB, free: 5.469 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001273/0.2458, allocations: 0 / 0.6173 GB, free: 5.469 MB / 0.5262 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.01074/0.2565, allocations: 9.371 MB / 0.6264 GB, free: 12 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2566, allocations: 8.031 kB / 0.6264 GB, free: 11.99 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.2586, allocations: 1.42 MB / 0.6278 GB, free: 10.56 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00845/0.2671, allocations: 6.391 MB / 0.634 GB, free: 4.086 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/0.2673, allocations: 312.4 kB / 0.6343 GB, free: 3.777 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007092/0.268, allocations: 436.3 kB / 0.6348 GB, free: 3.352 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01899/0.287, allocations: 11.34 MB / 0.6458 GB, free: 5.867 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.977e-05/0.2871, allocations: 47.5 kB / 0.6459 GB, free: 5.82 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003447/0.2875, allocations: 208 kB / 0.6461 GB, free: 5.617 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002662/0.2877, allocations: 378.2 kB / 0.6464 GB, free: 5.246 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.252/0.5397, allocations: 5.435 MB / 0.6517 GB, free: 85.89 MB / 0.5574 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.02634/0.566, allocations: 50.5 MB / 0.7011 GB, free: 46.98 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009544/0.5756, allocations: 5.496 MB / 0.7064 GB, free: 46.17 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002153/0.5777, allocations: 1.506 MB / 0.7079 GB, free: 45.87 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004984/0.5782, allocations: 283 kB / 0.7082 GB, free: 45.85 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007716/0.5859, allocations: 4.658 MB / 0.7127 GB, free: 45.19 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002305/0.5882, allocations: 0.7864 MB / 0.7135 GB, free: 44.98 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=870): time 1.737e-05/0.5883, allocations: 0 / 0.7135 GB, free: 44.98 MB / 0.5574 GB Notification: Performance of matching and sorting (n=872): time 0.04951/0.6378, allocations: 41 MB / 0.7535 GB, free: 22.96 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002581/0.638, allocations: 1.533 MB / 0.755 GB, free: 21.15 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00533/0.6434, allocations: 5.272 MB / 0.7602 GB, free: 19.73 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.00058/0.6439, allocations: 101.6 kB / 0.7603 GB, free: 19.64 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.6454, allocations: 3.07 MB / 0.7633 GB, free: 17 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.00158/0.647, allocations: 3.027 MB / 0.7662 GB, free: 14.38 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001898/0.6489, allocations: 1.888 MB / 0.7681 GB, free: 13.29 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.799e-05/0.6489, allocations: 479.4 kB / 0.7685 GB, free: 12.82 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002731/0.6516, allocations: 1.684 MB / 0.7702 GB, free: 12.25 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003813/0.6554, allocations: 5.722 MB / 0.7758 GB, free: 6.559 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009814/0.6652, allocations: 8.983 MB / 0.7845 GB, free: 0.7344 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.672e-05/0.6653, allocations: 21.91 kB / 0.7845 GB, free: 0.7344 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01244/0.6777, allocations: 7.771 MB / 0.7921 GB, free: 10.11 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.75e-05/0.6778, allocations: 69.69 kB / 0.7922 GB, free: 10.04 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008682/0.6865, allocations: 5.249 MB / 0.7973 GB, free: 4.801 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/0.6883, allocations: 0.7572 MB / 0.7981 GB, free: 4.066 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004608/0.6929, allocations: 2.291 MB / 0.8003 GB, free: 1.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007111/0.7, allocations: 13.1 MB / 0.8131 GB, free: 4.184 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/0.7031, allocations: 303.8 kB / 0.8134 GB, free: 3.887 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006403/0.7038, allocations: 0.5426 MB / 0.8139 GB, free: 3.344 MB / 0.5887 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.004632/0.7084, allocations: 1.88 MB / 0.8157 GB, free: 1.453 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005056/0.7135, allocations: 5.692 MB / 0.8213 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01094/0.7244, allocations: 8.85 MB / 0.83 GB, free: 444 kB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.646e-05/0.7244, allocations: 16 kB / 0.83 GB, free: 428 kB / 0.6043 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01221/0.7366, allocations: 7.531 MB / 0.8373 GB, free: 9.293 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.769e-05/0.7367, allocations: 66.78 kB / 0.8374 GB, free: 9.223 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008152/0.7448, allocations: 4.991 MB / 0.8423 GB, free: 4.223 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.7461, allocations: 0.5423 MB / 0.8428 GB, free: 3.695 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004346/0.7504, allocations: 2.305 MB / 0.845 GB, free: 1.527 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007646/0.7581, allocations: 12.98 MB / 0.8577 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004253/0.7623, allocations: 296.4 kB / 0.858 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006557/0.763, allocations: 0.5412 MB / 0.8585 GB, free: 3.09 MB / 0.6355 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.002099/0.7651, allocations: 0.8219 MB / 0.8593 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/0.7666, allocations: 0.8805 MB / 0.8602 GB, free: 1.512 MB / 0.6355 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.01119/0.7778, allocations: 8.943 MB / 0.8689 GB, free: 9.34 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8473205282352865]