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.006059/0.006059, allocations: 1.442 MB / 20.53 MB, free: 4.012 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.0006808/0.0006808, allocations: 87.47 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.0007887/0.0007887, allocations: 165 kB / 27.86 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.8741/0.8741, allocations: 177.2 MB / 208.6 MB, free: 2.969 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.6954/0.6954, allocations: 102.5 MB / 367.9 MB, free: 1.488 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.543e-06/1.543e-06, allocations: 0 / 0.5362 GB, free: 40.1 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.427e-05, allocations: 2.844 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.1144/0.1144, allocations: 61.54 MB / 0.5963 GB, free: 15.01 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02162/0.1361, allocations: 18.88 MB / 0.6147 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.139, allocations: 87.38 kB / 0.6148 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003177/0.1422, allocations: 1.872 MB / 0.6166 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003678/0.1458, allocations: 2.489 MB / 0.619 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004239/0.1501, allocations: 2.77 MB / 0.6217 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005035/0.1551, allocations: 5.821 MB / 0.6274 GB, free: 14.98 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.1566, allocations: 1.652 MB / 0.629 GB, free: 13.29 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.1589, allocations: 3.153 MB / 0.6321 GB, free: 10.12 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.1606, allocations: 2.088 MB / 0.6342 GB, free: 8.031 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002877/0.1609, allocations: 368 kB / 0.6345 GB, free: 7.672 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/0.1638, allocations: 1.949 MB / 0.6364 GB, free: 5.719 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006339/0.1644, allocations: 1.199 MB / 0.6376 GB, free: 4.516 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008327/0.1653, allocations: 1.282 MB / 0.6388 GB, free: 3.23 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004801/0.1701, allocations: 6.698 MB / 0.6454 GB, free: 12.51 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1701, allocations: 0 / 0.6454 GB, free: 12.51 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1701, allocations: 0 / 0.6454 GB, free: 12.51 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 3.147e-05/0.1701, allocations: 0 / 0.6454 GB, free: 12.51 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.004617/0.1747, allocations: 4.809 MB / 0.6501 GB, free: 7.613 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1748, allocations: 8.031 kB / 0.6501 GB, free: 7.605 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000315/0.1751, allocations: 382.7 kB / 0.6504 GB, free: 7.219 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008452/0.1759, allocations: 0.5756 MB / 0.651 GB, free: 6.641 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003765/0.1797, allocations: 3.614 MB / 0.6545 GB, free: 2.965 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-05/0.1798, allocations: 156.4 kB / 0.6547 GB, free: 2.809 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.18, allocations: 204.4 kB / 0.6549 GB, free: 2.609 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005944/0.1859, allocations: 5.532 MB / 0.6603 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/0.186, allocations: 27.75 kB / 0.6603 GB, free: 12.26 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.1861, allocations: 100 kB / 0.6604 GB, free: 12.16 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/0.1861, allocations: 72 kB / 0.6605 GB, free: 12.09 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005129/0.1913, allocations: 3.639 MB / 0.664 GB, free: 8.418 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/0.2043, allocations: 20.17 MB / 0.6837 GB, free: 3.547 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004639/0.209, allocations: 3.152 MB / 0.6868 GB, free: 260 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.2101, allocations: 1.201 MB / 0.688 GB, free: 14.98 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.2104, allocations: 141 kB / 0.6881 GB, free: 14.85 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004196/0.2146, allocations: 3.072 MB / 0.6911 GB, free: 11.65 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=448): time 3.457e-06/0.2146, allocations: 4 kB / 0.6911 GB, free: 11.64 MB / 0.5887 GB Notification: Performance of matching and sorting (n=448): time 0.01034/0.2249, allocations: 6.989 MB / 0.6979 GB, free: 4.559 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002297/0.2252, allocations: 0.8127 MB / 0.6987 GB, free: 3.562 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/0.228, allocations: 3.179 MB / 0.7018 GB, free: 404 kB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.2281, allocations: 57.7 kB / 0.7019 GB, free: 340 kB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008071/0.2289, allocations: 1.523 MB / 0.7034 GB, free: 14.8 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008659/0.2298, allocations: 1.463 MB / 0.7048 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008282/0.2306, allocations: 0.8764 MB / 0.7057 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.2307, allocations: 309.6 kB / 0.706 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.2323, allocations: 1.631 MB / 0.7076 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/0.2347, allocations: 2.999 MB / 0.7105 GB, free: 6.855 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08394/0.3186, allocations: 25.85 MB / 0.7357 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/0.3186, allocations: 8 kB / 0.7357 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.006841/0.3255, allocations: 5.329 MB / 0.7409 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.403e-05/0.3256, allocations: 150.7 kB / 0.7411 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004361/0.3299, allocations: 4.036 MB / 0.745 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/0.3301, allocations: 104.8 kB / 0.7451 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/0.3322, allocations: 1.123 MB / 0.7462 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009844/0.3332, allocations: 1.412 MB / 0.7476 GB, free: 15.89 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.335, allocations: 456.5 kB / 0.748 GB, free: 15.44 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/0.3353, allocations: 291.8 kB / 0.7483 GB, free: 15.16 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.003111/0.3384, allocations: 2.314 MB / 0.7506 GB, free: 12.81 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002667/0.3411, allocations: 2.984 MB / 0.7535 GB, free: 9.215 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3483/0.6894, allocations: 25.73 MB / 0.7786 GB, free: 179 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.79e-05/0.6895, allocations: 10.62 kB / 0.7786 GB, free: 179 MB / 0.6512 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.007216/0.6967, allocations: 5.273 MB / 0.7838 GB, free: 176.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 8.305e-05/0.6968, allocations: 153.4 kB / 0.7839 GB, free: 176.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004647/0.7014, allocations: 3.992 MB / 0.7878 GB, free: 174.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.7016, allocations: 93.47 kB / 0.7879 GB, free: 174.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.7036, allocations: 1.123 MB / 0.789 GB, free: 174.3 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006457/0.7042, allocations: 1.393 MB / 0.7904 GB, free: 172.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.7058, allocations: 386 kB / 0.7907 GB, free: 172.9 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003407/0.7062, allocations: 296.5 kB / 0.791 GB, free: 172.8 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.001/0.7072, allocations: 0.5809 MB / 0.7916 GB, free: 172.3 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006557/0.7078, allocations: 428.4 kB / 0.792 GB, free: 172.2 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.005367/0.7132, allocations: 5.493 MB / 0.7974 GB, free: 169.3 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.481470118276775] Failed to read output from testmodel.py, exit status != 0: 0.8539675734937191 0.860553095 0.689060274 Calling exit ...