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.006248/0.006248, allocations: 1.443 MB / 21.3 MB, free: 3.254 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.0007089/0.0007089, allocations: 90.55 kB / 24.91 MB, free: 7.266 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.0007816/0.0007816, allocations: 164.7 kB / 28.62 MB, free: 4.445 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.8877/0.8877, allocations: 177.2 MB / 209.4 MB, free: 2.973 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.7752/0.7752, allocations: 102.4 MB / 368.7 MB, free: 1.445 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 0.5.2 (/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.1.|tank_L3_adv.wall.U.2.|tank_L3_adv.wall.U.3.",fileNamePrefix="ClaRa_dev_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.1.|tank_L3_adv.wall.U.2.|tank_L3_adv.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0 / 0.5374 GB, free: 39.67 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.244e-05, allocations: 5.516 kB / 0.5374 GB, free: 39.67 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.1209/0.1209, allocations: 70.77 MB / 0.6065 GB, free: 5.105 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03167/0.1526, allocations: 23.84 MB / 0.6298 GB, free: 13.19 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005041/0.1577, allocations: 154.8 kB / 0.6299 GB, free: 13.04 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.005001/0.1627, allocations: 3.082 MB / 0.6329 GB, free: 9.941 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009156/0.1718, allocations: 4.917 MB / 0.6377 GB, free: 4.996 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006604/0.1784, allocations: 4.167 MB / 0.6418 GB, free: 0.8203 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01261/0.191, allocations: 13.29 MB / 0.6548 GB, free: 3.488 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004942/0.196, allocations: 4.089 MB / 0.6588 GB, free: 15.33 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008506/0.2045, allocations: 7.312 MB / 0.6659 GB, free: 8.004 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005512/0.21, allocations: 4.885 MB / 0.6707 GB, free: 3.105 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.2111, allocations: 0.8711 MB / 0.6715 GB, free: 2.234 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004394/0.2155, allocations: 2.62 MB / 0.6741 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001693/0.2172, allocations: 2.893 MB / 0.6769 GB, free: 12.71 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003246/0.2205, allocations: 2.868 MB / 0.6797 GB, free: 9.832 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01715/0.2376, allocations: 14.1 MB / 0.6935 GB, free: 11.69 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2376, allocations: 4 kB / 0.6935 GB, free: 11.68 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2376, allocations: 4 kB / 0.6935 GB, free: 11.68 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0001929/0.2378, allocations: 0 / 0.6935 GB, free: 11.68 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.01172/0.2495, allocations: 8.968 MB / 0.7023 GB, free: 2.617 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2496, allocations: 12.03 kB / 0.7023 GB, free: 2.605 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.2514, allocations: 1.092 MB / 0.7033 GB, free: 1.508 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007874/0.2593, allocations: 7.018 MB / 0.7102 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.2594, allocations: 304.4 kB / 0.7105 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000448/0.2599, allocations: 404.3 kB / 0.7109 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.276, allocations: 13.52 MB / 0.7241 GB, free: 10.47 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.344e-05/0.2761, allocations: 51.5 kB / 0.7241 GB, free: 10.42 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003918/0.2765, allocations: 208 kB / 0.7243 GB, free: 10.21 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002604/0.2767, allocations: 378.2 kB / 0.7247 GB, free: 9.844 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.2909, allocations: 9.777 MB / 0.7342 GB, free: 44 kB / 0.6199 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.3172/0.608, allocations: 38.85 MB / 0.7722 GB, free: 147.5 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01555/0.6236, allocations: 8.187 MB / 0.7802 GB, free: 145.6 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00436/0.6279, allocations: 3.108 MB / 0.7832 GB, free: 144.1 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005479/0.6285, allocations: 254.2 kB / 0.7834 GB, free: 144.1 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009985/0.6385, allocations: 6.697 MB / 0.79 GB, free: 140.8 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002721/0.6412, allocations: 0.768 MB / 0.7907 GB, free: 140.6 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=870): time 1.095e-05/0.6412, allocations: 0 / 0.7907 GB, free: 140.6 MB / 0.6512 GB Notification: Performance of matching and sorting (n=872): time 0.05542/0.6966, allocations: 50.47 MB / 0.84 GB, free: 105 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002113/0.6968, allocations: 1.532 MB / 0.8415 GB, free: 103.1 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005536/0.7024, allocations: 5.968 MB / 0.8473 GB, free: 97.21 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001331/0.7037, allocations: 101.7 kB / 0.8474 GB, free: 97.11 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.7049, allocations: 2.85 MB / 0.8502 GB, free: 94.5 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001734/0.7066, allocations: 2.935 MB / 0.8531 GB, free: 91.98 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001704/0.7083, allocations: 1.771 MB / 0.8548 GB, free: 90.2 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.7084, allocations: 305.1 kB / 0.8551 GB, free: 89.9 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004358/0.7127, allocations: 4.209 MB / 0.8592 GB, free: 85.67 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004856/0.7176, allocations: 7.261 MB / 0.8663 GB, free: 77.25 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1312/0.8488, allocations: 51.1 MB / 0.9162 GB, free: 26.38 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.9e-05/0.8488, allocations: 24 kB / 0.9162 GB, free: 26.36 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01672/0.8655, allocations: 12.64 MB / 0.9286 GB, free: 13.68 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/0.8656, allocations: 66.31 kB / 0.9286 GB, free: 13.61 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01131/0.8769, allocations: 10.06 MB / 0.9384 GB, free: 3.52 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.8788, allocations: 1.048 MB / 0.9395 GB, free: 2.48 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00423/0.883, allocations: 2.348 MB / 0.9418 GB, free: 132 kB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00873/0.8918, allocations: 11.59 MB / 0.9531 GB, free: 3.926 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004395/0.8962, allocations: 322 kB / 0.9534 GB, free: 3.617 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006699/0.8968, allocations: 0.5426 MB / 0.9539 GB, free: 3.074 MB / 0.6668 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.008315/0.9051, allocations: 5.902 MB / 0.9597 GB, free: 13.16 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006334/0.9115, allocations: 7.211 MB / 0.9667 GB, free: 4.758 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.141/1.052, allocations: 50.96 MB / 1.016 GB, free: 0.8945 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.947e-05/1.052, allocations: 23.94 kB / 1.017 GB, free: 0.8711 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01773/1.07, allocations: 12.3 MB / 1.029 GB, free: 4.516 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/1.07, allocations: 63.58 kB / 1.029 GB, free: 4.449 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01183/1.082, allocations: 9.7 MB / 1.038 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/1.083, allocations: 0.732 MB / 1.039 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004482/1.088, allocations: 2.36 MB / 1.041 GB, free: 7.598 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2848/1.373, allocations: 11.41 MB / 1.052 GB, free: 266.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004507/1.377, allocations: 315.6 kB / 1.053 GB, free: 266.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007704/1.378, allocations: 0.5388 MB / 1.053 GB, free: 266.5 MB / 0.7605 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.001896/1.38, allocations: 0.7181 MB / 1.054 GB, free: 266.3 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.381, allocations: 0.7584 MB / 1.054 GB, free: 266.3 MB / 0.7605 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.01129/1.392, allocations: 10.64 MB / 1.065 GB, free: 264.6 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.260128352791071] Failed to read output from testmodel.py, exit status != 0: 1.534412550739944 1.540824577 1.30175376 Calling exit ...