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.01013/0.01013, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.001229/0.001229, allocations: 107.5 kB / 24.98 MB, free: 2.156 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.00156/0.00156, allocations: 204 kB / 28.7 MB, free: 3.441 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.461/1.461, allocations: 230.6 MB / 262.9 MB, free: 5.996 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.035/1.035, allocations: 130.7 MB / 450.4 MB, free: 6.844 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: 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.04728/0.04728, allocations: 20.6 MB / 0.6363 GB, free: 5.328 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.2092, allocations: 81.91 MB / 0.7163 GB, free: 3.32 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.4987/0.7079, allocations: 60.83 MB / 0.7757 GB, free: 9.535 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04427/0.7522, allocations: 25.1 MB / 0.8002 GB, free: 7.645 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008457/0.7606, allocations: 157.9 kB / 0.8004 GB, free: 7.57 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.009806/0.7705, allocations: 3.21 MB / 0.8035 GB, free: 5.332 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01738/0.7878, allocations: 4.779 MB / 0.8082 GB, free: 1.578 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01255/0.8004, allocations: 4.129 MB / 0.8122 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02478/0.8252, allocations: 12.97 MB / 0.8249 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008613/0.8338, allocations: 3.825 MB / 0.8286 GB, free: 104 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01148/0.8453, allocations: 5.389 MB / 0.8339 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01089/0.8561, allocations: 5.718 MB / 0.8395 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003447/0.8596, allocations: 0.8672 MB / 0.8403 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009485/0.8691, allocations: 3.431 MB / 0.8437 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004799/0.8739, allocations: 2.818 MB / 0.8464 GB, free: 13.85 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.009353/0.8832, allocations: 4.513 MB / 0.8508 GB, free: 9.312 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02488/0.9081, allocations: 14.19 MB / 0.8647 GB, free: 11.07 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.9081, allocations: 0 / 0.8647 GB, free: 11.07 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9081, allocations: 0 / 0.8647 GB, free: 11.07 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005042/0.9086, allocations: 0 / 0.8647 GB, free: 11.07 MB / 0.6388 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.02725/0.9359, allocations: 9.066 MB / 0.8735 GB, free: 1.941 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.9359, allocations: 8.031 kB / 0.8735 GB, free: 1.934 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001842/0.9361, allocations: 134.3 kB / 0.8737 GB, free: 1.805 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002679/0.9388, allocations: 0.7398 MB / 0.8744 GB, free: 1.055 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005131/0.9439, allocations: 1.097 MB / 0.8755 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01577/0.9597, allocations: 7.005 MB / 0.8823 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004019/0.9601, allocations: 309.7 kB / 0.8826 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001871/0.962, allocations: 396 kB / 0.883 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03044/0.9924, allocations: 11.49 MB / 0.8942 GB, free: 11.58 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000217/0.9926, allocations: 47.56 kB / 0.8942 GB, free: 11.54 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001562/0.9942, allocations: 203.9 kB / 0.8944 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006022/0.9948, allocations: 378.2 kB / 0.8948 GB, free: 10.96 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0289/1.024, allocations: 9.788 MB / 0.9044 GB, free: 1.172 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.05756/1.081, allocations: 42.26 MB / 0.9456 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02293/1.104, allocations: 8.194 MB / 0.9536 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007054/1.111, allocations: 3.074 MB / 0.9566 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/1.112, allocations: 301 kB / 0.9569 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02081/1.133, allocations: 6.666 MB / 0.9634 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004535/1.138, allocations: 0.7982 MB / 0.9642 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 1.974e-05/1.138, allocations: 0 / 0.9642 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1079/1.246, allocations: 50.41 MB / 1.013 GB, free: 15.6 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008241/1.247, allocations: 1.532 MB / 1.015 GB, free: 13.71 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/1.257, allocations: 6.124 MB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001746/1.258, allocations: 101.7 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002909/1.261, allocations: 2.829 MB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004454/1.266, allocations: 2.978 MB / 1.027 GB, free: 1.641 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003899/1.27, allocations: 1.793 MB / 1.028 GB, free: 15.84 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.27, allocations: 309.1 kB / 1.029 GB, free: 15.53 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007883/1.278, allocations: 4.168 MB / 1.033 GB, free: 11.34 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/1.289, allocations: 6.515 MB / 1.039 GB, free: 3.879 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5871/1.876, allocations: 51.06 MB / 1.089 GB, free: 339.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.114e-05/1.876, allocations: 21.44 kB / 1.089 GB, free: 339.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02853/1.905, allocations: 12.62 MB / 1.101 GB, free: 330.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.905, allocations: 65.69 kB / 1.101 GB, free: 330.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02056/1.925, allocations: 9.996 MB / 1.111 GB, free: 320.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003504/1.929, allocations: 1.042 MB / 1.112 GB, free: 319.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008762/1.938, allocations: 2.347 MB / 1.115 GB, free: 316.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/1.948, allocations: 11.8 MB / 1.126 GB, free: 304.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006152/1.954, allocations: 319.7 kB / 1.126 GB, free: 304.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00185/1.956, allocations: 0.5426 MB / 1.127 GB, free: 303.6 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.01133/1.968, allocations: 5.879 MB / 1.133 GB, free: 297.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008327/1.976, allocations: 6.471 MB / 1.139 GB, free: 290.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2564/2.232, allocations: 50.95 MB / 1.189 GB, free: 238.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.652e-05/2.232, allocations: 19.59 kB / 1.189 GB, free: 238.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02392/2.256, allocations: 12.27 MB / 1.201 GB, free: 226.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.513e-05/2.256, allocations: 65.69 kB / 1.201 GB, free: 226.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01796/2.274, allocations: 9.655 MB / 1.21 GB, free: 216.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/2.276, allocations: 0.7345 MB / 1.211 GB, free: 215.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008311/2.285, allocations: 2.36 MB / 1.213 GB, free: 213.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009732/2.294, allocations: 11.6 MB / 1.225 GB, free: 201.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006101/2.3, allocations: 324.4 kB / 1.225 GB, free: 201 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0017/2.302, allocations: 0.5387 MB / 1.225 GB, free: 200.5 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.003059/2.305, allocations: 0.7269 MB / 1.226 GB, free: 199.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002686/2.308, allocations: 0.7718 MB / 1.227 GB, free: 199.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.019/2.327, allocations: 10.63 MB / 1.237 GB, free: 189 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.063867034972645] Failed to read output from testmodel.py, exit status != 0: 2.4751022920245305 2.487294139 1.5746873270000001 Calling exit ...