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.01034/0.01034, allocations: 1.775 MB / 18.82 MB, free: 4.246 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.001138/0.001138, allocations: 111.6 kB / 22.07 MB, free: 0.9922 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.001419/0.001419, allocations: 208.4 kB / 25.45 MB, free: 3.254 MB / 14.72 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.509/1.509, allocations: 230.6 MB / 259.3 MB, free: 13.13 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.102/1.102, allocations: 130.6 MB / 446.3 MB, free: 14.66 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: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="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: 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.3994/0.3994, allocations: 46.14 MB / 0.6552 GB, free: 30.37 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.5856, allocations: 89.06 MB / 0.7421 GB, free: 2.719 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator): time 0.03168/0.6173, allocations: 27.85 MB / 0.7693 GB, free: 6.766 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04197/0.6593, allocations: 24.8 MB / 0.7935 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006993/0.6663, allocations: 158.8 kB / 0.7937 GB, free: 13.73 MB / 0.6075 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.008723/0.675, allocations: 3.149 MB / 0.7968 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01334/0.6883, allocations: 4.668 MB / 0.8013 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01015/0.6985, allocations: 4.048 MB / 0.8053 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01929/0.7178, allocations: 12.94 MB / 0.8179 GB, free: 4.848 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007335/0.7251, allocations: 4.024 MB / 0.8218 GB, free: 0.7539 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01076/0.7359, allocations: 5.385 MB / 0.8271 GB, free: 11.35 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01029/0.7462, allocations: 5.692 MB / 0.8327 GB, free: 5.637 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.002694/0.7489, allocations: 0.8672 MB / 0.8335 GB, free: 4.77 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008042/0.7569, allocations: 3.201 MB / 0.8366 GB, free: 1.566 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.004033/0.7609, allocations: 2.819 MB / 0.8394 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007812/0.7688, allocations: 4.505 MB / 0.8438 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02189/0.7906, allocations: 14.12 MB / 0.8576 GB, free: 12.04 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7907, allocations: 4 kB / 0.8576 GB, free: 12.04 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7907, allocations: 0 / 0.8576 GB, free: 12.04 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003571/0.791, allocations: 7.938 kB / 0.8576 GB, free: 12.03 MB / 0.67 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.02066/0.8117, allocations: 9.133 MB / 0.8665 GB, free: 2.785 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.8117, allocations: 8.031 kB / 0.8665 GB, free: 2.777 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001452/0.8119, allocations: 124.3 kB / 0.8666 GB, free: 2.652 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001232/0.8131, allocations: 0.7371 MB / 0.8673 GB, free: 1.902 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003574/0.8167, allocations: 1.1 MB / 0.8684 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3995/1.216, allocations: 7.182 MB / 0.8754 GB, free: 109.8 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003362/1.216, allocations: 310.2 kB / 0.8757 GB, free: 109.7 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001307/1.218, allocations: 400.1 kB / 0.8761 GB, free: 109.6 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02592/1.244, allocations: 11.49 MB / 0.8873 GB, free: 103.4 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/1.244, allocations: 47.44 kB / 0.8874 GB, free: 103.4 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006733/1.245, allocations: 212.1 kB / 0.8876 GB, free: 103.3 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003477/1.245, allocations: 371.8 kB / 0.8879 GB, free: 103.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02517/1.27, allocations: 9.786 MB / 0.8975 GB, free: 99.31 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.04647/1.316, allocations: 42.33 MB / 0.9388 GB, free: 62.08 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02393/1.34, allocations: 8.338 MB / 0.947 GB, free: 57.35 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006208/1.347, allocations: 3.085 MB / 0.95 GB, free: 55.53 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/1.348, allocations: 379.1 kB / 0.9504 GB, free: 55.34 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01786/1.366, allocations: 6.672 MB / 0.9569 GB, free: 51.46 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004538/1.37, allocations: 0.7924 MB / 0.9576 GB, free: 51.08 MB / 0.67 GB Notification: Performance of pre-optimization done (n=870): time 2.733e-05/1.37, allocations: 0 / 0.9576 GB, free: 51.08 MB / 0.67 GB Notification: Performance of matching and sorting (n=872): time 0.09291/1.463, allocations: 50.86 MB / 1.007 GB, free: 2.656 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002859/1.463, allocations: 1.536 MB / 1.009 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01067/1.474, allocations: 6.119 MB / 1.015 GB, free: 10.72 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001911/1.476, allocations: 100.4 kB / 1.015 GB, free: 10.62 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.003106/1.479, allocations: 2.834 MB / 1.018 GB, free: 7.938 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.004737/1.484, allocations: 2.977 MB / 1.021 GB, free: 5.004 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004266/1.488, allocations: 1.787 MB / 1.022 GB, free: 3.203 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.488, allocations: 301.1 kB / 1.023 GB, free: 2.906 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008061/1.496, allocations: 4.176 MB / 1.027 GB, free: 14.71 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01138/1.508, allocations: 6.514 MB / 1.033 GB, free: 7.285 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2953/1.803, allocations: 51.07 MB / 1.083 GB, free: 4.137 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-05/1.803, allocations: 16 kB / 1.083 GB, free: 4.121 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.03398/1.837, allocations: 12.63 MB / 1.095 GB, free: 7.457 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.837, allocations: 65.69 kB / 1.095 GB, free: 7.387 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0262/1.863, allocations: 10 MB / 1.105 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004081/1.867, allocations: 1.04 MB / 1.106 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/1.878, allocations: 2.348 MB / 1.108 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/1.894, allocations: 12.41 MB / 1.121 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006983/1.901, allocations: 317 kB / 1.121 GB, free: 12.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002287/1.903, allocations: 0.5448 MB / 1.121 GB, free: 11.86 MB / 0.795 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.01452/1.917, allocations: 5.875 MB / 1.127 GB, free: 5.973 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0137/1.931, allocations: 6.471 MB / 1.133 GB, free: 14.49 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2903/2.221, allocations: 50.95 MB / 1.183 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.266e-05/2.222, allocations: 20 kB / 1.183 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.3965/2.618, allocations: 12.27 MB / 1.195 GB, free: 279.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.978e-05/2.618, allocations: 65.06 kB / 1.195 GB, free: 279.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01917/2.637, allocations: 9.646 MB / 1.205 GB, free: 278.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/2.64, allocations: 0.7404 MB / 1.205 GB, free: 278.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009393/2.649, allocations: 2.356 MB / 1.208 GB, free: 278.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/2.661, allocations: 12.22 MB / 1.22 GB, free: 268.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006989/2.668, allocations: 317.3 kB / 1.22 GB, free: 268.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002195/2.67, allocations: 0.5364 MB / 1.22 GB, free: 268 MB / 0.8575 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.002866/2.673, allocations: 0.7265 MB / 1.221 GB, free: 267.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002533/2.675, allocations: 0.7781 MB / 1.222 GB, free: 267.5 MB / 0.8575 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.02261/2.698, allocations: 10.63 MB / 1.232 GB, free: 264.6 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.35000764898723] Failed to read output from testmodel.py, exit status != 0: 2.7077314979978837 2.721180735 1.924823366 Calling exit ...