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.014/0.014, allocations: 1.348 MB / 20.45 MB, free: 1.25 MB / 14.72 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.001892/0.001892, allocations: 82.22 kB / 24.02 MB, free: 2.586 MB / 14.72 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.002375/0.002375, allocations: 154.5 kB / 27.71 MB, free: 3.844 MB / 19.63 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 1.483/1.483, allocations: 177.1 MB / 208.4 MB, free: 7.641 MB / 190.1 MB " [Timeout remaining time 178] 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 1.063/1.063, allocations: 102.5 MB / 367.7 MB, free: 4.574 MB / 334.1 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.3.1 (/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.703e-06/1.703e-06, allocations: 0 / 0.5364 GB, free: 7.113 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.027e-05, allocations: 2.281 kB / 0.5364 GB, free: 7.109 MB / 446.1 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.1929/0.1929, allocations: 61.57 MB / 0.5966 GB, free: 12.05 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.03487/0.2278, allocations: 18.86 MB / 0.615 GB, free: 9.121 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003412/0.2312, allocations: 95.25 kB / 0.6151 GB, free: 9.027 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.005958/0.2372, allocations: 1.865 MB / 0.6169 GB, free: 7.152 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.008087/0.2453, allocations: 2.493 MB / 0.6193 GB, free: 4.645 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.007743/0.253, allocations: 2.762 MB / 0.622 GB, free: 1.875 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.009925/0.2629, allocations: 5.82 MB / 0.6277 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003383/0.2663, allocations: 1.652 MB / 0.6293 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006608/0.2729, allocations: 3.164 MB / 0.6324 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004416/0.2774, allocations: 2.091 MB / 0.6345 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009746/0.2783, allocations: 364 kB / 0.6348 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00513/0.2835, allocations: 1.961 MB / 0.6367 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001727/0.2852, allocations: 1.187 MB / 0.6379 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002618/0.2878, allocations: 1.285 MB / 0.6391 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.3, allocations: 6.694 MB / 0.6457 GB, free: 9.555 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.3, allocations: 0 / 0.6457 GB, free: 9.555 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3, allocations: 0 / 0.6457 GB, free: 9.555 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001971/0.3002, allocations: 3.984 kB / 0.6457 GB, free: 9.551 MB / 0.545 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.01025/0.3104, allocations: 4.799 MB / 0.6504 GB, free: 4.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.3105, allocations: 12.03 kB / 0.6504 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.3123, allocations: 0.5717 MB / 0.6509 GB, free: 4.074 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007671/0.3199, allocations: 3.605 MB / 0.6544 GB, free: 412 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.3201, allocations: 156.4 kB / 0.6546 GB, free: 252 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/0.3204, allocations: 196.4 kB / 0.6548 GB, free: 56 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.3332, allocations: 5.542 MB / 0.6602 GB, free: 9.727 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.304e-05/0.3333, allocations: 27.75 kB / 0.6602 GB, free: 9.699 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/0.3335, allocations: 100 kB / 0.6603 GB, free: 9.602 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-05/0.3336, allocations: 75.98 kB / 0.6604 GB, free: 9.527 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.3443, allocations: 3.639 MB / 0.6639 GB, free: 5.852 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02279/0.3671, allocations: 19.85 MB / 0.6833 GB, free: 1.32 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009714/0.3768, allocations: 3.16 MB / 0.6864 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/0.3794, allocations: 1.207 MB / 0.6876 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005544/0.3799, allocations: 137.1 kB / 0.6877 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009173/0.3891, allocations: 3.076 MB / 0.6907 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=448): time 9.889e-06/0.3891, allocations: 0 / 0.6907 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of matching and sorting (n=448): time 0.0223/0.4114, allocations: 6.985 MB / 0.6975 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005355/0.412, allocations: 0.805 MB / 0.6983 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2743/0.6863, allocations: 3.112 MB / 0.7014 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006497/0.687, allocations: 61.67 kB / 0.7014 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.6882, allocations: 1.538 MB / 0.7029 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001688/0.6899, allocations: 1.466 MB / 0.7044 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001729/0.6916, allocations: 0.8779 MB / 0.7052 GB, free: 130.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.6917, allocations: 306.2 kB / 0.7055 GB, free: 130.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/0.6947, allocations: 1.626 MB / 0.7071 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003645/0.6984, allocations: 3.008 MB / 0.71 GB, free: 127.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1847/0.8831, allocations: 25.85 MB / 0.7353 GB, free: 113.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.099e-05/0.8832, allocations: 15.94 kB / 0.7353 GB, free: 113.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01195/0.8951, allocations: 5.317 MB / 0.7405 GB, free: 108.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.8952, allocations: 150.4 kB / 0.7406 GB, free: 108.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007178/0.9024, allocations: 4.037 MB / 0.7446 GB, free: 104.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.9028, allocations: 108.8 kB / 0.7447 GB, free: 104 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003303/0.9061, allocations: 1.123 MB / 0.7458 GB, free: 102.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.9072, allocations: 1.402 MB / 0.7471 GB, free: 101.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/0.9101, allocations: 432.8 kB / 0.7476 GB, free: 101 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007209/0.9108, allocations: 303.4 kB / 0.7478 GB, free: 100.7 MB / 0.5919 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.004465/0.9152, allocations: 2.312 MB / 0.7501 GB, free: 98.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003375/0.9186, allocations: 2.984 MB / 0.753 GB, free: 94.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1772/1.096, allocations: 25.73 MB / 0.7781 GB, free: 68.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.998e-05/1.096, allocations: 8 kB / 0.7782 GB, free: 68.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01256/1.108, allocations: 5.258 MB / 0.7833 GB, free: 63.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.109, allocations: 150.8 kB / 0.7834 GB, free: 62.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007333/1.116, allocations: 3.998 MB / 0.7873 GB, free: 58.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/1.116, allocations: 93.61 kB / 0.7874 GB, free: 58.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/1.12, allocations: 1.126 MB / 0.7885 GB, free: 57.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/1.121, allocations: 1.373 MB / 0.7899 GB, free: 56.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003385/1.124, allocations: 374.4 kB / 0.7902 GB, free: 55.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009088/1.125, allocations: 299.8 kB / 0.7905 GB, free: 55.55 MB / 0.5919 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.00188/1.127, allocations: 0.5838 MB / 0.7911 GB, free: 54.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/1.128, allocations: 421.1 kB / 0.7915 GB, free: 54.53 MB / 0.5919 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.009363/1.138, allocations: 5.487 MB / 0.7968 GB, free: 49.18 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.055215805768967] Failed to read output from testmodel.py, exit status != 0: 1.335043702274561 1.3527943789999999 1.049112189 Calling exit ...