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.005955/0.005955, 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.0006902/0.0006902, 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.0007345/0.0007345, allocations: 163.6 kB / 27.85 MB, free: 5.5 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.8997/0.8997, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7695/0.7695, allocations: 102.5 MB / 367.9 MB, free: 1.438 MB / 330.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 0.5.2 (/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 2.154e-06/2.154e-06, allocations: 0 / 0.5366 GB, free: 39.7 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.385e-05, allocations: 5.297 kB / 0.5366 GB, free: 39.7 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.1182/0.1182, allocations: 61.53 MB / 0.5967 GB, free: 14.38 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02236/0.1406, allocations: 18.88 MB / 0.6152 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/0.1432, allocations: 91.31 kB / 0.6153 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003262/0.1465, allocations: 1.876 MB / 0.6171 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004218/0.1507, allocations: 2.489 MB / 0.6195 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004954/0.1556, allocations: 2.77 MB / 0.6222 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005494/0.1611, allocations: 5.828 MB / 0.6279 GB, free: 14.33 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.1626, allocations: 1.648 MB / 0.6295 GB, free: 12.64 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.1652, allocations: 3.16 MB / 0.6326 GB, free: 9.469 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.1669, allocations: 2.086 MB / 0.6346 GB, free: 7.379 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003107/0.1672, allocations: 364 kB / 0.635 GB, free: 7.023 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.1703, allocations: 1.953 MB / 0.6369 GB, free: 5.066 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006667/0.171, allocations: 1.191 MB / 0.6381 GB, free: 3.871 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008985/0.1719, allocations: 1.282 MB / 0.6393 GB, free: 2.586 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004942/0.1768, allocations: 6.698 MB / 0.6459 GB, free: 11.87 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1768, allocations: 4 kB / 0.6459 GB, free: 11.86 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1768, allocations: 0 / 0.6459 GB, free: 11.86 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 3.339e-05/0.1768, allocations: 0 / 0.6459 GB, free: 11.86 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.005639/0.1825, allocations: 4.799 MB / 0.6505 GB, free: 6.973 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1825, allocations: 12.03 kB / 0.6506 GB, free: 6.961 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.1838, allocations: 0.5756 MB / 0.6511 GB, free: 6.383 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004578/0.1883, allocations: 3.602 MB / 0.6546 GB, free: 2.715 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.871e-05/0.1884, allocations: 156.4 kB / 0.6548 GB, free: 2.559 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.1886, allocations: 196.4 kB / 0.655 GB, free: 2.367 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006522/0.1951, allocations: 5.532 MB / 0.6604 GB, free: 12.05 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.1952, allocations: 27.75 kB / 0.6604 GB, free: 12.02 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.1953, allocations: 104 kB / 0.6605 GB, free: 11.92 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/0.1954, allocations: 75.98 kB / 0.6606 GB, free: 11.84 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005177/0.2005, allocations: 3.643 MB / 0.6641 GB, free: 8.164 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.2145, allocations: 19.85 MB / 0.6835 GB, free: 3.625 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004785/0.2193, allocations: 3.148 MB / 0.6866 GB, free: 348 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.2209, allocations: 1.208 MB / 0.6878 GB, free: 15.07 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/0.2212, allocations: 129.1 kB / 0.6879 GB, free: 14.94 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004269/0.2255, allocations: 3.072 MB / 0.6909 GB, free: 11.74 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=448): time 3.637e-06/0.2255, allocations: 3.938 kB / 0.6909 GB, free: 11.74 MB / 0.5887 GB Notification: Performance of matching and sorting (n=448): time 0.01097/0.2364, allocations: 6.993 MB / 0.6977 GB, free: 4.648 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002891/0.2367, allocations: 0.8052 MB / 0.6985 GB, free: 3.66 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003365/0.2401, allocations: 3.119 MB / 0.7016 GB, free: 0.5469 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.2402, allocations: 57.7 kB / 0.7016 GB, free: 496 kB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008894/0.2411, allocations: 1.538 MB / 0.7031 GB, free: 14.93 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008753/0.242, allocations: 1.463 MB / 0.7045 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008497/0.2428, allocations: 0.8803 MB / 0.7054 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.2429, allocations: 305.1 kB / 0.7057 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.2446, allocations: 1.623 MB / 0.7073 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002801/0.2474, allocations: 3.011 MB / 0.7102 GB, free: 6.988 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08365/0.3311, allocations: 25.85 MB / 0.7355 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003409/0.3314, allocations: 12 kB / 0.7355 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.00706/0.3385, allocations: 5.318 MB / 0.7407 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.3386, allocations: 150.8 kB / 0.7408 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004858/0.3435, allocations: 4.04 MB / 0.7448 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/0.3437, allocations: 104.8 kB / 0.7449 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/0.3456, allocations: 1.127 MB / 0.746 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.3467, allocations: 1.381 MB / 0.7473 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.3488, allocations: 444.7 kB / 0.7477 GB, free: 15.63 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/0.3491, allocations: 303.8 kB / 0.748 GB, free: 15.33 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.003681/0.3528, allocations: 2.302 MB / 0.7503 GB, free: 13 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00245/0.3552, allocations: 2.995 MB / 0.7532 GB, free: 9.395 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4182/0.7735, allocations: 25.73 MB / 0.7783 GB, free: 178.7 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.121e-05/0.7735, allocations: 16.88 kB / 0.7783 GB, free: 178.7 MB / 0.6512 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.006672/0.7802, allocations: 5.272 MB / 0.7835 GB, free: 176.5 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.7802, allocations: 154.2 kB / 0.7836 GB, free: 176.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004487/0.7847, allocations: 3.984 MB / 0.7875 GB, free: 174.4 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.7849, allocations: 94.67 kB / 0.7876 GB, free: 174.3 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/0.7868, allocations: 1.12 MB / 0.7887 GB, free: 174 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006653/0.7875, allocations: 1.376 MB / 0.79 GB, free: 172.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.7892, allocations: 375.4 kB / 0.7904 GB, free: 172.7 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003813/0.7896, allocations: 295.1 kB / 0.7907 GB, free: 172.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.001116/0.7907, allocations: 0.5909 MB / 0.7913 GB, free: 172.1 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000555/0.7912, allocations: 420.5 kB / 0.7917 GB, free: 172 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.005724/0.797, allocations: 5.489 MB / 0.797 GB, free: 169.1 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8125808546319604] Failed to read output from testmodel.py, exit status != 0: 0.9499117219820619 0.956954397 0.778758484 Calling exit ...