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.01355/0.01355, allocations: 1.337 MB / 21.02 MB, free: 0.6094 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.001547/0.001547, allocations: 83.98 kB / 24.58 MB, free: 1.879 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.001468/0.001468, allocations: 164.4 kB / 28.25 MB, free: 3.141 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.403/1.403, allocations: 177.2 MB / 209 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 0.9985/0.9985, allocations: 102.5 MB / 368.4 MB, free: 4.152 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: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06964/0.06964, allocations: 20.96 MB / 0.5569 GB, free: 4.918 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.2199, allocations: 81.87 MB / 0.6368 GB, free: 2.914 MB / 0.5294 GB 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.143/0.3628, allocations: 40.48 MB / 0.6764 GB, free: 10.47 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3353/0.6982, allocations: 19.15 MB / 0.6951 GB, free: 17.95 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/0.701, allocations: 93.72 kB / 0.6952 GB, free: 17.95 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.004636/0.7056, allocations: 1.858 MB / 0.697 GB, free: 17.71 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.006319/0.712, allocations: 2.423 MB / 0.6993 GB, free: 17.02 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006541/0.7185, allocations: 2.72 MB / 0.702 GB, free: 16.2 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.008341/0.7268, allocations: 5.664 MB / 0.7075 GB, free: 13.74 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002602/0.7294, allocations: 1.638 MB / 0.7091 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003754/0.7332, allocations: 2.356 MB / 0.7114 GB, free: 12.03 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00419/0.7374, allocations: 2.397 MB / 0.7138 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0008423/0.7382, allocations: 364.3 kB / 0.7141 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004833/0.7431, allocations: 1.927 MB / 0.716 GB, free: 10.81 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.7442, allocations: 1.176 MB / 0.7171 GB, free: 10.04 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002164/0.7463, allocations: 1.614 MB / 0.7187 GB, free: 9 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.008909/0.7552, allocations: 6.727 MB / 0.7253 GB, free: 4.859 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.7553, allocations: 6.719 kB / 0.7253 GB, free: 4.855 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7553, allocations: 0 / 0.7253 GB, free: 4.855 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001193/0.7554, allocations: 1.125 kB / 0.7253 GB, free: 4.855 MB / 0.5763 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.008434/0.7638, allocations: 4.856 MB / 0.73 GB, free: 1.359 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.7639, allocations: 12.38 kB / 0.7301 GB, free: 1.359 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.766, allocations: 0.575 MB / 0.7306 GB, free: 1.035 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008456/0.7745, allocations: 3.601 MB / 0.7341 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.7746, allocations: 156.5 kB / 0.7343 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/0.775, allocations: 202.1 kB / 0.7345 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01222/0.7872, allocations: 5.535 MB / 0.7399 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.361e-05/0.7873, allocations: 22.59 kB / 0.7399 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003848/0.7877, allocations: 105.4 kB / 0.74 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.637e-05/0.7877, allocations: 73.02 kB / 0.7401 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.7978, allocations: 3.64 MB / 0.7436 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02336/0.8212, allocations: 19.9 MB / 0.7631 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009386/0.8305, allocations: 3.169 MB / 0.7662 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002393/0.8329, allocations: 1.212 MB / 0.7673 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004843/0.8334, allocations: 133.1 kB / 0.7675 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008752/0.8422, allocations: 3.078 MB / 0.7705 GB, free: 14.13 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=448): time 8.176e-06/0.8422, allocations: 3.469 kB / 0.7705 GB, free: 14.13 MB / 0.6232 GB Notification: Performance of matching and sorting (n=448): time 0.02082/0.863, allocations: 6.986 MB / 0.7773 GB, free: 7.055 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004967/0.8635, allocations: 0.8011 MB / 0.7781 GB, free: 6.066 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0062/0.8697, allocations: 3.123 MB / 0.7811 GB, free: 2.949 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0005333/0.8702, allocations: 57.7 kB / 0.7812 GB, free: 2.887 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.872, allocations: 1.546 MB / 0.7827 GB, free: 1.344 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.00192/0.8739, allocations: 1.48 MB / 0.7841 GB, free: 15.88 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002206/0.8761, allocations: 0.892 MB / 0.785 GB, free: 14.98 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.8763, allocations: 301.1 kB / 0.7853 GB, free: 14.68 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003263/0.8795, allocations: 1.631 MB / 0.7869 GB, free: 13.02 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004651/0.8842, allocations: 3.006 MB / 0.7898 GB, free: 9.41 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1932/1.077, allocations: 25.85 MB / 0.8151 GB, free: 15.74 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4e-05/1.077, allocations: 8 kB / 0.8151 GB, free: 15.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01322/1.091, allocations: 5.313 MB / 0.8203 GB, free: 10.35 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.00018/1.091, allocations: 150.8 kB / 0.8204 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009029/1.1, allocations: 4.037 MB / 0.8244 GB, free: 6.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003843/1.1, allocations: 100.8 kB / 0.8245 GB, free: 5.969 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003934/1.104, allocations: 1.123 MB / 0.8255 GB, free: 4.844 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/1.106, allocations: 1.396 MB / 0.8269 GB, free: 3.348 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003264/1.109, allocations: 451.2 kB / 0.8273 GB, free: 2.906 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009172/1.11, allocations: 303.7 kB / 0.8276 GB, free: 2.609 MB / 0.67 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.005548/1.116, allocations: 2.315 MB / 0.8299 GB, free: 276 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00496/1.12, allocations: 2.984 MB / 0.8328 GB, free: 12.68 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1927/1.313, allocations: 25.73 MB / 0.8579 GB, free: 2.379 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.686e-05/1.313, allocations: 8 kB / 0.8579 GB, free: 2.371 MB / 0.7013 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01229/1.326, allocations: 5.271 MB / 0.8631 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/1.326, allocations: 150.8 kB / 0.8632 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008337/1.334, allocations: 3.989 MB / 0.8671 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000274/1.334, allocations: 100.8 kB / 0.8672 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/1.338, allocations: 1.123 MB / 0.8683 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/1.34, allocations: 1.371 MB / 0.8697 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002973/1.342, allocations: 385.5 kB / 0.87 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007598/1.343, allocations: 291.8 kB / 0.8703 GB, free: 5.445 MB / 0.7169 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.001548/1.345, allocations: 0.5861 MB / 0.8709 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001598/1.346, allocations: 421.1 kB / 0.8713 GB, free: 4.418 MB / 0.7169 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.01107/1.357, allocations: 5.487 MB / 0.8766 GB, free: 15.06 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.911572527955286] Failed to read output from testmodel.py, exit status != 0: 1.521148402011022 1.536254475 0.777809879 Calling exit ...