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.01736/0.01736, 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.001727/0.001727, allocations: 111.5 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.002536/0.002536, allocations: 207.9 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.513/1.513, allocations: 230.6 MB / 262.1 MB, free: 6 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.107/1.107, allocations: 130.7 MB / 449.7 MB, free: 6.598 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.03413/0.03413, allocations: 20.78 MB / 0.6357 GB, free: 5.152 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.2189, allocations: 81.9 MB / 0.7157 GB, free: 3.141 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.5348/0.7537, allocations: 60.84 MB / 0.7751 GB, free: 9.59 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04472/0.7984, allocations: 25.1 MB / 0.7996 GB, free: 7.672 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009029/0.8074, allocations: 153.9 kB / 0.7998 GB, free: 7.602 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.01083/0.8183, allocations: 3.212 MB / 0.8029 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01763/0.8359, allocations: 4.769 MB / 0.8076 GB, free: 1.617 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01183/0.8477, allocations: 4.134 MB / 0.8116 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02258/0.8703, allocations: 12.98 MB / 0.8243 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0102/0.8805, allocations: 3.825 MB / 0.828 GB, free: 84 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01598/0.8965, allocations: 5.395 MB / 0.8333 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01269/0.9092, allocations: 5.71 MB / 0.8389 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004706/0.9139, allocations: 0.8672 MB / 0.8397 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01156/0.9254, allocations: 3.422 MB / 0.8431 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00588/0.9313, allocations: 2.819 MB / 0.8458 GB, free: 13.82 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01102/0.9423, allocations: 4.505 MB / 0.8502 GB, free: 9.297 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02715/0.9695, allocations: 14.2 MB / 0.8641 GB, free: 11.05 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.9695, allocations: 0 / 0.8641 GB, free: 11.05 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9695, allocations: 0 / 0.8641 GB, free: 11.05 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004706/0.97, allocations: 7.469 kB / 0.8641 GB, free: 11.04 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.02753/0.9975, allocations: 9.058 MB / 0.8729 GB, free: 1.926 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.9975, allocations: 14.69 kB / 0.873 GB, free: 1.914 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002782/1, allocations: 0.7449 MB / 0.8737 GB, free: 1.156 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/1.006, allocations: 1.094 MB / 0.8748 GB, free: 64 kB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01711/1.023, allocations: 7.004 MB / 0.8816 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004001/1.023, allocations: 308.4 kB / 0.8819 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001798/1.025, allocations: 399.9 kB / 0.8823 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03149/1.056, allocations: 11.49 MB / 0.8935 GB, free: 11.69 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002299/1.057, allocations: 50.22 kB / 0.8935 GB, free: 11.64 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00164/1.058, allocations: 204 kB / 0.8937 GB, free: 11.45 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005853/1.059, allocations: 378.2 kB / 0.8941 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02896/1.088, allocations: 9.788 MB / 0.9037 GB, free: 1.281 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.06085/1.149, allocations: 42.26 MB / 0.9449 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02442/1.173, allocations: 8.204 MB / 0.9529 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007527/1.181, allocations: 3.074 MB / 0.9559 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/1.182, allocations: 289.2 kB / 0.9562 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02062/1.202, allocations: 6.669 MB / 0.9627 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004616/1.207, allocations: 0.7944 MB / 0.9635 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 2.989e-05/1.207, allocations: 0 / 0.9635 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1053/1.312, allocations: 50.41 MB / 1.013 GB, free: 15.71 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008441/1.313, allocations: 1.534 MB / 1.014 GB, free: 13.82 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.323, allocations: 6.121 MB / 1.02 GB, free: 7.719 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001544/1.325, allocations: 101.7 kB / 1.02 GB, free: 7.613 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002799/1.328, allocations: 2.837 MB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004356/1.332, allocations: 2.974 MB / 1.026 GB, free: 1.754 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003151/1.335, allocations: 1.793 MB / 1.028 GB, free: 15.95 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.335, allocations: 305.1 kB / 1.028 GB, free: 15.64 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007303/1.343, allocations: 4.172 MB / 1.032 GB, free: 11.45 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009757/1.352, allocations: 6.515 MB / 1.038 GB, free: 3.988 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5846/1.937, allocations: 51.06 MB / 1.088 GB, free: 339.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.585e-05/1.937, allocations: 20.06 kB / 1.088 GB, free: 339.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02492/1.962, allocations: 12.62 MB / 1.101 GB, free: 330.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.719e-05/1.962, allocations: 61.7 kB / 1.101 GB, free: 330.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01777/1.98, allocations: 10.01 MB / 1.11 GB, free: 320.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003389/1.983, allocations: 1.041 MB / 1.112 GB, free: 319.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008514/1.992, allocations: 2.352 MB / 1.114 GB, free: 317.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/2.002, allocations: 11.8 MB / 1.125 GB, free: 304.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006149/2.008, allocations: 322.3 kB / 1.126 GB, free: 304.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001661/2.01, allocations: 0.5387 MB / 1.126 GB, free: 303.8 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.009349/2.019, allocations: 5.871 MB / 1.132 GB, free: 298 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006982/2.026, allocations: 6.475 MB / 1.138 GB, free: 290.5 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2586/2.285, allocations: 50.94 MB / 1.188 GB, free: 238.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.997e-05/2.285, allocations: 16 kB / 1.188 GB, free: 238.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02517/2.31, allocations: 12.28 MB / 1.2 GB, free: 226.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.291e-05/2.31, allocations: 65.7 kB / 1.2 GB, free: 226.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02013/2.33, allocations: 9.651 MB / 1.209 GB, free: 216.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/2.332, allocations: 0.7369 MB / 1.21 GB, free: 216.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008604/2.341, allocations: 2.353 MB / 1.212 GB, free: 213.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/2.351, allocations: 11.62 MB / 1.224 GB, free: 201.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00655/2.357, allocations: 320.3 kB / 1.224 GB, free: 201.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001935/2.359, allocations: 0.5349 MB / 1.225 GB, free: 200.7 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.003563/2.363, allocations: 0.7321 MB / 1.225 GB, free: 200 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003131/2.366, allocations: 0.7827 MB / 1.226 GB, free: 199.5 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.0203/2.386, allocations: 10.61 MB / 1.236 GB, free: 189.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.461766598979011] Failed to read output from testmodel.py, exit status != 0: 2.546366459922865 2.558023879 1.58557877 Calling exit ...