Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1.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.0109/0.0109, allocations: 2.335 MB / 21.18 MB, free: 3.527 MB / 13.93 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.0007901/0.0007901, allocations: 119.5 kB / 24.89 MB, free: 236 kB / 13.93 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.0009379/0.0009379, allocations: 216.4 kB / 28.72 MB, free: 1.043 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.9243/0.9243, allocations: 230.6 MB / 263 MB, free: 6.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.747/0.747, allocations: 130.7 MB / 450.7 MB, free: 9.711 MB / 346.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "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: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.03458/0.03458, allocations: 29.94 MB / 0.6466 GB, free: 26.8 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1567, allocations: 82.05 MB / 0.7267 GB, free: 11.63 MB / 0.5418 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.TestSeparator_L1): time 0.09451/0.2512, allocations: 47.89 MB / 0.7735 GB, free: 11.64 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.01898/0.2702, allocations: 19.15 MB / 0.7922 GB, free: 8.434 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.2723, allocations: 91.31 kB / 0.7923 GB, free: 8.344 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.003809/0.2761, allocations: 1.872 MB / 0.7941 GB, free: 6.465 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.004954/0.2811, allocations: 2.432 MB / 0.7965 GB, free: 4.02 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.004563/0.2856, allocations: 2.729 MB / 0.7991 GB, free: 1.285 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.006573/0.2922, allocations: 5.652 MB / 0.8046 GB, free: 11.61 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.2943, allocations: 1.644 MB / 0.8063 GB, free: 9.922 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.2974, allocations: 2.343 MB / 0.8085 GB, free: 7.57 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.3002, allocations: 2.397 MB / 0.8109 GB, free: 5.164 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.0006254/0.3008, allocations: 364 kB / 0.8112 GB, free: 4.809 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.3042, allocations: 1.946 MB / 0.8131 GB, free: 2.859 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.000904/0.3051, allocations: 1.175 MB / 0.8143 GB, free: 1.68 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.3068, allocations: 1.612 MB / 0.8159 GB, free: 60 kB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.007168/0.314, allocations: 6.732 MB / 0.8224 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.314, allocations: 0 / 0.8224 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.854e-06/0.314, allocations: 4 kB / 0.8224 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000113/0.3141, allocations: 0 / 0.8224 GB, free: 9.297 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 801 * Number of variables: 801 Notification: Performance of Generate backend data structure: time 0.005303/0.3194, allocations: 4.842 MB / 0.8272 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3195, allocations: 16.03 kB / 0.8272 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003059/0.3198, allocations: 386.7 kB / 0.8275 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009506/0.3207, allocations: 0.5756 MB / 0.8281 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2162/0.5369, allocations: 3.603 MB / 0.8316 GB, free: 168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.5371, allocations: 153.7 kB / 0.8318 GB, free: 167.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/0.5374, allocations: 199.4 kB / 0.832 GB, free: 167.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006858/0.5443, allocations: 5.529 MB / 0.8374 GB, free: 165 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/0.5443, allocations: 25.75 kB / 0.8374 GB, free: 165 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.5445, allocations: 105.1 kB / 0.8375 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-05/0.5446, allocations: 73.97 kB / 0.8376 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006402/0.551, allocations: 3.646 MB / 0.8411 GB, free: 163.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.5629, allocations: 20.21 MB / 0.8609 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005797/0.5687, allocations: 3.157 MB / 0.8639 GB, free: 145.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.5703, allocations: 1.211 MB / 0.8651 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003094/0.5706, allocations: 140.4 kB / 0.8653 GB, free: 144.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004779/0.5754, allocations: 3.066 MB / 0.8682 GB, free: 143.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=448): time 7.885e-06/0.5754, allocations: 5.594 kB / 0.8683 GB, free: 143.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=448): time 0.01167/0.587, allocations: 6.995 MB / 0.8751 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.5872, allocations: 0.8106 MB / 0.8759 GB, free: 140.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003488/0.5907, allocations: 3.181 MB / 0.879 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003803/0.591, allocations: 56.11 kB / 0.879 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007168/0.5918, allocations: 1.531 MB / 0.8805 GB, free: 137.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008406/0.5926, allocations: 1.483 MB / 0.882 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009921/0.5936, allocations: 0.8942 MB / 0.8829 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.582e-05/0.5936, allocations: 301.1 kB / 0.8831 GB, free: 135.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.5955, allocations: 1.628 MB / 0.8847 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/0.5976, allocations: 3.005 MB / 0.8877 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07895/0.6766, allocations: 25.85 MB / 0.9129 GB, free: 109 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-05/0.6766, allocations: 8 kB / 0.9129 GB, free: 109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.007648/0.6842, allocations: 5.318 MB / 0.9181 GB, free: 103.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.59e-05/0.6843, allocations: 154.8 kB / 0.9183 GB, free: 103.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005213/0.6895, allocations: 4.023 MB / 0.9222 GB, free: 99.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.6897, allocations: 107.5 kB / 0.9223 GB, free: 99.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/0.6921, allocations: 1.123 MB / 0.9234 GB, free: 98.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008392/0.693, allocations: 1.419 MB / 0.9248 GB, free: 96.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.695, allocations: 448.3 kB / 0.9252 GB, free: 96.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/0.6954, allocations: 299.8 kB / 0.9255 GB, free: 96 MB / 0.6355 GB Warning: Assuming fixed start value for the following 2 variables: volumeVLE_2_1.h:VARIABLE(start = volumeVLE_2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real volumeVLE_2_1.p:VARIABLE(min = 0.0 start = volumeVLE_2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003299/0.6987, allocations: 2.308 MB / 0.9277 GB, free: 93.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002433/0.7011, allocations: 2.99 MB / 0.9307 GB, free: 90.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08808/0.7892, allocations: 25.74 MB / 0.9558 GB, free: 64.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-05/0.7892, allocations: 12.77 kB / 0.9558 GB, free: 64.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.006169/0.7954, allocations: 5.276 MB / 0.961 GB, free: 58.69 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.7954, allocations: 146.8 kB / 0.9611 GB, free: 58.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003965/0.7994, allocations: 3.988 MB / 0.965 GB, free: 54.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.7995, allocations: 92.84 kB / 0.9651 GB, free: 54.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.8013, allocations: 1.124 MB / 0.9662 GB, free: 53.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006216/0.8019, allocations: 1.402 MB / 0.9675 GB, free: 51.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.8035, allocations: 371.7 kB / 0.9679 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002787/0.8037, allocations: 295.8 kB / 0.9682 GB, free: 51.16 MB / 0.6355 GB Warning: Assuming fixed start value for the following 2 variables: volumeVLE_2_1.h:VARIABLE(start = volumeVLE_2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real volumeVLE_2_1.p:VARIABLE(min = 0.0 start = volumeVLE_2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 164 * Number of states: 0 () * Number of discrete variables: 28 (timeTable_p1.nextEventScaled,timeTable_p1.nextEvent,$PRE.timeTable_p1.nextEvent,timeTable_p1.last,timeTable_p1.b,timeTable_p1.a,timeTable2.nextEventScaled,timeTable2.nextEvent,$PRE.timeTable2.nextEvent,timeTable2.last,timeTable2.b,timeTable2.a,timeTable1.nextEventScaled,timeTable1.nextEvent,$PRE.timeTable1.nextEvent,timeTable1.last,timeTable1.b,timeTable1.a,timeTable_p.nextEventScaled,timeTable_p.nextEvent,$PRE.timeTable_p.nextEvent,timeTable_p.last,timeTable_p.b,timeTable_p.a,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 585 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008785/0.8046, allocations: 0.5831 MB / 0.9688 GB, free: 50.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006661/0.8053, allocations: 437 kB / 0.9692 GB, free: 50.15 MB / 0.6355 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 697 equation(s) and 664 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (steamSeparator.fluidIn.q, steamSeparator.fluidIn.cp, steamSeparator.fluidIn.cv, steamSeparator.fluidIn.beta, steamSeparator.fluidIn.kappa, steamSeparator.fluidIn.drhodp_hxi, steamSeparator.fluidIn.drhodh_pxi, _, steamSeparator.fluidIn.w, steamSeparator.fluidIn.gamma) = ($cse6, $cse7, $cse8, $cse9, $cse10, $cse11, $cse12, $cse13, $cse14, $cse15) has size 9 but 7 variables ($whenCondition1, timeTable_p.a, timeTable_p.b, timeTable_p.last, timeTable_p.nextEvent, timeTable_p.nextEventScaled, timeTable_p.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005166/0.8105, allocations: 5.497 MB / 0.9745 GB, free: 44.79 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.6561120823025703]