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.006093/0.006093, allocations: 1.435 MB / 21.29 MB, free: 3.266 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.0007233/0.0007233, allocations: 92.64 kB / 24.9 MB, free: 7.262 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.0007304/0.0007304, allocations: 168.9 kB / 28.62 MB, free: 4.457 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.9105/0.9105, allocations: 177.1 MB / 209.4 MB, free: 3 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.7738/0.7738, allocations: 102.5 MB / 368.7 MB, free: 1.5 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: 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_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_ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.5374 GB, free: 39.6 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.712e-05, allocations: 6.547 kB / 0.5374 GB, free: 39.59 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.1193/0.1193, allocations: 61.53 MB / 0.5975 GB, free: 14.39 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02446/0.1438, allocations: 18.88 MB / 0.6159 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003887/0.1476, allocations: 91.31 kB / 0.616 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003834/0.1515, allocations: 1.88 MB / 0.6178 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00519/0.1567, allocations: 2.485 MB / 0.6203 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00507/0.1617, allocations: 2.762 MB / 0.623 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006978/0.1687, allocations: 5.833 MB / 0.6287 GB, free: 14.34 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.1706, allocations: 1.655 MB / 0.6303 GB, free: 12.64 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003017/0.1736, allocations: 3.153 MB / 0.6334 GB, free: 9.484 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.1759, allocations: 2.088 MB / 0.6354 GB, free: 7.391 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003328/0.1762, allocations: 364 kB / 0.6357 GB, free: 7.035 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/0.1797, allocations: 1.953 MB / 0.6377 GB, free: 5.078 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007262/0.1804, allocations: 1.191 MB / 0.6388 GB, free: 3.883 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.1815, allocations: 1.285 MB / 0.6401 GB, free: 2.594 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.006636/0.1881, allocations: 6.706 MB / 0.6466 GB, free: 11.87 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1881, allocations: 0 / 0.6466 GB, free: 11.87 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.545e-06/0.1881, allocations: 0 / 0.6466 GB, free: 11.87 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 3.848e-05/0.1882, allocations: 0 / 0.6466 GB, free: 11.87 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.005589/0.1938, allocations: 4.795 MB / 0.6513 GB, free: 6.98 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.1938, allocations: 12.03 kB / 0.6513 GB, free: 6.969 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009266/0.1947, allocations: 0.5717 MB / 0.6519 GB, free: 6.395 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004204/0.1989, allocations: 3.602 MB / 0.6554 GB, free: 2.73 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.1991, allocations: 152.4 kB / 0.6555 GB, free: 2.578 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.1993, allocations: 200.4 kB / 0.6557 GB, free: 2.383 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006883/0.2062, allocations: 5.54 MB / 0.6611 GB, free: 12.05 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/0.2062, allocations: 27.75 kB / 0.6612 GB, free: 12.03 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.2064, allocations: 100 kB / 0.6613 GB, free: 11.93 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/0.2064, allocations: 71.98 kB / 0.6613 GB, free: 11.86 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005704/0.2121, allocations: 3.643 MB / 0.6649 GB, free: 8.18 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.2266, allocations: 19.84 MB / 0.6843 GB, free: 3.648 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004828/0.2314, allocations: 3.152 MB / 0.6873 GB, free: 364 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.2326, allocations: 1.21 MB / 0.6885 GB, free: 15.08 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/0.2329, allocations: 133.1 kB / 0.6886 GB, free: 14.95 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00458/0.2375, allocations: 3.08 MB / 0.6917 GB, free: 11.74 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=448): time 4.398e-06/0.2375, allocations: 0 / 0.6917 GB, free: 11.74 MB / 0.5887 GB Notification: Performance of matching and sorting (n=448): time 0.01122/0.2487, allocations: 6.985 MB / 0.6985 GB, free: 4.66 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002865/0.249, allocations: 0.8011 MB / 0.6993 GB, free: 3.676 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003299/0.2523, allocations: 3.123 MB / 0.7023 GB, free: 0.5586 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.2524, allocations: 58.33 kB / 0.7024 GB, free: 0.4961 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009473/0.2534, allocations: 1.526 MB / 0.7039 GB, free: 14.96 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/0.2546, allocations: 1.475 MB / 0.7053 GB, free: 13.47 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009048/0.2556, allocations: 0.8764 MB / 0.7062 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.2556, allocations: 309.1 kB / 0.7064 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.2574, allocations: 1.627 MB / 0.708 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002525/0.2599, allocations: 3.007 MB / 0.711 GB, free: 7 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08473/0.3447, allocations: 25.85 MB / 0.7362 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/0.3447, allocations: 12 kB / 0.7362 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.006894/0.3516, allocations: 5.317 MB / 0.7414 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.3517, allocations: 150.8 kB / 0.7416 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004409/0.3561, allocations: 4.04 MB / 0.7455 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002301/0.3563, allocations: 101.5 kB / 0.7456 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.3583, allocations: 1.127 MB / 0.7467 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000981/0.3593, allocations: 1.382 MB / 0.7481 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.3611, allocations: 444.9 kB / 0.7485 GB, free: 15.64 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003057/0.3614, allocations: 303.9 kB / 0.7488 GB, free: 15.34 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.003145/0.3646, allocations: 2.316 MB / 0.751 GB, free: 13 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002599/0.3672, allocations: 2.988 MB / 0.754 GB, free: 9.398 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.416/0.7832, allocations: 25.72 MB / 0.7791 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.382e-05/0.7832, allocations: 13.88 kB / 0.7791 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.00709/0.7903, allocations: 5.272 MB / 0.7842 GB, free: 175.6 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 9.275e-05/0.7904, allocations: 153.5 kB / 0.7844 GB, free: 175.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00462/0.795, allocations: 3.983 MB / 0.7883 GB, free: 173.4 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001818/0.7952, allocations: 95.7 kB / 0.7884 GB, free: 173.4 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.7972, allocations: 1.123 MB / 0.7895 GB, free: 173.1 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007404/0.798, allocations: 1.379 MB / 0.7908 GB, free: 171.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.7997, allocations: 369.5 kB / 0.7912 GB, free: 171.7 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003719/0.8001, allocations: 297.6 kB / 0.7914 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.001094/0.8012, allocations: 0.585 MB / 0.792 GB, free: 171.1 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005419/0.8017, allocations: 421.4 kB / 0.7924 GB, free: 171.1 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.005832/0.8076, allocations: 5.493 MB / 0.7978 GB, free: 168.2 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8279961962252855] Failed to read output from testmodel.py, exit status != 0: 0.9874350354075432 0.996388413 0.8067559089999999 Calling exit ...