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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.008535/0.008535, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0008602/0.0008602, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007752/0.0007752, allocations: 162.8 kB / 27.85 MB, free: 5.496 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.8326/0.8326, allocations: 177.2 MB / 208.6 MB, free: 2.949 MB / 186.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.6645/0.6645, allocations: 102.5 MB / 367.9 MB, free: 1.496 MB / 330.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 SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 3.938 kB / 0.5362 GB, free: 40.11 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.196e-06/9.368e-06, allocations: 4.469 kB / 0.5362 GB, free: 40.1 MB / 490.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.1063/0.1063, allocations: 61.52 MB / 0.5963 GB, free: 15 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01965/0.126, allocations: 18.88 MB / 0.6147 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002687/0.1287, allocations: 91.31 kB / 0.6148 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003006/0.1317, allocations: 1.876 MB / 0.6166 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003555/0.1352, allocations: 2.485 MB / 0.619 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003979/0.1392, allocations: 2.766 MB / 0.6217 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004836/0.144, allocations: 5.832 MB / 0.6274 GB, free: 14.96 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.1457, allocations: 1.659 MB / 0.6291 GB, free: 13.26 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002734/0.1484, allocations: 3.153 MB / 0.6321 GB, free: 10.1 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.1503, allocations: 2.088 MB / 0.6342 GB, free: 8.004 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003448/0.1506, allocations: 364 kB / 0.6345 GB, free: 7.648 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003032/0.1536, allocations: 1.945 MB / 0.6364 GB, free: 5.699 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006734/0.1543, allocations: 1.195 MB / 0.6376 GB, free: 4.5 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.1553, allocations: 1.282 MB / 0.6388 GB, free: 3.215 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.005593/0.1609, allocations: 6.694 MB / 0.6454 GB, free: 12.5 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1609, allocations: 0 / 0.6454 GB, free: 12.5 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1609, allocations: 0 / 0.6454 GB, free: 12.5 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 4.391e-05/0.161, allocations: 4 kB / 0.6454 GB, free: 12.5 MB / 0.5418 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.004731/0.1657, allocations: 4.798 MB / 0.6501 GB, free: 7.609 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.1658, allocations: 8.031 kB / 0.6501 GB, free: 7.602 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003075/0.1661, allocations: 394.7 kB / 0.6505 GB, free: 7.203 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008533/0.1669, allocations: 0.5717 MB / 0.651 GB, free: 6.629 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/0.1708, allocations: 3.602 MB / 0.6545 GB, free: 2.961 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.1709, allocations: 156.4 kB / 0.6547 GB, free: 2.805 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.171, allocations: 208.3 kB / 0.6549 GB, free: 2.602 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005958/0.177, allocations: 5.536 MB / 0.6603 GB, free: 12.28 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.177, allocations: 31.73 kB / 0.6603 GB, free: 12.25 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.1772, allocations: 104 kB / 0.6604 GB, free: 12.14 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.1772, allocations: 71.98 kB / 0.6605 GB, free: 12.07 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004997/0.1822, allocations: 3.639 MB / 0.664 GB, free: 8.398 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.1935, allocations: 20.16 MB / 0.6837 GB, free: 3.531 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004425/0.198, allocations: 3.145 MB / 0.6868 GB, free: 252 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.1992, allocations: 1.209 MB / 0.688 GB, free: 14.97 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/0.1995, allocations: 137.1 kB / 0.6881 GB, free: 14.84 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004075/0.2035, allocations: 3.076 MB / 0.6911 GB, free: 11.63 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=448): time 3.847e-06/0.2035, allocations: 0 / 0.6911 GB, free: 11.63 MB / 0.5887 GB Notification: Performance of matching and sorting (n=448): time 0.009999/0.2135, allocations: 6.986 MB / 0.6979 GB, free: 4.551 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00022/0.2138, allocations: 0.8128 MB / 0.6987 GB, free: 3.555 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/0.2165, allocations: 3.179 MB / 0.7018 GB, free: 396 kB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.2166, allocations: 57.7 kB / 0.7019 GB, free: 332 kB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007692/0.2174, allocations: 1.523 MB / 0.7034 GB, free: 14.79 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007289/0.2181, allocations: 1.471 MB / 0.7048 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007985/0.2189, allocations: 0.8764 MB / 0.7057 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.219, allocations: 305.1 kB / 0.706 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.2207, allocations: 1.627 MB / 0.7075 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/0.223, allocations: 3.007 MB / 0.7105 GB, free: 6.84 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08354/0.3065, allocations: 25.85 MB / 0.7357 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.797e-05/0.3066, allocations: 8 kB / 0.7357 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.006487/0.313, allocations: 5.321 MB / 0.7409 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.071e-05/0.3131, allocations: 155 kB / 0.7411 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004313/0.3174, allocations: 4.036 MB / 0.745 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.3176, allocations: 108.8 kB / 0.7451 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.3194, allocations: 1.123 MB / 0.7462 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008951/0.3203, allocations: 1.405 MB / 0.7476 GB, free: 15.88 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.3219, allocations: 464.5 kB / 0.748 GB, free: 15.43 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/0.3222, allocations: 291.8 kB / 0.7483 GB, free: 15.14 MB / 0.6512 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.003018/0.3252, allocations: 2.305 MB / 0.7506 GB, free: 12.8 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00224/0.3274, allocations: 2.995 MB / 0.7535 GB, free: 9.199 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3303/0.6577, allocations: 25.73 MB / 0.7786 GB, free: 177.9 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-05/0.6578, allocations: 10.78 kB / 0.7786 GB, free: 177.9 MB / 0.6512 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.006454/0.6642, allocations: 5.275 MB / 0.7838 GB, free: 175.5 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.72e-05/0.6643, allocations: 153 kB / 0.7839 GB, free: 175.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004204/0.6685, allocations: 3.986 MB / 0.7878 GB, free: 173.4 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.6686, allocations: 93.41 kB / 0.7879 GB, free: 173.4 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.6705, allocations: 1.125 MB / 0.789 GB, free: 173.1 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006454/0.6712, allocations: 1.394 MB / 0.7904 GB, free: 171.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.6727, allocations: 380.1 kB / 0.7907 GB, free: 171.7 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000331/0.673, allocations: 297.5 kB / 0.791 GB, free: 171.6 MB / 0.6512 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.0008912/0.6739, allocations: 0.583 MB / 0.7916 GB, free: 171.1 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006564/0.6746, allocations: 429.5 kB / 0.792 GB, free: 171 MB / 0.6512 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.005142/0.6797, allocations: 5.496 MB / 0.7974 GB, free: 168.1 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.2832612143829465] Failed to read output from testmodel.py, exit status != 0: 0.8133609490469098 0.8201935499999999 0.657890095 Calling exit ...