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 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.01775/0.01775, allocations: 1.771 MB / 20.61 MB, free: 3.867 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.09422/0.09422, allocations: 25.6 MB / 49.7 MB, free: 2.957 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.0009992/0.0009992, allocations: 122.1 kB / 60.65 MB, free: 3.008 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.001299/0.001299, allocations: 214.5 kB / 71.72 MB, free: 6.484 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 1.032/1.032, allocations: 230.6 MB / 313.3 MB, free: 11.61 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.8154/0.8154, allocations: 130.8 MB / 0.4964 GB, free: 3.691 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-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 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_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: 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.002633/0.002633, allocations: 155.2 kB / 0.6901 GB, free: 53.31 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1432, allocations: 89.28 MB / 0.7773 GB, free: 5.195 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator): time 0.01818/0.1613, allocations: 24.14 MB / 0.8009 GB, free: 12.96 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0284/0.1897, allocations: 24.12 MB / 0.8244 GB, free: 4.77 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004127/0.1939, allocations: 158.8 kB / 0.8246 GB, free: 4.613 MB / 0.5887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-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.004824/0.1987, allocations: 3.063 MB / 0.8276 GB, free: 1.535 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.007987/0.2067, allocations: 4.769 MB / 0.8322 GB, free: 12.74 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.006478/0.2131, allocations: 4.12 MB / 0.8363 GB, free: 8.621 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.01062/0.2238, allocations: 12.95 MB / 0.8489 GB, free: 11.63 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003894/0.2277, allocations: 4.07 MB / 0.8529 GB, free: 7.496 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005702/0.2334, allocations: 5.408 MB / 0.8582 GB, free: 2.07 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005472/0.2388, allocations: 5.463 MB / 0.8635 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.2401, allocations: 0.8711 MB / 0.8643 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004014/0.2441, allocations: 2.583 MB / 0.8669 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001586/0.2457, allocations: 2.815 MB / 0.8696 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002933/0.2487, allocations: 3.491 MB / 0.873 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.2606, allocations: 14.08 MB / 0.8868 GB, free: 4.668 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2606, allocations: 3.938 kB / 0.8868 GB, free: 4.664 MB / 0.6512 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2606, allocations: 0 / 0.8868 GB, free: 4.664 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.0001544/0.2607, allocations: 0 / 0.8868 GB, free: 4.664 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.01075/0.2715, allocations: 9.054 MB / 0.8956 GB, free: 11.51 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.2715, allocations: 12.03 kB / 0.8956 GB, free: 11.5 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007399/0.2723, allocations: 0.7371 MB / 0.8963 GB, free: 10.75 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.2743, allocations: 1.096 MB / 0.8974 GB, free: 9.648 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008283/0.2826, allocations: 7.006 MB / 0.9043 GB, free: 2.562 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.2827, allocations: 308.4 kB / 0.9046 GB, free: 2.258 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005971/0.2833, allocations: 407.8 kB / 0.9049 GB, free: 1.859 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/0.2991, allocations: 13.52 MB / 0.9181 GB, free: 2.617 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.993e-05/0.2992, allocations: 55.5 kB / 0.9182 GB, free: 2.562 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003923/0.2996, allocations: 208 kB / 0.9184 GB, free: 2.359 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002485/0.2998, allocations: 374.2 kB / 0.9187 GB, free: 1.992 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.3143, allocations: 9.773 MB / 0.9283 GB, free: 8.191 MB / 0.698 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.3184/0.6327, allocations: 39.68 MB / 0.967 GB, free: 110.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01433/0.647, allocations: 8.198 MB / 0.975 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004074/0.6511, allocations: 3.108 MB / 0.9781 GB, free: 105.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004956/0.6516, allocations: 254.9 kB / 0.9783 GB, free: 105.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008809/0.6604, allocations: 6.702 MB / 0.9849 GB, free: 102.3 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001957/0.6624, allocations: 0.7939 MB / 0.9856 GB, free: 102.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=870): time 8.055e-06/0.6624, allocations: 0.5469 kB / 0.9856 GB, free: 102.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=872): time 0.0456/0.708, allocations: 50.47 MB / 1.035 GB, free: 57.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002035/0.7082, allocations: 1.537 MB / 1.036 GB, free: 55.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005569/0.7138, allocations: 6.222 MB / 1.043 GB, free: 49.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009553/0.7147, allocations: 101.7 kB / 1.043 GB, free: 49.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.716, allocations: 2.837 MB / 1.045 GB, free: 46.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001648/0.7177, allocations: 2.973 MB / 1.048 GB, free: 43.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001718/0.7194, allocations: 1.791 MB / 1.05 GB, free: 42.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.025e-05/0.7194, allocations: 305.1 kB / 1.05 GB, free: 41.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004209/0.7236, allocations: 4.202 MB / 1.054 GB, free: 37.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005145/0.7288, allocations: 7.257 MB / 1.062 GB, free: 29.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.131/0.8598, allocations: 51.1 MB / 1.111 GB, free: 9.133 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-05/0.8598, allocations: 23.94 kB / 1.111 GB, free: 9.109 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02345/0.8833, allocations: 12.65 MB / 1.124 GB, free: 12.41 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 9.664e-05/0.8834, allocations: 73.72 kB / 1.124 GB, free: 12.33 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01811/0.9015, allocations: 10.04 MB / 1.134 GB, free: 2.23 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/0.9038, allocations: 1.041 MB / 1.135 GB, free: 1.191 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006171/0.91, allocations: 2.348 MB / 1.137 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009208/0.9192, allocations: 11.74 MB / 1.148 GB, free: 2.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005118/0.9243, allocations: 316.9 kB / 1.149 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002063/0.9264, allocations: 0.5504 MB / 1.149 GB, free: 1.555 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01147/0.9378, allocations: 5.907 MB / 1.155 GB, free: 11.63 MB / 0.7762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008833/0.9467, allocations: 7.207 MB / 1.162 GB, free: 3.234 MB / 0.7762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1373/1.084, allocations: 50.96 MB / 1.212 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.663e-05/1.084, allocations: 19.98 kB / 1.212 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02068/1.105, allocations: 12.32 MB / 1.224 GB, free: 2.918 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 7.51e-05/1.105, allocations: 61.7 kB / 1.224 GB, free: 2.852 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01613/1.121, allocations: 9.693 MB / 1.233 GB, free: 9.09 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/1.122, allocations: 0.7362 MB / 1.234 GB, free: 8.348 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006182/1.129, allocations: 2.36 MB / 1.236 GB, free: 5.984 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008652/1.137, allocations: 11.54 MB / 1.248 GB, free: 9.742 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004802/1.142, allocations: 324.6 kB / 1.248 GB, free: 9.426 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001688/1.144, allocations: 0.5425 MB / 1.249 GB, free: 8.883 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.002402/1.146, allocations: 0.7266 MB / 1.249 GB, free: 8.188 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002023/1.148, allocations: 0.7759 MB / 1.25 GB, free: 7.406 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.01704/1.165, allocations: 10.67 MB / 1.26 GB, free: 12.92 MB / 0.8855 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.663489511236548]