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.01051/0.01051, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.0012/0.0012, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.001474/0.001474, allocations: 218 kB / 24.75 MB, free: 3.695 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.537/1.537, allocations: 230.6 MB / 258.5 MB, free: 13.12 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.112/1.112, allocations: 130.6 MB / 445.6 MB, free: 15.05 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="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: 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.3923/0.3923, allocations: 46.13 MB / 0.6545 GB, free: 30.22 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.5557, allocations: 89.06 MB / 0.7414 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator): time 0.03079/0.5865, allocations: 27.85 MB / 0.7686 GB, free: 6.801 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04599/0.6324, allocations: 24.79 MB / 0.7928 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006622/0.6391, allocations: 162.8 kB / 0.793 GB, free: 13.77 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.008819/0.6479, allocations: 3.145 MB / 0.7961 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01495/0.6628, allocations: 4.668 MB / 0.8006 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01138/0.6742, allocations: 4.046 MB / 0.8046 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01982/0.694, allocations: 12.94 MB / 0.8172 GB, free: 4.891 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008267/0.7023, allocations: 4.028 MB / 0.8212 GB, free: 0.793 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01148/0.7138, allocations: 5.385 MB / 0.8264 GB, free: 11.39 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.7244, allocations: 5.692 MB / 0.832 GB, free: 5.676 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.004136/0.7285, allocations: 0.8749 MB / 0.8328 GB, free: 4.801 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/0.7387, allocations: 3.198 MB / 0.8359 GB, free: 1.598 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.006177/0.7449, allocations: 2.811 MB / 0.8387 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01025/0.7551, allocations: 4.505 MB / 0.8431 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02409/0.7792, allocations: 14.12 MB / 0.8569 GB, free: 12.08 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7793, allocations: 7.938 kB / 0.8569 GB, free: 12.07 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7793, allocations: 0 / 0.8569 GB, free: 12.07 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000424/0.7797, allocations: 0 / 0.8569 GB, free: 12.07 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.02549/0.8052, allocations: 9.129 MB / 0.8658 GB, free: 2.828 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.8052, allocations: 16.03 kB / 0.8658 GB, free: 2.812 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002626/0.8078, allocations: 0.7371 MB / 0.8665 GB, free: 2.062 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00509/0.8129, allocations: 1.096 MB / 0.8676 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3657/1.179, allocations: 7.178 MB / 0.8746 GB, free: 110 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003444/1.179, allocations: 310.7 kB / 0.8749 GB, free: 109.8 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/1.181, allocations: 400.1 kB / 0.8753 GB, free: 109.7 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02669/1.207, allocations: 11.49 MB / 0.8865 GB, free: 103.6 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/1.207, allocations: 47.94 kB / 0.8866 GB, free: 103.6 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006527/1.208, allocations: 208.5 kB / 0.8868 GB, free: 103.4 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003674/1.208, allocations: 376.8 kB / 0.8871 GB, free: 103.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02554/1.234, allocations: 9.789 MB / 0.8967 GB, free: 99.49 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.04623/1.28, allocations: 42.33 MB / 0.938 GB, free: 62.25 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02154/1.302, allocations: 8.344 MB / 0.9462 GB, free: 57.53 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005844/1.308, allocations: 3.085 MB / 0.9492 GB, free: 55.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009262/1.309, allocations: 374.9 kB / 0.9495 GB, free: 55.52 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01665/1.325, allocations: 6.672 MB / 0.9561 GB, free: 51.64 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003986/1.329, allocations: 0.7923 MB / 0.9568 GB, free: 51.26 MB / 0.67 GB Notification: Performance of pre-optimization done (n=870): time 2.398e-05/1.329, allocations: 0 / 0.9568 GB, free: 51.26 MB / 0.67 GB Notification: Performance of matching and sorting (n=872): time 0.08357/1.413, allocations: 50.86 MB / 1.006 GB, free: 2.871 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002902/1.413, allocations: 1.536 MB / 1.008 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/1.423, allocations: 6.116 MB / 1.014 GB, free: 10.94 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001595/1.425, allocations: 97.7 kB / 1.014 GB, free: 10.84 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.00275/1.428, allocations: 2.841 MB / 1.017 GB, free: 8.156 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.004206/1.432, allocations: 2.975 MB / 1.02 GB, free: 5.223 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003615/1.436, allocations: 1.791 MB / 1.021 GB, free: 3.418 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.436, allocations: 303.8 kB / 1.022 GB, free: 3.121 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007804/1.443, allocations: 4.172 MB / 1.026 GB, free: 14.93 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01059/1.454, allocations: 6.518 MB / 1.032 GB, free: 7.5 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2973/1.751, allocations: 51.06 MB / 1.082 GB, free: 4.359 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.766e-05/1.751, allocations: 16 kB / 1.082 GB, free: 4.344 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02974/1.781, allocations: 12.63 MB / 1.094 GB, free: 7.684 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 9.77e-05/1.781, allocations: 65.7 kB / 1.094 GB, free: 7.613 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02281/1.804, allocations: 10.01 MB / 1.104 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004042/1.808, allocations: 1.038 MB / 1.105 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00979/1.818, allocations: 2.348 MB / 1.108 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/1.833, allocations: 12.41 MB / 1.12 GB, free: 12.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006177/1.839, allocations: 319.9 kB / 1.12 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/1.84, allocations: 0.5426 MB / 1.121 GB, free: 12.08 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.01177/1.852, allocations: 5.875 MB / 1.126 GB, free: 6.199 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01068/1.863, allocations: 6.475 MB / 1.133 GB, free: 14.71 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2978/2.161, allocations: 50.94 MB / 1.182 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.072e-05/2.161, allocations: 20.55 kB / 1.182 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.3809/2.542, allocations: 12.27 MB / 1.194 GB, free: 279.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.184e-05/2.542, allocations: 61.92 kB / 1.194 GB, free: 279.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01989/2.562, allocations: 9.649 MB / 1.204 GB, free: 279.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/2.564, allocations: 0.7337 MB / 1.205 GB, free: 278.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009235/2.573, allocations: 2.358 MB / 1.207 GB, free: 278.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/2.585, allocations: 12.23 MB / 1.219 GB, free: 268.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0081/2.593, allocations: 322.5 kB / 1.219 GB, free: 268.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002356/2.595, allocations: 0.5364 MB / 1.22 GB, free: 268.1 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.003294/2.598, allocations: 0.7223 MB / 1.22 GB, free: 267.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002854/2.601, allocations: 0.7718 MB / 1.221 GB, free: 267.7 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.02287/2.624, allocations: 10.64 MB / 1.231 GB, free: 264.7 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.295043539998005] Failed to read output from testmodel.py, exit status != 0: 2.6325948930025334 2.645862751 1.861195471 Calling exit ...