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.01524/0.01524, allocations: 1.345 MB / 21.03 MB, free: 0.7617 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.001658/0.001658, allocations: 78.83 kB / 24.58 MB, free: 2.137 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.00209/0.00209, allocations: 168.4 kB / 28.26 MB, free: 3.398 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.402/1.402, allocations: 177.2 MB / 209 MB, free: 7.543 MB / 190.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 0.9902/0.9902, allocations: 102.5 MB / 368.4 MB, free: 4.152 MB / 334.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.06595/0.06595, allocations: 20.97 MB / 0.5569 GB, free: 4.922 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.2099, allocations: 81.87 MB / 0.6369 GB, free: 2.906 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.15/0.3598, allocations: 49.72 MB / 0.6854 GB, free: 1.191 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3281/0.6879, allocations: 24.1 MB / 0.709 GB, free: 10.9 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004745/0.6927, allocations: 155.9 kB / 0.7091 GB, free: 10.83 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.006562/0.6992, allocations: 3.057 MB / 0.7121 GB, free: 9.566 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.7104, allocations: 4.779 MB / 0.7168 GB, free: 7.195 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.00856/0.719, allocations: 4.117 MB / 0.7208 GB, free: 4.848 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01815/0.7371, allocations: 12.95 MB / 0.7334 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007537/0.7447, allocations: 4.081 MB / 0.7374 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/0.7554, allocations: 5.399 MB / 0.7427 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01104/0.7664, allocations: 5.465 MB / 0.748 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002615/0.7691, allocations: 0.8681 MB / 0.7489 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008265/0.7773, allocations: 2.591 MB / 0.7514 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004235/0.7816, allocations: 2.818 MB / 0.7541 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007706/0.7893, allocations: 3.496 MB / 0.7576 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02199/0.8113, allocations: 14.07 MB / 0.7713 GB, free: 116 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.8113, allocations: 0 / 0.7713 GB, free: 116 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8113, allocations: 0 / 0.7713 GB, free: 116 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003331/0.8116, allocations: 0 / 0.7713 GB, free: 116 kB / 0.6075 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.01987/0.8315, allocations: 9.06 MB / 0.7802 GB, free: 6.988 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.8315, allocations: 12.03 kB / 0.7802 GB, free: 6.977 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/0.8348, allocations: 1.091 MB / 0.7812 GB, free: 5.883 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/0.8481, allocations: 7.003 MB / 0.7881 GB, free: 14.82 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/0.8484, allocations: 304.3 kB / 0.7884 GB, free: 14.52 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007549/0.8491, allocations: 403 kB / 0.7887 GB, free: 14.13 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02655/0.8757, allocations: 13.53 MB / 0.802 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000133/0.8758, allocations: 50.25 kB / 0.802 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005988/0.8764, allocations: 204 kB / 0.8022 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004393/0.8769, allocations: 374.2 kB / 0.8026 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02451/0.9014, allocations: 9.781 MB / 0.8121 GB, free: 4.484 MB / 0.6544 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.04564/0.947, allocations: 38.97 MB / 0.8502 GB, free: 12.37 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02165/0.9687, allocations: 8.204 MB / 0.8582 GB, free: 4.023 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005934/0.9746, allocations: 3.112 MB / 0.8612 GB, free: 0.8398 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008496/0.9755, allocations: 250.7 kB / 0.8615 GB, free: 0.5938 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01779/0.9932, allocations: 6.695 MB / 0.868 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003189/0.9964, allocations: 0.7673 MB / 0.8687 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=870): time 1.714e-05/0.9964, allocations: 0 / 0.8687 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=872): time 0.09663/1.093, allocations: 50.47 MB / 0.918 GB, free: 6.172 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000837/1.094, allocations: 1.537 MB / 0.9195 GB, free: 4.277 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008764/1.103, allocations: 5.964 MB / 0.9254 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001169/1.104, allocations: 104.4 kB / 0.9254 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00267/1.107, allocations: 2.863 MB / 0.9282 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.003201/1.11, allocations: 2.977 MB / 0.9312 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002913/1.113, allocations: 1.791 MB / 0.9329 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.113, allocations: 305.1 kB / 0.9332 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007343/1.12, allocations: 4.209 MB / 0.9373 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009923/1.13, allocations: 7.25 MB / 0.9444 GB, free: 9.555 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2971/1.427, allocations: 51.09 MB / 0.9943 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.629e-05/1.427, allocations: 20 kB / 0.9943 GB, free: 6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.2797/1.707, allocations: 12.62 MB / 1.007 GB, free: 363.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/1.707, allocations: 73.84 kB / 1.007 GB, free: 363.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02093/1.728, allocations: 10.04 MB / 1.016 GB, free: 360.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003629/1.732, allocations: 1.049 MB / 1.018 GB, free: 360.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008131/1.74, allocations: 2.348 MB / 1.02 GB, free: 360.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/1.75, allocations: 11.6 MB / 1.031 GB, free: 350.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00507/1.755, allocations: 323.4 kB / 1.031 GB, free: 350.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/1.756, allocations: 0.5419 MB / 1.032 GB, free: 350.3 MB / 0.8419 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.009163/1.765, allocations: 5.91 MB / 1.038 GB, free: 347.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007383/1.773, allocations: 7.217 MB / 1.045 GB, free: 341.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2676/2.04, allocations: 50.96 MB / 1.095 GB, free: 292.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.142e-05/2.041, allocations: 19.75 kB / 1.095 GB, free: 292.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02346/2.064, allocations: 12.29 MB / 1.107 GB, free: 280.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.279e-05/2.064, allocations: 71.05 kB / 1.107 GB, free: 280.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.015/2.079, allocations: 9.681 MB / 1.116 GB, free: 270.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/2.081, allocations: 0.7403 MB / 1.117 GB, free: 269.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007492/2.088, allocations: 2.36 MB / 1.119 GB, free: 267.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009275/2.098, allocations: 11.42 MB / 1.13 GB, free: 255.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005478/2.103, allocations: 312.4 kB / 1.131 GB, free: 255.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009957/2.104, allocations: 0.5395 MB / 1.131 GB, free: 254.6 MB / 0.8419 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.00251/2.107, allocations: 0.7367 MB / 1.132 GB, free: 253.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001616/2.108, allocations: 0.7489 MB / 1.133 GB, free: 253.4 MB / 0.8419 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.01516/2.124, allocations: 10.66 MB / 1.143 GB, free: 243.1 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.629172362037934] Failed to read output from testmodel.py, exit status != 0: 2.2484385300194845 2.25899712 1.445252114 Calling exit ...