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.01227/0.01227, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001493/0.001493, allocations: 97.5 kB / 24.18 MB, free: 2.176 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.001824/0.001824, allocations: 215.5 kB / 27.9 MB, free: 3.5 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.404/1.404, allocations: 230.6 MB / 262.1 MB, free: 5.84 MB / 206.1 MB " [Timeout remaining time 178] 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 1.023/1.023, allocations: 130.7 MB / 449.7 MB, free: 6.355 MB / 350.1 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.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_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: 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.06445/0.06445, allocations: 20.98 MB / 0.6363 GB, free: 4.219 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.2286, allocations: 81.91 MB / 0.7163 GB, free: 2.207 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.4338/0.6624, allocations: 47.91 MB / 0.7631 GB, free: 19.16 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02692/0.6894, allocations: 19.15 MB / 0.7818 GB, free: 5.859 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003773/0.6931, allocations: 87.91 kB / 0.7819 GB, free: 5.82 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004945/0.6981, allocations: 1.862 MB / 0.7837 GB, free: 5.004 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006882/0.705, allocations: 2.426 MB / 0.7861 GB, free: 3.598 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006052/0.711, allocations: 2.72 MB / 0.7887 GB, free: 1.863 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.008073/0.7191, allocations: 5.666 MB / 0.7943 GB, free: 14.54 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003134/0.7222, allocations: 1.638 MB / 0.7959 GB, free: 13.34 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004729/0.7269, allocations: 2.35 MB / 0.7982 GB, free: 12 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004592/0.7315, allocations: 2.399 MB / 0.8005 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001098/0.7326, allocations: 367.1 kB / 0.8008 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005526/0.7382, allocations: 1.932 MB / 0.8027 GB, free: 9.656 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.74, allocations: 1.171 MB / 0.8039 GB, free: 8.48 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003433/0.7434, allocations: 1.616 MB / 0.8055 GB, free: 6.855 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.7538, allocations: 6.732 MB / 0.812 GB, free: 100 kB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7538, allocations: 2.688 kB / 0.812 GB, free: 100 kB / 0.5763 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7538, allocations: 0 / 0.812 GB, free: 100 kB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001617/0.7539, allocations: 0 / 0.812 GB, free: 100 kB / 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.008318/0.7623, allocations: 4.858 MB / 0.8168 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.7623, allocations: 8.031 kB / 0.8168 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.7638, allocations: 0.5783 MB / 0.8173 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006393/0.7702, allocations: 3.602 MB / 0.8209 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.7703, allocations: 160.7 kB / 0.821 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.7706, allocations: 204 kB / 0.8212 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.7813, allocations: 5.529 MB / 0.8266 GB, free: 264 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-05/0.7814, allocations: 33.11 kB / 0.8266 GB, free: 236 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/0.7816, allocations: 100 kB / 0.8267 GB, free: 136 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.371e-05/0.7817, allocations: 71.98 kB / 0.8268 GB, free: 64 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008888/0.7906, allocations: 3.639 MB / 0.8304 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02003/0.8106, allocations: 19.9 MB / 0.8498 GB, free: 7.816 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008412/0.819, allocations: 3.15 MB / 0.8529 GB, free: 4.531 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/0.821, allocations: 1.2 MB / 0.854 GB, free: 3.27 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004157/0.8215, allocations: 143.7 kB / 0.8542 GB, free: 3.133 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007674/0.8291, allocations: 3.076 MB / 0.8572 GB, free: 15.93 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 7.013e-06/0.8291, allocations: 3.938 kB / 0.8572 GB, free: 15.93 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.01849/0.8476, allocations: 6.992 MB / 0.864 GB, free: 8.848 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004847/0.8481, allocations: 0.8088 MB / 0.8648 GB, free: 7.852 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005442/0.8536, allocations: 3.123 MB / 0.8679 GB, free: 4.734 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0003471/0.8539, allocations: 57.7 kB / 0.8679 GB, free: 4.672 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.8555, allocations: 1.538 MB / 0.8694 GB, free: 3.121 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.00164/0.8571, allocations: 1.484 MB / 0.8709 GB, free: 1.625 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001647/0.8588, allocations: 0.8908 MB / 0.8717 GB, free: 0.7266 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.8589, allocations: 301.1 kB / 0.872 GB, free: 440 kB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002913/0.8618, allocations: 1.627 MB / 0.8736 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004198/0.866, allocations: 3.003 MB / 0.8765 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1741/1.04, allocations: 25.87 MB / 0.9018 GB, free: 1.434 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-05/1.04, allocations: 8 kB / 0.9018 GB, free: 1.426 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01013/1.05, allocations: 5.303 MB / 0.907 GB, free: 12.05 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/1.05, allocations: 152 kB / 0.9071 GB, free: 11.88 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006988/1.057, allocations: 4.028 MB / 0.9111 GB, free: 7.777 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003224/1.058, allocations: 112.8 kB / 0.9112 GB, free: 7.664 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003237/1.061, allocations: 1.124 MB / 0.9123 GB, free: 6.539 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/1.062, allocations: 1.398 MB / 0.9136 GB, free: 5.047 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/1.065, allocations: 440.8 kB / 0.9141 GB, free: 4.613 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000473/1.065, allocations: 311.7 kB / 0.9144 GB, free: 4.309 MB / 0.6857 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.004202/1.069, allocations: 2.3 MB / 0.9166 GB, free: 1.977 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004008/1.073, allocations: 2.988 MB / 0.9195 GB, free: 14.38 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1743/1.248, allocations: 25.74 MB / 0.9447 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.083e-05/1.248, allocations: 8 kB / 0.9447 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01038/1.258, allocations: 5.277 MB / 0.9498 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/1.258, allocations: 146.8 kB / 0.95 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007063/1.265, allocations: 3.989 MB / 0.9539 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/1.265, allocations: 96.16 kB / 0.9539 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003324/1.269, allocations: 1.123 MB / 0.955 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/1.27, allocations: 1.372 MB / 0.9564 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/1.273, allocations: 377.4 kB / 0.9567 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00058/1.273, allocations: 295.8 kB / 0.957 GB, free: 7.07 MB / 0.7325 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.001388/1.274, allocations: 0.5888 MB / 0.9576 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/1.276, allocations: 425.1 kB / 0.958 GB, free: 6.039 MB / 0.7325 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.009968/1.286, allocations: 5.492 MB / 0.9634 GB, free: 0.6797 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.26946091465652] Failed to read output from testmodel.py, exit status != 0: 1.4604649599641562 1.774215425 1.0170574559999999 Calling exit ...