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.008145/0.008145, allocations: 1.795 MB / 21.35 MB, free: 3.191 MB / 18.57 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.0008089/0.0008089, allocations: 88.77 kB / 25.15 MB, free: 7.422 MB / 18.57 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.0008698/0.0008698, allocations: 161.7 kB / 29.05 MB, free: 3.645 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.9675/0.9675, allocations: 177.1 MB / 210 MB, free: 3.57 MB / 186.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.6517/0.6517, allocations: 102.4 MB / 369.5 MB, free: 356 kB / 330.7 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: translateModel(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20036,variableFilter="Time|volumeVLE_2_1.h|volumeVLE_2_1.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20036,variableFilter="Time|volumeVLE_2_1.h|volumeVLE_2_1.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 469.9 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.446e-05/3.645e-05, allocations: 5.594 kB / 469.9 MB, free: 18.95 MB / 410.8 MB 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.1231/0.1231, allocations: 66.03 MB / 0.5234 GB, free: 5.895 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02308/0.1462, allocations: 19.64 MB / 0.5426 GB, free: 2.199 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/0.1491, allocations: 91.31 kB / 0.5427 GB, free: 2.109 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004627/0.1537, allocations: 1.872 MB / 0.5445 GB, free: 232 kB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00789/0.1616, allocations: 2.493 MB / 0.5469 GB, free: 13.71 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005335/0.1669, allocations: 2.774 MB / 0.5496 GB, free: 10.94 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.007308/0.1742, allocations: 5.83 MB / 0.5553 GB, free: 5.086 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002822/0.177, allocations: 1.777 MB / 0.5571 GB, free: 3.266 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005457/0.1825, allocations: 3.156 MB / 0.5601 GB, free: 104 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003197/0.1857, allocations: 2.088 MB / 0.5622 GB, free: 14 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.1868, allocations: 364 kB / 0.5625 GB, free: 13.65 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004027/0.1908, allocations: 1.945 MB / 0.5644 GB, free: 11.7 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001552/0.1923, allocations: 1.195 MB / 0.5656 GB, free: 10.5 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001985/0.1943, allocations: 1.284 MB / 0.5669 GB, free: 9.215 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009016/0.2033, allocations: 4.756 MB / 0.5715 GB, free: 4.441 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.2034, allocations: 4 kB / 0.5715 GB, free: 4.438 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2034, allocations: 0 / 0.5715 GB, free: 4.438 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001283/0.2035, allocations: 0 / 0.5715 GB, free: 4.438 MB / 490.8 MB 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.006551/0.21, allocations: 5.039 MB / 0.5764 GB, free: 15.3 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.2101, allocations: 8.031 kB / 0.5764 GB, free: 15.29 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.2113, allocations: 0.7358 MB / 0.5772 GB, free: 14.55 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004735/0.216, allocations: 3.343 MB / 0.5804 GB, free: 11.13 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.2162, allocations: 156.4 kB / 0.5806 GB, free: 10.98 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/0.2164, allocations: 208.4 kB / 0.5808 GB, free: 10.77 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007107/0.2235, allocations: 5.223 MB / 0.5859 GB, free: 4.547 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.825e-05/0.2236, allocations: 27.75 kB / 0.5859 GB, free: 4.52 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.2238, allocations: 108 kB / 0.586 GB, free: 4.414 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.749e-05/0.2238, allocations: 68 kB / 0.5861 GB, free: 4.348 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005002/0.2288, allocations: 2.635 MB / 0.5886 GB, free: 1.672 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01676/0.2456, allocations: 27.13 MB / 0.6151 GB, free: 5.66 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004955/0.2505, allocations: 2.661 MB / 0.6177 GB, free: 2.812 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.2517, allocations: 0.7953 MB / 0.6185 GB, free: 1.941 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003253/0.252, allocations: 145.1 kB / 0.6186 GB, free: 1.797 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004405/0.2564, allocations: 2.582 MB / 0.6212 GB, free: 15.06 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=448): time 5.771e-06/0.2565, allocations: 0 / 0.6212 GB, free: 15.06 MB / 0.5418 GB Notification: Performance of matching and sorting (n=448): time 0.01038/0.2668, allocations: 5.751 MB / 0.6268 GB, free: 9.211 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002591/0.2671, allocations: 0.8088 MB / 0.6276 GB, free: 8.219 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003503/0.2706, allocations: 2.892 MB / 0.6304 GB, free: 5.328 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0003882/0.271, allocations: 61.86 kB / 0.6304 GB, free: 5.262 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.2721, allocations: 1.67 MB / 0.6321 GB, free: 3.578 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001192/0.2732, allocations: 1.491 MB / 0.6335 GB, free: 2.074 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/0.2743, allocations: 0.9326 MB / 0.6344 GB, free: 1.129 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2744, allocations: 480.7 kB / 0.6349 GB, free: 0.6562 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.2758, allocations: 0.9617 MB / 0.6358 GB, free: 15.66 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/0.278, allocations: 2.844 MB / 0.6386 GB, free: 12.01 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004996/0.283, allocations: 4.831 MB / 0.6433 GB, free: 6.387 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-05/0.283, allocations: 16 kB / 0.6434 GB, free: 6.371 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.005945/0.289, allocations: 4.121 MB / 0.6474 GB, free: 2.172 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-05/0.2891, allocations: 154.8 kB / 0.6475 GB, free: 1.996 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2276/0.5166, allocations: 2.751 MB / 0.6502 GB, free: 107.9 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002961/0.5169, allocations: 99.3 kB / 0.6503 GB, free: 107.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/0.5192, allocations: 1.122 MB / 0.6514 GB, free: 107.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009164/0.5201, allocations: 1.822 MB / 0.6532 GB, free: 106.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.5221, allocations: 443 kB / 0.6536 GB, free: 106.2 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004043/0.5225, allocations: 295.3 kB / 0.6539 GB, free: 106.2 MB / 0.5574 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.00245/0.5249, allocations: 1.118 MB / 0.655 GB, free: 105.9 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001943/0.5269, allocations: 2.834 MB / 0.6577 GB, free: 103.5 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004444/0.5313, allocations: 4.802 MB / 0.6624 GB, free: 101.1 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.865e-05/0.5313, allocations: 9.094 kB / 0.6624 GB, free: 101.1 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.005141/0.5365, allocations: 4.096 MB / 0.6664 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.026e-05/0.5365, allocations: 146.9 kB / 0.6666 GB, free: 100.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003385/0.5399, allocations: 2.721 MB / 0.6692 GB, free: 100.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.5401, allocations: 95.58 kB / 0.6693 GB, free: 100.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.5419, allocations: 1.114 MB / 0.6704 GB, free: 100.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006415/0.5425, allocations: 1.829 MB / 0.6722 GB, free: 98.45 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.544, allocations: 373.5 kB / 0.6726 GB, free: 98.45 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003134/0.5444, allocations: 297.3 kB / 0.6728 GB, free: 98.45 MB / 0.5574 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.0009575/0.5453, allocations: 0.6718 MB / 0.6735 GB, free: 98.06 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007666/0.5461, allocations: 481 kB / 0.674 GB, free: 97.91 MB / 0.5574 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.005458/0.5515, allocations: 5.068 MB / 0.6789 GB, free: 97.35 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3388581378385425]