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.00598/0.00598, allocations: 1.442 MB / 20.54 MB, free: 4.012 MB / 18.57 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.0006667/0.0006667, allocations: 87.47 kB / 24.15 MB, free: 400 kB / 18.57 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.0007862/0.0007862, allocations: 160.2 kB / 27.86 MB, free: 5.496 MB / 18.57 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 0.8933/0.8933, allocations: 177.1 MB / 208.6 MB, free: 2.988 MB / 186.7 MB " [Timeout remaining time 179] 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.7373/0.7373, allocations: 102.5 MB / 367.9 MB, free: 1.473 MB / 330.8 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.5.2 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.5362 GB, free: 40.07 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.216e-05, allocations: 3.156 kB / 0.5362 GB, free: 40.07 MB / 490.8 MB 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.1215/0.1216, allocations: 70.76 MB / 0.6053 GB, free: 5.719 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0315/0.1531, allocations: 23.83 MB / 0.6286 GB, free: 13.81 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005825/0.1589, allocations: 154.8 kB / 0.6287 GB, free: 13.66 MB / 0.5262 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.006216/0.1651, allocations: 3.09 MB / 0.6317 GB, free: 10.55 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009938/0.175, allocations: 4.909 MB / 0.6365 GB, free: 5.617 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007497/0.1825, allocations: 4.171 MB / 0.6406 GB, free: 1.438 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01413/0.1967, allocations: 13.29 MB / 0.6536 GB, free: 4.098 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00586/0.2025, allocations: 4.093 MB / 0.6576 GB, free: 15.94 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01052/0.213, allocations: 7.308 MB / 0.6647 GB, free: 8.613 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006777/0.2198, allocations: 4.893 MB / 0.6695 GB, free: 3.707 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001714/0.2215, allocations: 0.8672 MB / 0.6703 GB, free: 2.84 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005053/0.2266, allocations: 2.612 MB / 0.6729 GB, free: 228 kB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.002375/0.229, allocations: 2.893 MB / 0.6757 GB, free: 13.32 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003702/0.2327, allocations: 2.876 MB / 0.6785 GB, free: 10.44 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.2482, allocations: 14.1 MB / 0.6923 GB, free: 12.3 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2482, allocations: 0 / 0.6923 GB, free: 12.3 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2482, allocations: 0 / 0.6923 GB, free: 12.3 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0003406/0.2485, allocations: 0 / 0.6923 GB, free: 12.3 MB / 0.5887 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.01398/0.2625, allocations: 8.97 MB / 0.701 GB, free: 3.238 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.2626, allocations: 12.03 kB / 0.701 GB, free: 3.227 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007234/0.2633, allocations: 0.7371 MB / 0.7018 GB, free: 2.477 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.2652, allocations: 1.1 MB / 0.7028 GB, free: 1.371 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008518/0.2738, allocations: 7 MB / 0.7097 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.2739, allocations: 312.4 kB / 0.71 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005518/0.2745, allocations: 396.3 kB / 0.7104 GB, free: 9.586 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01653/0.291, allocations: 13.53 MB / 0.7236 GB, free: 10.34 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.731e-05/0.2911, allocations: 51.5 kB / 0.7236 GB, free: 10.29 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000384/0.2915, allocations: 212 kB / 0.7238 GB, free: 10.08 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002649/0.2917, allocations: 378.2 kB / 0.7242 GB, free: 9.707 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01464/0.3064, allocations: 9.773 MB / 0.7337 GB, free: 15.91 MB / 0.6355 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.3499/0.6562, allocations: 39.55 MB / 0.7723 GB, free: 147.9 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/0.6694, allocations: 8.194 MB / 0.7803 GB, free: 145.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003832/0.6732, allocations: 3.107 MB / 0.7834 GB, free: 144.2 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000538/0.6737, allocations: 260.2 kB / 0.7836 GB, free: 144.2 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009988/0.6837, allocations: 6.697 MB / 0.7902 GB, free: 140.7 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002947/0.6867, allocations: 0.8038 MB / 0.7909 GB, free: 140.5 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=870): time 1.881e-05/0.6867, allocations: 0 / 0.7909 GB, free: 140.5 MB / 0.6512 GB Notification: Performance of matching and sorting (n=872): time 0.05488/0.7416, allocations: 50.47 MB / 0.8402 GB, free: 104.3 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002162/0.7418, allocations: 1.532 MB / 0.8417 GB, free: 102.4 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005495/0.7473, allocations: 6.228 MB / 0.8478 GB, free: 96.26 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0009414/0.7482, allocations: 101.2 kB / 0.8479 GB, free: 96.16 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.7495, allocations: 2.822 MB / 0.8507 GB, free: 93.55 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001536/0.751, allocations: 2.94 MB / 0.8535 GB, free: 91.04 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/0.7526, allocations: 1.767 MB / 0.8553 GB, free: 89.26 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.748e-05/0.7526, allocations: 308.3 kB / 0.8556 GB, free: 88.96 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00403/0.7566, allocations: 4.205 MB / 0.8597 GB, free: 84.73 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004715/0.7613, allocations: 7.268 MB / 0.8668 GB, free: 76.31 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1299/0.8913, allocations: 51.09 MB / 0.9167 GB, free: 25.43 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.658e-05/0.8913, allocations: 23.56 kB / 0.9167 GB, free: 25.41 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01555/0.9068, allocations: 12.67 MB / 0.929 GB, free: 12.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/0.9069, allocations: 70.66 kB / 0.9291 GB, free: 12.62 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0108/0.9177, allocations: 10.05 MB / 0.9389 GB, free: 2.535 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001874/0.9196, allocations: 1.043 MB / 0.9399 GB, free: 1.496 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00455/0.9241, allocations: 2.348 MB / 0.9422 GB, free: 15.14 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.9342, allocations: 11.72 MB / 0.9537 GB, free: 2.742 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006502/0.9407, allocations: 324.8 kB / 0.954 GB, free: 2.434 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007975/0.9415, allocations: 0.5426 MB / 0.9545 GB, free: 1.891 MB / 0.6668 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.009074/0.9506, allocations: 5.907 MB / 0.9603 GB, free: 11.97 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006288/0.9569, allocations: 7.207 MB / 0.9673 GB, free: 3.578 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1368/1.094, allocations: 50.97 MB / 1.017 GB, free: 15.71 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.197e-05/1.094, allocations: 16 kB / 1.017 GB, free: 15.7 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01788/1.112, allocations: 12.32 MB / 1.029 GB, free: 3.312 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/1.112, allocations: 66.67 kB / 1.029 GB, free: 3.242 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0117/1.123, allocations: 9.698 MB / 1.039 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/1.125, allocations: 0.7407 MB / 1.039 GB, free: 8.746 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004674/1.129, allocations: 2.356 MB / 1.042 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2882/1.417, allocations: 11.52 MB / 1.053 GB, free: 266.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004832/1.422, allocations: 318.9 kB / 1.053 GB, free: 266.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008966/1.423, allocations: 0.5401 MB / 1.054 GB, free: 266.1 MB / 0.7605 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.002164/1.425, allocations: 0.7266 MB / 1.054 GB, free: 265.9 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/1.427, allocations: 0.7758 MB / 1.055 GB, free: 265.9 MB / 0.7605 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.01272/1.439, allocations: 10.66 MB / 1.066 GB, free: 263.9 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.286002888344228] Failed to read output from testmodel.py, exit status != 0: 1.5931818764656782 1.600426066 1.350735434 Calling exit ...