Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.009669/0.009669, allocations: 1.773 MB / 20.62 MB, free: 3.879 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.08294/0.08294, allocations: 25.61 MB / 49.71 MB, free: 2.926 MB / 33.03 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.0009468/0.0009468, allocations: 114.1 kB / 60.65 MB, free: 3.023 MB / 44.04 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.001701/0.001701, allocations: 223.6 kB / 71.72 MB, free: 6.492 MB / 44.04 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.972/0.972, allocations: 230.6 MB / 313.3 MB, free: 11.78 MB / 234.7 MB " [Timeout remaining time 179] 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 0.7838/0.7838, allocations: 130.7 MB / 0.4963 GB, free: 2.184 MB / 362.8 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="me_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: 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: 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: Performance of FrontEnd - loaded program: time 0.002613/0.002613, allocations: 158.8 kB / 0.69 GB, free: 47.14 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1386, allocations: 89.26 MB / 0.7772 GB, free: 3.004 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1): time 0.01158/0.1502, allocations: 14.9 MB / 0.7918 GB, free: 4.031 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02186/0.1721, allocations: 19.15 MB / 0.8105 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/0.1749, allocations: 91.31 kB / 0.8106 GB, free: 0.7305 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003875/0.1787, allocations: 1.863 MB / 0.8124 GB, free: 14.86 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.004891/0.1836, allocations: 2.421 MB / 0.8147 GB, free: 12.42 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004772/0.1884, allocations: 2.719 MB / 0.8174 GB, free: 9.703 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.006647/0.195, allocations: 5.667 MB / 0.8229 GB, free: 4.023 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/0.1976, allocations: 1.64 MB / 0.8245 GB, free: 2.34 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003678/0.2013, allocations: 2.351 MB / 0.8268 GB, free: 15.98 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003335/0.2046, allocations: 2.403 MB / 0.8292 GB, free: 13.57 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.0009837/0.2056, allocations: 364 kB / 0.8295 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004156/0.2097, allocations: 1.94 MB / 0.8314 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.2108, allocations: 1.168 MB / 0.8326 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.002285/0.2131, allocations: 1.616 MB / 0.8341 GB, free: 8.473 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.008751/0.2219, allocations: 6.732 MB / 0.8407 GB, free: 1.715 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.2219, allocations: 0 / 0.8407 GB, free: 1.715 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2219, allocations: 0 / 0.8407 GB, free: 1.715 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 0.0002104/0.2221, allocations: 0 / 0.8407 GB, free: 1.715 MB / 0.6043 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.007195/0.2293, allocations: 4.851 MB / 0.8454 GB, free: 12.77 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.2293, allocations: 15.97 kB / 0.8455 GB, free: 12.75 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003758/0.2297, allocations: 386.7 kB / 0.8458 GB, free: 12.36 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.2308, allocations: 0.5795 MB / 0.8464 GB, free: 11.78 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004655/0.2354, allocations: 3.618 MB / 0.8499 GB, free: 8.105 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.118e-05/0.2355, allocations: 152 kB / 0.8501 GB, free: 7.953 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.2357, allocations: 196 kB / 0.8503 GB, free: 7.762 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006434/0.2421, allocations: 5.532 MB / 0.8557 GB, free: 1.445 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-05/0.2422, allocations: 27.75 kB / 0.8557 GB, free: 1.418 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.2423, allocations: 104 kB / 0.8558 GB, free: 1.316 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.391e-05/0.2424, allocations: 75.98 kB / 0.8559 GB, free: 1.242 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00547/0.2478, allocations: 3.643 MB / 0.8594 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/0.2605, allocations: 20.21 MB / 0.8792 GB, free: 8.648 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004833/0.2653, allocations: 3.164 MB / 0.8822 GB, free: 5.344 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.2665, allocations: 1.205 MB / 0.8834 GB, free: 4.074 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.2668, allocations: 133.1 kB / 0.8835 GB, free: 3.945 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004381/0.2712, allocations: 3.076 MB / 0.8865 GB, free: 0.7422 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=448): time 5.27e-06/0.2712, allocations: 0 / 0.8865 GB, free: 0.7422 MB / 0.6512 GB Notification: Performance of matching and sorting (n=448): time 0.01104/0.2822, allocations: 6.997 MB / 0.8934 GB, free: 9.648 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002388/0.2825, allocations: 0.805 MB / 0.8942 GB, free: 8.656 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003305/0.2858, allocations: 3.175 MB / 0.8973 GB, free: 5.492 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.286, allocations: 58.33 kB / 0.8973 GB, free: 5.43 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009436/0.2869, allocations: 1.531 MB / 0.8988 GB, free: 3.887 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009853/0.2879, allocations: 1.491 MB / 0.9003 GB, free: 2.383 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009156/0.2888, allocations: 0.8843 MB / 0.9011 GB, free: 1.488 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.2889, allocations: 309.1 kB / 0.9014 GB, free: 1.184 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3013/0.5902, allocations: 1.62 MB / 0.903 GB, free: 118.5 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003359/0.5935, allocations: 3.005 MB / 0.9059 GB, free: 116.8 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08766/0.6812, allocations: 25.85 MB / 0.9312 GB, free: 109.1 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.911e-05/0.6812, allocations: 15.56 kB / 0.9312 GB, free: 109.1 MB / 0.6668 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.007158/0.6884, allocations: 5.317 MB / 0.9364 GB, free: 103.9 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 7.328e-05/0.6884, allocations: 150.8 kB / 0.9365 GB, free: 103.8 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004224/0.6927, allocations: 4.024 MB / 0.9405 GB, free: 99.66 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.6929, allocations: 113.2 kB / 0.9406 GB, free: 99.55 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.6947, allocations: 1.123 MB / 0.9417 GB, free: 98.43 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008006/0.6955, allocations: 1.412 MB / 0.9431 GB, free: 96.91 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.6973, allocations: 455.2 kB / 0.9435 GB, free: 96.71 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/0.6976, allocations: 304 kB / 0.9438 GB, free: 96.42 MB / 0.6668 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.002814/0.7004, allocations: 2.302 MB / 0.946 GB, free: 94.09 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001901/0.7023, allocations: 2.988 MB / 0.9489 GB, free: 90.49 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07764/0.78, allocations: 25.73 MB / 0.9741 GB, free: 64.16 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.482e-05/0.78, allocations: 8 kB / 0.9741 GB, free: 64.16 MB / 0.6668 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.006341/0.7863, allocations: 5.286 MB / 0.9792 GB, free: 58.97 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/0.7864, allocations: 150.8 kB / 0.9794 GB, free: 58.8 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003971/0.7903, allocations: 3.992 MB / 0.9833 GB, free: 54.73 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.7905, allocations: 92.83 kB / 0.9834 GB, free: 54.64 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.7923, allocations: 1.119 MB / 0.9845 GB, free: 53.52 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000636/0.7929, allocations: 1.398 MB / 0.9858 GB, free: 52 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.7946, allocations: 370.4 kB / 0.9862 GB, free: 51.72 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/0.7949, allocations: 295.8 kB / 0.9865 GB, free: 51.43 MB / 0.6668 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.0009603/0.7959, allocations: 0.5926 MB / 0.9871 GB, free: 50.84 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007445/0.7966, allocations: 429 kB / 0.9875 GB, free: 50.42 MB / 0.6668 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 1.9.0-ClaRa/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.005451/0.8021, allocations: 5.489 MB / 0.9928 GB, free: 45.04 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.881708954460919]