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.01482/0.01482, allocations: 1.787 MB / 20.88 MB, free: 3.648 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.00734/0.00734, allocations: 78.55 kB / 24.59 MB, free: 7.207 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.001791/0.001791, allocations: 167.5 kB / 28.4 MB, free: 4.312 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.9427/0.9427, allocations: 177.2 MB / 209.3 MB, free: 2.531 MB / 186.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.7167/0.7167, allocations: 102.4 MB / 368.7 MB, free: 1 MB / 330.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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5378 GB, free: 39.14 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.662e-05, allocations: 2.281 kB / 0.5378 GB, free: 39.13 MB / 490.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.125/0.125, allocations: 79.46 MB / 0.6154 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02818/0.1532, allocations: 23.83 MB / 0.6387 GB, free: 3.766 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005279/0.1585, allocations: 158.8 kB / 0.6388 GB, free: 3.609 MB / 0.5262 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.006376/0.1649, allocations: 3.082 MB / 0.6419 GB, free: 0.5117 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009409/0.1743, allocations: 4.909 MB / 0.6466 GB, free: 11.57 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.007035/0.1813, allocations: 4.163 MB / 0.6507 GB, free: 7.402 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01342/0.1947, allocations: 13.29 MB / 0.6637 GB, free: 10.06 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005614/0.2003, allocations: 4.105 MB / 0.6677 GB, free: 5.887 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/0.2115, allocations: 7.308 MB / 0.6748 GB, free: 14.56 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006736/0.2183, allocations: 4.895 MB / 0.6796 GB, free: 9.656 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001716/0.22, allocations: 0.8672 MB / 0.6805 GB, free: 8.789 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005207/0.2252, allocations: 2.628 MB / 0.683 GB, free: 6.156 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002734/0.2279, allocations: 2.885 MB / 0.6858 GB, free: 3.262 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.005538/0.2335, allocations: 2.884 MB / 0.6887 GB, free: 380 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01651/0.25, allocations: 14.09 MB / 0.7024 GB, free: 2.238 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.25, allocations: 0 / 0.7024 GB, free: 2.238 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.014e-06/0.25, allocations: 0 / 0.7024 GB, free: 2.238 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0004136/0.2504, allocations: 0 / 0.7024 GB, free: 2.238 MB / 0.5887 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.0179/0.2683, allocations: 8.96 MB / 0.7112 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.2684, allocations: 16.03 kB / 0.7112 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001113/0.2695, allocations: 0.7449 MB / 0.7119 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/0.2718, allocations: 1.092 MB / 0.713 GB, free: 7.309 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.2832, allocations: 7.007 MB / 0.7198 GB, free: 224 kB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.2834, allocations: 312.5 kB / 0.7201 GB, free: 15.91 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009566/0.2844, allocations: 400.2 kB / 0.7205 GB, free: 15.52 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02001/0.3044, allocations: 13.52 MB / 0.7337 GB, free: 284 kB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-05/0.3045, allocations: 47.56 kB / 0.7338 GB, free: 236 kB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000516/0.305, allocations: 207.9 kB / 0.734 GB, free: 28 kB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003043/0.3053, allocations: 374.2 kB / 0.7343 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01782/0.3231, allocations: 9.784 MB / 0.7439 GB, free: 5.852 MB / 0.6355 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.2822/0.6053, allocations: 39.58 MB / 0.7825 GB, free: 141.9 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/0.6193, allocations: 8.172 MB / 0.7905 GB, free: 139.3 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004931/0.6242, allocations: 3.12 MB / 0.7935 GB, free: 137.8 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007147/0.6249, allocations: 255 kB / 0.7938 GB, free: 137.8 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01238/0.6373, allocations: 6.718 MB / 0.8004 GB, free: 134.1 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003123/0.6404, allocations: 0.8111 MB / 0.8011 GB, free: 134 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=870): time 2.119e-05/0.6405, allocations: 1.219 kB / 0.8011 GB, free: 134 MB / 0.6512 GB Notification: Performance of matching and sorting (n=872): time 0.06502/0.7055, allocations: 50.49 MB / 0.8505 GB, free: 101.1 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/0.7057, allocations: 1.532 MB / 0.8519 GB, free: 99.19 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006498/0.7122, allocations: 6.226 MB / 0.858 GB, free: 93.06 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001527/0.7137, allocations: 96.42 kB / 0.8581 GB, free: 92.96 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.7151, allocations: 2.834 MB / 0.8609 GB, free: 90.36 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002818/0.7179, allocations: 2.932 MB / 0.8638 GB, free: 87.84 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002056/0.72, allocations: 1.771 MB / 0.8655 GB, free: 86.06 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.839e-05/0.72, allocations: 309.1 kB / 0.8658 GB, free: 85.75 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004473/0.7245, allocations: 4.205 MB / 0.8699 GB, free: 81.53 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00556/0.73, allocations: 7.268 MB / 0.877 GB, free: 73.11 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1348/0.8648, allocations: 51.12 MB / 0.9269 GB, free: 22.38 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-05/0.8649, allocations: 16 kB / 0.9269 GB, free: 22.37 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01744/0.8823, allocations: 12.68 MB / 0.9393 GB, free: 9.641 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.894e-05/0.8824, allocations: 65.62 kB / 0.9394 GB, free: 9.57 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01347/0.8958, allocations: 10.06 MB / 0.9492 GB, free: 15.47 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/0.8984, allocations: 1.042 MB / 0.9502 GB, free: 14.43 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006389/0.9048, allocations: 2.348 MB / 0.9525 GB, free: 12.08 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008864/0.9137, allocations: 11.72 MB / 0.964 GB, free: 15.68 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004769/0.9184, allocations: 322.2 kB / 0.9643 GB, free: 15.37 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00161/0.9201, allocations: 0.5505 MB / 0.9648 GB, free: 14.82 MB / 0.6824 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.009825/0.9299, allocations: 5.905 MB / 0.9706 GB, free: 8.902 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008196/0.9381, allocations: 7.222 MB / 0.9776 GB, free: 0.4922 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.145/1.083, allocations: 50.98 MB / 1.027 GB, free: 12.61 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.938e-05/1.083, allocations: 20 kB / 1.027 GB, free: 12.59 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02176/1.105, allocations: 12.32 MB / 1.039 GB, free: 216 kB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/1.105, allocations: 73.62 kB / 1.04 GB, free: 136 kB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2455/1.35, allocations: 9.69 MB / 1.049 GB, free: 251.4 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/1.352, allocations: 0.741 MB / 1.05 GB, free: 251.2 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00589/1.358, allocations: 2.361 MB / 1.052 GB, free: 251.1 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006989/1.365, allocations: 11.53 MB / 1.063 GB, free: 241.4 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004556/1.369, allocations: 320.8 kB / 1.064 GB, free: 241.2 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/1.371, allocations: 0.5434 MB / 1.064 GB, free: 241.1 MB / 0.7449 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.002019/1.373, allocations: 0.7312 MB / 1.065 GB, free: 240.6 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001789/1.374, allocations: 0.7723 MB / 1.066 GB, free: 240.6 MB / 0.7449 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.01398/1.388, allocations: 10.67 MB / 1.076 GB, free: 237.3 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.225166539661586]