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.01362/0.01362, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001508/0.001508, allocations: 108.6 kB / 24.19 MB, free: 2.688 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.001595/0.001595, allocations: 206.6 kB / 27.92 MB, free: 4.027 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.428/1.428, allocations: 230.6 MB / 262.1 MB, free: 6.012 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.076/1.076, allocations: 130.7 MB / 449.7 MB, free: 6.609 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: 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.03243/0.03243, allocations: 20.78 MB / 0.6357 GB, free: 5.191 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1974, allocations: 81.91 MB / 0.7157 GB, free: 3.188 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.4807/0.6781, allocations: 60.84 MB / 0.7751 GB, free: 9.613 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03932/0.7174, allocations: 25.1 MB / 0.7996 GB, free: 7.691 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008386/0.7258, allocations: 157.8 kB / 0.7998 GB, free: 7.617 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.009497/0.7353, allocations: 3.209 MB / 0.8029 GB, free: 5.379 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01597/0.7513, allocations: 4.776 MB / 0.8076 GB, free: 1.625 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01112/0.7624, allocations: 4.13 MB / 0.8116 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02043/0.7829, allocations: 12.98 MB / 0.8243 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006795/0.7896, allocations: 3.824 MB / 0.828 GB, free: 140 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01009/0.7997, allocations: 5.392 MB / 0.8333 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01033/0.8101, allocations: 5.707 MB / 0.8389 GB, free: 5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003284/0.8134, allocations: 0.8711 MB / 0.8397 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009626/0.823, allocations: 3.432 MB / 0.8431 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005425/0.8284, allocations: 2.815 MB / 0.8458 GB, free: 13.88 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.009858/0.8383, allocations: 4.509 MB / 0.8502 GB, free: 9.352 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02397/0.8622, allocations: 14.2 MB / 0.8641 GB, free: 11.11 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8622, allocations: 0 / 0.8641 GB, free: 11.11 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8622, allocations: 2.688 kB / 0.8641 GB, free: 11.11 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004558/0.8627, allocations: 0 / 0.8641 GB, free: 11.11 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.02497/0.8877, allocations: 9.066 MB / 0.8729 GB, free: 1.977 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.8877, allocations: 12.03 kB / 0.873 GB, free: 1.965 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002431/0.8901, allocations: 0.7384 MB / 0.8737 GB, free: 1.215 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004692/0.8948, allocations: 1.095 MB / 0.8748 GB, free: 120 kB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01677/0.9116, allocations: 6.997 MB / 0.8816 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000414/0.912, allocations: 304.4 kB / 0.8819 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002026/0.914, allocations: 410.5 kB / 0.8823 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03039/0.9444, allocations: 11.49 MB / 0.8935 GB, free: 11.75 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001342/0.9446, allocations: 54.41 kB / 0.8935 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006875/0.9453, allocations: 208 kB / 0.8937 GB, free: 11.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004728/0.9457, allocations: 374.2 kB / 0.8941 GB, free: 11.13 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02597/0.9717, allocations: 9.788 MB / 0.9037 GB, free: 1.336 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.05378/1.025, allocations: 42.26 MB / 0.9449 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02251/1.048, allocations: 8.196 MB / 0.9529 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007108/1.055, allocations: 3.079 MB / 0.9559 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/1.056, allocations: 297.1 kB / 0.9562 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01866/1.075, allocations: 6.662 MB / 0.9627 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003689/1.079, allocations: 0.7944 MB / 0.9635 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 1.166e-05/1.079, allocations: 2.656 kB / 0.9635 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1015/1.18, allocations: 50.41 MB / 1.013 GB, free: 15.76 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001034/1.181, allocations: 1.535 MB / 1.014 GB, free: 13.87 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01105/1.192, allocations: 6.128 MB / 1.02 GB, free: 7.758 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.00164/1.194, allocations: 101.7 kB / 1.02 GB, free: 7.652 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002922/1.197, allocations: 2.828 MB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004496/1.201, allocations: 2.978 MB / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004046/1.205, allocations: 1.791 MB / 1.028 GB, free: 0 / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.205, allocations: 301.1 kB / 1.028 GB, free: 15.7 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007716/1.213, allocations: 4.176 MB / 1.032 GB, free: 11.51 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/1.225, allocations: 6.515 MB / 1.038 GB, free: 4.043 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5886/1.813, allocations: 51.06 MB / 1.088 GB, free: 341.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.234e-05/1.813, allocations: 20.66 kB / 1.088 GB, free: 341.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02618/1.839, allocations: 12.62 MB / 1.101 GB, free: 333.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.708e-05/1.84, allocations: 67.59 kB / 1.101 GB, free: 333 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02061/1.86, allocations: 9.999 MB / 1.11 GB, free: 323 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003501/1.864, allocations: 1.047 MB / 1.112 GB, free: 321.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008477/1.872, allocations: 2.348 MB / 1.114 GB, free: 319.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/1.883, allocations: 11.8 MB / 1.125 GB, free: 307.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006077/1.889, allocations: 316.7 kB / 1.126 GB, free: 306.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001842/1.891, allocations: 0.5426 MB / 1.126 GB, free: 306.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.01094/1.902, allocations: 5.877 MB / 1.132 GB, free: 300.5 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008275/1.91, allocations: 6.475 MB / 1.138 GB, free: 293 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2628/2.173, allocations: 50.94 MB / 1.188 GB, free: 241.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.357e-05/2.173, allocations: 16 kB / 1.188 GB, free: 241.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02467/2.197, allocations: 12.27 MB / 1.2 GB, free: 229.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.921e-05/2.198, allocations: 69.64 kB / 1.2 GB, free: 229.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01883/2.216, allocations: 9.655 MB / 1.209 GB, free: 219.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/2.218, allocations: 0.7465 MB / 1.21 GB, free: 218.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008441/2.227, allocations: 2.357 MB / 1.212 GB, free: 216.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009964/2.237, allocations: 11.6 MB / 1.224 GB, free: 204.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005849/2.243, allocations: 328.4 kB / 1.224 GB, free: 203.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/2.244, allocations: 0.5348 MB / 1.225 GB, free: 203.2 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.003099/2.248, allocations: 0.7236 MB / 1.225 GB, free: 202.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002736/2.25, allocations: 0.779 MB / 1.226 GB, free: 202 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.02008/2.27, allocations: 10.61 MB / 1.236 GB, free: 191.7 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.06577655000001] Failed to read output from testmodel.py, exit status != 0: 2.4052538229989295 2.415676231 1.550856116 Calling exit ...