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.01035/0.01035, allocations: 1.749 MB / 21.34 MB, free: 0.5898 MB / 14.72 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.001287/0.001287, allocations: 108.7 kB / 24.94 MB, free: 2.176 MB / 14.72 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.001572/0.001572, allocations: 208.4 kB / 28.67 MB, free: 3.461 MB / 19.63 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.531/1.531, allocations: 230.6 MB / 262.9 MB, free: 6.023 MB / 206.1 MB " [Timeout remaining time 178] 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 1.131/1.131, allocations: 130.7 MB / 450.4 MB, free: 6.613 MB / 350.1 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 0.3.1 (/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_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_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") [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: 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03326/0.03326, allocations: 20.78 MB / 0.637 GB, free: 4.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.2033, allocations: 81.9 MB / 0.7169 GB, free: 2.672 MB / 0.5294 GB 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.5464/0.7497, allocations: 60.85 MB / 0.7764 GB, free: 9.52 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04496/0.7946, allocations: 25.1 MB / 0.8009 GB, free: 7.531 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01014/0.8048, allocations: 156.5 kB / 0.801 GB, free: 7.457 MB / 0.5763 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.011/0.8158, allocations: 3.212 MB / 0.8042 GB, free: 5.219 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02246/0.8382, allocations: 4.772 MB / 0.8088 GB, free: 1.469 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01345/0.8517, allocations: 4.131 MB / 0.8129 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02628/0.8779, allocations: 12.97 MB / 0.8255 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009391/0.8873, allocations: 3.825 MB / 0.8293 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01342/0.9008, allocations: 5.391 MB / 0.8345 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0122/0.913, allocations: 5.712 MB / 0.8401 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003937/0.9169, allocations: 0.8711 MB / 0.8409 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/0.9279, allocations: 3.424 MB / 0.8443 GB, free: 368 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005972/0.9339, allocations: 2.819 MB / 0.847 GB, free: 13.53 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01175/0.9456, allocations: 4.509 MB / 0.8514 GB, free: 9 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0299/0.9755, allocations: 14.2 MB / 0.8653 GB, free: 10.75 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.9755, allocations: 0 / 0.8653 GB, free: 10.75 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9755, allocations: 0 / 0.8653 GB, free: 10.75 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005388/0.9761, allocations: 0 / 0.8653 GB, free: 10.75 MB / 0.6388 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.02973/1.006, allocations: 9.062 MB / 0.8742 GB, free: 1.625 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.006, allocations: 14.69 kB / 0.8742 GB, free: 1.613 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005727/1.012, allocations: 1.094 MB / 0.8752 GB, free: 0.5195 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01788/1.029, allocations: 7.004 MB / 0.8821 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004571/1.03, allocations: 311.1 kB / 0.8824 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002086/1.032, allocations: 404 kB / 0.8828 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03206/1.064, allocations: 11.5 MB / 0.894 GB, free: 12.14 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002507/1.064, allocations: 43.56 kB / 0.894 GB, free: 12.09 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001742/1.066, allocations: 208 kB / 0.8942 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006159/1.067, allocations: 376.9 kB / 0.8946 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02886/1.096, allocations: 9.785 MB / 0.9042 GB, free: 1.73 MB / 0.67 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.06904/1.165, allocations: 42.26 MB / 0.9454 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02392/1.189, allocations: 8.196 MB / 0.9534 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007557/1.196, allocations: 3.085 MB / 0.9564 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/1.197, allocations: 297.1 kB / 0.9567 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02089/1.218, allocations: 6.662 MB / 0.9632 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004672/1.223, allocations: 0.7904 MB / 0.964 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 2.47e-05/1.223, allocations: 0 / 0.964 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1149/1.338, allocations: 50.42 MB / 1.013 GB, free: 164 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001036/1.339, allocations: 1.532 MB / 1.015 GB, free: 14.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/1.35, allocations: 6.121 MB / 1.021 GB, free: 8.168 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001718/1.352, allocations: 97.7 kB / 1.021 GB, free: 8.066 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003259/1.355, allocations: 2.829 MB / 1.024 GB, free: 5.215 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004727/1.36, allocations: 2.98 MB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004544/1.365, allocations: 1.795 MB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.365, allocations: 305.1 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008724/1.373, allocations: 4.176 MB / 1.033 GB, free: 11.91 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01218/1.386, allocations: 6.51 MB / 1.039 GB, free: 4.449 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6465/2.032, allocations: 51.07 MB / 1.089 GB, free: 343.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.811e-05/2.032, allocations: 16.62 kB / 1.089 GB, free: 343.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02996/2.062, allocations: 12.61 MB / 1.101 GB, free: 333.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/2.062, allocations: 61.7 kB / 1.101 GB, free: 333.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02248/2.085, allocations: 9.999 MB / 1.111 GB, free: 323.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003678/2.088, allocations: 1.049 MB / 1.112 GB, free: 322.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008932/2.097, allocations: 2.34 MB / 1.114 GB, free: 320.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/2.109, allocations: 11.8 MB / 1.126 GB, free: 307.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006617/2.115, allocations: 322.3 kB / 1.126 GB, free: 307.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00205/2.117, allocations: 0.5387 MB / 1.127 GB, free: 306.8 MB / 0.8263 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.01279/2.13, allocations: 5.876 MB / 1.132 GB, free: 300.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009674/2.14, allocations: 6.475 MB / 1.139 GB, free: 293.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2603/2.4, allocations: 50.95 MB / 1.188 GB, free: 241.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.726e-05/2.4, allocations: 24 kB / 1.188 GB, free: 241.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02923/2.429, allocations: 12.27 MB / 1.2 GB, free: 229.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/2.429, allocations: 63.27 kB / 1.201 GB, free: 229.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02271/2.452, allocations: 9.648 MB / 1.21 GB, free: 219.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/2.454, allocations: 0.7439 MB / 1.211 GB, free: 219.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009066/2.463, allocations: 2.36 MB / 1.213 GB, free: 216.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/2.474, allocations: 11.61 MB / 1.224 GB, free: 204.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007483/2.482, allocations: 316.3 kB / 1.225 GB, free: 204.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002307/2.484, allocations: 0.5387 MB / 1.225 GB, free: 203.7 MB / 0.8263 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.004168/2.488, allocations: 0.7291 MB / 1.226 GB, free: 203 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003789/2.492, allocations: 0.7706 MB / 1.227 GB, free: 202.5 MB / 0.8263 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.02393/2.516, allocations: 10.62 MB / 1.237 GB, free: 192.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.539551228052005] Failed to read output from testmodel.py, exit status != 0: 2.687103924807161 2.698261685 1.719893576 Calling exit ...