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.01347/0.01347, allocations: 1.743 MB / 21.35 MB, free: 0.4961 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.00158/0.00158, allocations: 101.7 kB / 24.93 MB, free: 2.07 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.002085/0.002085, allocations: 213.5 kB / 28.65 MB, free: 3.355 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.595/1.595, allocations: 230.6 MB / 262.8 MB, free: 5.859 MB / 206.1 MB " [Timeout remaining time 178] 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 1.159/1.159, allocations: 130.7 MB / 450.4 MB, free: 6.402 MB / 350.1 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.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_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: 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.06656/0.06656, allocations: 20.98 MB / 0.637 GB, free: 4.211 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2686, allocations: 81.9 MB / 0.717 GB, free: 2.227 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.6779/0.9465, allocations: 57.15 MB / 0.7728 GB, free: 13.06 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05529/1.002, allocations: 24.11 MB / 0.7964 GB, free: 12.07 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01178/1.014, allocations: 153.2 kB / 0.7965 GB, free: 12 MB / 0.5763 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.01115/1.025, allocations: 3.071 MB / 0.7995 GB, free: 9.887 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02245/1.047, allocations: 4.768 MB / 0.8042 GB, free: 6.156 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01417/1.061, allocations: 4.118 MB / 0.8082 GB, free: 2.996 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0265/1.088, allocations: 12.95 MB / 0.8208 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008825/1.097, allocations: 4.07 MB / 0.8248 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0139/1.111, allocations: 5.414 MB / 0.8301 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01332/1.124, allocations: 5.453 MB / 0.8354 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004184/1.128, allocations: 0.8722 MB / 0.8363 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0111/1.139, allocations: 2.586 MB / 0.8388 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005735/1.145, allocations: 2.819 MB / 0.8415 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009818/1.155, allocations: 3.495 MB / 0.845 GB, free: 15.15 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.027/1.182, allocations: 14.07 MB / 0.8587 GB, free: 1.031 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/1.182, allocations: 0 / 0.8587 GB, free: 1.031 MB / 0.6232 GB Notification: Performance of FrontEnd: time 3.036e-06/1.182, allocations: 0 / 0.8587 GB, free: 1.031 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004799/1.182, allocations: 1.5 kB / 0.8587 GB, free: 1.031 MB / 0.6232 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.02949/1.212, allocations: 9.062 MB / 0.8676 GB, free: 7.898 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/1.212, allocations: 8.031 kB / 0.8676 GB, free: 7.891 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004465/1.216, allocations: 1.095 MB / 0.8686 GB, free: 6.793 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01713/1.233, allocations: 7.01 MB / 0.8755 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004012/1.234, allocations: 308.4 kB / 0.8758 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001695/1.235, allocations: 400 kB / 0.8762 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03378/1.269, allocations: 13.52 MB / 0.8894 GB, free: 15.8 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001403/1.269, allocations: 49.44 kB / 0.8894 GB, free: 15.75 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007793/1.27, allocations: 212 kB / 0.8896 GB, free: 15.54 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005216/1.271, allocations: 374.2 kB / 0.89 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0294/1.3, allocations: 9.778 MB / 0.8995 GB, free: 5.387 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.06754/1.368, allocations: 38.97 MB / 0.9376 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02471/1.392, allocations: 8.206 MB / 0.9456 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007969/1.4, allocations: 3.109 MB / 0.9486 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/1.402, allocations: 246.7 kB / 0.9489 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02134/1.423, allocations: 6.698 MB / 0.9554 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005039/1.428, allocations: 0.7672 MB / 0.9562 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 3.461e-05/1.428, allocations: 0 / 0.9562 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1191/1.547, allocations: 50.47 MB / 1.005 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00114/1.548, allocations: 1.537 MB / 1.007 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01247/1.561, allocations: 5.964 MB / 1.013 GB, free: 15.21 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002344/1.563, allocations: 104.4 kB / 1.013 GB, free: 15.11 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003479/1.567, allocations: 2.859 MB / 1.016 GB, free: 12.23 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.005565/1.572, allocations: 2.978 MB / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003607/1.576, allocations: 1.791 MB / 1.02 GB, free: 7.422 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.576, allocations: 305.1 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008474/1.584, allocations: 4.207 MB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/1.595, allocations: 7.257 MB / 1.032 GB, free: 10.45 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6636/2.259, allocations: 51.08 MB / 1.082 GB, free: 343.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.841e-05/2.259, allocations: 15.75 kB / 1.082 GB, free: 343.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02591/2.285, allocations: 12.65 MB / 1.094 GB, free: 336.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.862e-05/2.285, allocations: 64.42 kB / 1.094 GB, free: 336.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01947/2.305, allocations: 10.04 MB / 1.104 GB, free: 326.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003443/2.308, allocations: 1.041 MB / 1.105 GB, free: 325.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009377/2.317, allocations: 2.344 MB / 1.107 GB, free: 323.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/2.33, allocations: 11.62 MB / 1.119 GB, free: 311.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008866/2.338, allocations: 320.6 kB / 1.119 GB, free: 310.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002498/2.341, allocations: 0.5426 MB / 1.119 GB, free: 310.3 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.01157/2.352, allocations: 5.906 MB / 1.125 GB, free: 304.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007771/2.36, allocations: 7.207 MB / 1.132 GB, free: 296 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2516/2.612, allocations: 50.96 MB / 1.182 GB, free: 244.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.071e-05/2.612, allocations: 20 kB / 1.182 GB, free: 244.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02416/2.636, allocations: 12.3 MB / 1.194 GB, free: 232.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.053e-05/2.636, allocations: 73.62 kB / 1.194 GB, free: 232.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02063/2.657, allocations: 9.688 MB / 1.204 GB, free: 222.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/2.659, allocations: 0.7368 MB / 1.204 GB, free: 221.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009101/2.668, allocations: 2.356 MB / 1.207 GB, free: 219.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/2.678, allocations: 11.42 MB / 1.218 GB, free: 207.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007333/2.686, allocations: 320.5 kB / 1.218 GB, free: 207 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00238/2.688, allocations: 0.5387 MB / 1.219 GB, free: 206.4 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.00426/2.692, allocations: 0.7261 MB / 1.219 GB, free: 205.7 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003616/2.696, allocations: 0.7568 MB / 1.22 GB, free: 205.3 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.02275/2.719, allocations: 10.65 MB / 1.23 GB, free: 195 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.002625187858939] Failed to read output from testmodel.py, exit status != 0: 2.9040192868560553 2.915595899 1.73099541 Calling exit ...