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.01291/0.01291, allocations: 1.761 MB / 20.61 MB, free: 1.023 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.001645/0.001645, allocations: 105.8 kB / 24.18 MB, free: 2.465 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.002173/0.002173, allocations: 213.3 kB / 27.9 MB, free: 3.77 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.465/1.465, allocations: 230.6 MB / 262.1 MB, free: 5.84 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.025/1.025, allocations: 130.8 MB / 449.7 MB, free: 6.406 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.06491/0.06491, allocations: 20.98 MB / 0.6363 GB, free: 4.254 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.2182, allocations: 81.91 MB / 0.7163 GB, free: 2.246 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.4551/0.6733, allocations: 57.13 MB / 0.7721 GB, free: 13.08 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03756/0.7109, allocations: 24.11 MB / 0.7957 GB, free: 12.1 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00804/0.7189, allocations: 157.2 kB / 0.7958 GB, free: 12.02 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.009044/0.7279, allocations: 3.069 MB / 0.7988 GB, free: 9.902 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01471/0.7426, allocations: 4.775 MB / 0.8035 GB, free: 6.168 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01084/0.7535, allocations: 4.119 MB / 0.8075 GB, free: 3.008 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0199/0.7734, allocations: 12.95 MB / 0.8201 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01078/0.7842, allocations: 4.062 MB / 0.8241 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01275/0.7969, allocations: 5.404 MB / 0.8294 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01119/0.8081, allocations: 5.471 MB / 0.8347 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003693/0.8118, allocations: 0.8672 MB / 0.8356 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008902/0.8207, allocations: 2.586 MB / 0.8381 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005208/0.8259, allocations: 2.819 MB / 0.8408 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008749/0.8347, allocations: 3.487 MB / 0.8443 GB, free: 15.12 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03334/0.868, allocations: 14.07 MB / 0.858 GB, free: 1.004 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.868, allocations: 2.625 kB / 0.858 GB, free: 1.004 MB / 0.6232 GB Notification: Performance of FrontEnd: time 4.528e-06/0.868, allocations: 0 / 0.858 GB, free: 1.004 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0007424/0.8688, allocations: 0 / 0.858 GB, free: 1.004 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.03309/0.9018, allocations: 9.065 MB / 0.8669 GB, free: 7.871 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.9019, allocations: 8.031 kB / 0.8669 GB, free: 7.863 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00506/0.9069, allocations: 1.095 MB / 0.8679 GB, free: 6.766 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0167/0.9236, allocations: 7.01 MB / 0.8748 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004524/0.9241, allocations: 308.3 kB / 0.8751 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001922/0.926, allocations: 404 kB / 0.8755 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03297/0.959, allocations: 13.52 MB / 0.8887 GB, free: 15.76 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002234/0.9592, allocations: 47.56 kB / 0.8887 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001953/0.9612, allocations: 207.8 kB / 0.8889 GB, free: 15.52 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006718/0.9618, allocations: 378.2 kB / 0.8893 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02871/0.9906, allocations: 9.778 MB / 0.8988 GB, free: 5.355 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.05607/1.047, allocations: 38.98 MB / 0.9369 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02308/1.07, allocations: 8.203 MB / 0.9449 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007063/1.077, allocations: 3.105 MB / 0.9479 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/1.078, allocations: 257.3 kB / 0.9482 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01982/1.098, allocations: 6.7 MB / 0.9547 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004362/1.102, allocations: 0.7594 MB / 0.9555 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 2.512e-05/1.102, allocations: 2.625 kB / 0.9555 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1099/1.212, allocations: 50.46 MB / 1.005 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000873/1.213, allocations: 1.544 MB / 1.006 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01/1.223, allocations: 5.959 MB / 1.012 GB, free: 15.18 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001582/1.225, allocations: 97.7 kB / 1.012 GB, free: 15.08 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002892/1.227, allocations: 2.863 MB / 1.015 GB, free: 12.2 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004388/1.232, allocations: 2.974 MB / 1.018 GB, free: 9.199 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003834/1.236, allocations: 1.791 MB / 1.02 GB, free: 7.395 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.236, allocations: 313.1 kB / 1.02 GB, free: 7.086 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00795/1.244, allocations: 4.2 MB / 1.024 GB, free: 2.867 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01232/1.256, allocations: 7.264 MB / 1.031 GB, free: 10.41 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5403/1.796, allocations: 51.09 MB / 1.081 GB, free: 343.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.035e-05/1.796, allocations: 15.75 kB / 1.081 GB, free: 343.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.0227/1.819, allocations: 12.64 MB / 1.093 GB, free: 336.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.58e-05/1.819, allocations: 62.34 kB / 1.093 GB, free: 336.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01663/1.836, allocations: 10.05 MB / 1.103 GB, free: 326.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003267/1.839, allocations: 1.041 MB / 1.104 GB, free: 325.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008015/1.847, allocations: 2.352 MB / 1.107 GB, free: 323.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009667/1.857, allocations: 11.61 MB / 1.118 GB, free: 311.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005585/1.862, allocations: 315.1 kB / 1.118 GB, free: 310.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/1.864, allocations: 0.5427 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.009821/1.874, allocations: 5.906 MB / 1.124 GB, free: 304.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007415/1.881, allocations: 7.214 MB / 1.132 GB, free: 296 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2502/2.131, allocations: 50.97 MB / 1.181 GB, free: 244.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.835e-05/2.131, allocations: 20 kB / 1.181 GB, free: 244.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02203/2.153, allocations: 12.29 MB / 1.193 GB, free: 232.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/2.153, allocations: 73.62 kB / 1.193 GB, free: 232 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01642/2.17, allocations: 9.686 MB / 1.203 GB, free: 222.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/2.172, allocations: 0.7432 MB / 1.204 GB, free: 221.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008119/2.18, allocations: 2.356 MB / 1.206 GB, free: 219.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009083/2.189, allocations: 11.42 MB / 1.217 GB, free: 207.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005784/2.195, allocations: 318.8 kB / 1.217 GB, free: 206.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001637/2.196, allocations: 0.5374 MB / 1.218 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.002245/2.199, allocations: 0.7355 MB / 1.219 GB, free: 205.7 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001884/2.201, allocations: 0.7557 MB / 1.219 GB, free: 205.2 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.01589/2.216, allocations: 10.65 MB / 1.23 GB, free: 195 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.942112151533365] Failed to read output from testmodel.py, exit status != 0: 2.3497746381908655 2.358831726 1.488338802 Calling exit ...