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.0126/0.0126, allocations: 1.749 MB / 21.34 MB, free: 0.5898 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.001659/0.001659, allocations: 101.3 kB / 24.93 MB, free: 2.18 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.002166/0.002166, allocations: 211.8 kB / 28.67 MB, free: 3.461 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.615/1.615, allocations: 230.6 MB / 262.8 MB, free: 6.02 MB / 206.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.187/1.187, allocations: 130.7 MB / 450.4 MB, free: 6.566 MB / 350.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.03899/0.03899, allocations: 20.79 MB / 0.6369 GB, free: 4.598 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.2346, allocations: 81.91 MB / 0.7169 GB, free: 2.617 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.6032/0.8377, allocations: 49.93 MB / 0.7657 GB, free: 17.34 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03137/0.8691, allocations: 20.05 MB / 0.7853 GB, free: 3.074 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005992/0.8751, allocations: 91.97 kB / 0.7853 GB, free: 3.031 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.006621/0.8817, allocations: 1.94 MB / 0.7872 GB, free: 2.148 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.893, allocations: 2.411 MB / 0.7896 GB, free: 0.7422 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.01129/0.9043, allocations: 2.727 MB / 0.7923 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0143/0.9186, allocations: 5.675 MB / 0.7978 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004374/0.923, allocations: 1.522 MB / 0.7993 GB, free: 10.62 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006784/0.9297, allocations: 2.34 MB / 0.8016 GB, free: 9.285 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006483/0.9362, allocations: 2.548 MB / 0.8041 GB, free: 7.695 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002116/0.9383, allocations: 367.7 kB / 0.8044 GB, free: 7.695 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008444/0.9468, allocations: 2.562 MB / 0.8069 GB, free: 6.387 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002722/0.9495, allocations: 1.176 MB / 0.8081 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.006817/0.9563, allocations: 2.106 MB / 0.8101 GB, free: 3.246 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0209/0.9772, allocations: 6.836 MB / 0.8168 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.9772, allocations: 0 / 0.8168 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.554e-06/0.9772, allocations: 0 / 0.8168 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003837/0.9776, allocations: 1.312 kB / 0.8168 GB, free: 12.39 MB / 0.5919 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.01471/0.9923, allocations: 4.862 MB / 0.8215 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.9924, allocations: 10.69 kB / 0.8216 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.9949, allocations: 0.5756 MB / 0.8221 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008355/1.003, allocations: 3.601 MB / 0.8256 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/1.003, allocations: 160.2 kB / 0.8258 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003495/1.004, allocations: 202 kB / 0.826 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/1.017, allocations: 4.852 MB / 0.8307 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/1.017, allocations: 23.75 kB / 0.8307 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005652/1.018, allocations: 104 kB / 0.8308 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/1.018, allocations: 71.98 kB / 0.8309 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/1.028, allocations: 3.539 MB / 0.8344 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02898/1.057, allocations: 21.24 MB / 0.8551 GB, free: 3.758 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009591/1.067, allocations: 3.041 MB / 0.8581 GB, free: 0.6211 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002681/1.07, allocations: 1.097 MB / 0.8591 GB, free: 15.49 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005852/1.07, allocations: 145 kB / 0.8593 GB, free: 15.35 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008912/1.079, allocations: 2.948 MB / 0.8622 GB, free: 12.31 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 9.237e-06/1.079, allocations: 0 / 0.8622 GB, free: 12.31 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.02116/1.1, allocations: 6.747 MB / 0.8687 GB, free: 5.527 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006276/1.101, allocations: 0.7998 MB / 0.8695 GB, free: 4.543 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007388/1.108, allocations: 3.121 MB / 0.8726 GB, free: 1.434 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0007535/1.109, allocations: 57.69 kB / 0.8726 GB, free: 1.371 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001932/1.111, allocations: 1.527 MB / 0.8741 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002415/1.113, allocations: 1.491 MB / 0.8756 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002902/1.116, allocations: 0.8882 MB / 0.8764 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.117, allocations: 306 kB / 0.8767 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003504/1.12, allocations: 1.503 MB / 0.8782 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004994/1.125, allocations: 2.7 MB / 0.8808 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1849/1.31, allocations: 25.81 MB / 0.9061 GB, free: 14.54 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.124e-05/1.31, allocations: 12 kB / 0.9061 GB, free: 14.53 MB / 0.6857 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01119/1.321, allocations: 5.161 MB / 0.9111 GB, free: 9.316 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/1.321, allocations: 154.7 kB / 0.9113 GB, free: 9.141 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007212/1.329, allocations: 3.871 MB / 0.915 GB, free: 5.223 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003972/1.329, allocations: 117.1 kB / 0.9151 GB, free: 5.109 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003417/1.332, allocations: 1.123 MB / 0.9162 GB, free: 3.984 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/1.334, allocations: 1.415 MB / 0.9176 GB, free: 2.453 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/1.337, allocations: 460.5 kB / 0.9181 GB, free: 2 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005138/1.338, allocations: 291.8 kB / 0.9183 GB, free: 1.715 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.004718/1.342, allocations: 2.188 MB / 0.9205 GB, free: 15.52 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004074/1.346, allocations: 2.684 MB / 0.9231 GB, free: 12.3 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1853/1.532, allocations: 25.7 MB / 0.9482 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.348e-05/1.532, allocations: 8 kB / 0.9482 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.0145/1.546, allocations: 5.122 MB / 0.9532 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/1.546, allocations: 149 kB / 0.9534 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00792/1.554, allocations: 3.844 MB / 0.9571 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002579/1.555, allocations: 92.83 kB / 0.9572 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003442/1.558, allocations: 1.119 MB / 0.9583 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/1.559, allocations: 1.403 MB / 0.9597 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/1.562, allocations: 369.6 kB / 0.96 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004981/1.563, allocations: 307.7 kB / 0.9603 GB, free: 5.34 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.001527/1.564, allocations: 0.5773 MB / 0.9609 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/1.565, allocations: 425 kB / 0.9613 GB, free: 4.312 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.01019/1.576, allocations: 5.473 MB / 0.9666 GB, free: 14.98 MB / 0.7482 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.390627330169082] Failed to read output from testmodel.py, exit status != 0: 1.8246195260435343 2.243131654 1.262536919 Calling exit ...