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.01047/0.01047, allocations: 1.747 MB / 21.35 MB, free: 476 kB / 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.001292/0.001292, allocations: 108.9 kB / 24.94 MB, free: 2.023 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.001603/0.001603, allocations: 209.8 kB / 28.64 MB, free: 3.316 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.537/1.537, allocations: 230.6 MB / 262.8 MB, free: 5.801 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.124/1.124, allocations: 130.7 MB / 450.4 MB, free: 6.363 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.06806/0.06806, allocations: 20.99 MB / 0.637 GB, free: 4.176 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2737, allocations: 81.91 MB / 0.717 GB, free: 2.168 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.6435/0.9172, allocations: 47.9 MB / 0.7638 GB, free: 19.11 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03443/0.9516, allocations: 19.15 MB / 0.7825 GB, free: 5.816 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006254/0.9579, allocations: 94.44 kB / 0.7826 GB, free: 5.773 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.006973/0.9648, allocations: 1.862 MB / 0.7844 GB, free: 4.957 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.9751, allocations: 2.42 MB / 0.7868 GB, free: 3.551 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008553/0.9836, allocations: 2.731 MB / 0.7894 GB, free: 1.805 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.0117/0.9953, allocations: 5.656 MB / 0.795 GB, free: 14.49 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004341/0.9997, allocations: 1.639 MB / 0.7966 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006675/1.006, allocations: 2.353 MB / 0.7989 GB, free: 11.94 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005917/1.012, allocations: 2.396 MB / 0.8012 GB, free: 10.5 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001696/1.014, allocations: 363.5 kB / 0.8015 GB, free: 10.5 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007184/1.021, allocations: 1.937 MB / 0.8034 GB, free: 9.625 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002408/1.024, allocations: 1.168 MB / 0.8046 GB, free: 8.453 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.00471/1.028, allocations: 1.621 MB / 0.8062 GB, free: 6.824 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01477/1.043, allocations: 6.735 MB / 0.8127 GB, free: 68 kB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.043, allocations: 0 / 0.8127 GB, free: 68 kB / 0.5763 GB Notification: Performance of FrontEnd: time 1.944e-06/1.043, allocations: 4 kB / 0.8127 GB, free: 64 kB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0002672/1.043, allocations: 0 / 0.8127 GB, free: 64 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.01583/1.059, allocations: 4.854 MB / 0.8175 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.638e-05/1.059, allocations: 8.031 kB / 0.8175 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/1.062, allocations: 0.5829 MB / 0.8181 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009627/1.072, allocations: 3.606 MB / 0.8216 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000242/1.072, allocations: 156.2 kB / 0.8217 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007614/1.073, allocations: 196 kB / 0.8219 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/1.087, allocations: 5.533 MB / 0.8273 GB, free: 236 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-05/1.087, allocations: 27.75 kB / 0.8273 GB, free: 208 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002647/1.087, allocations: 100 kB / 0.8274 GB, free: 108 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.639e-05/1.087, allocations: 75.98 kB / 0.8275 GB, free: 32 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009626/1.097, allocations: 3.647 MB / 0.8311 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02397/1.121, allocations: 19.89 MB / 0.8505 GB, free: 7.797 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008916/1.13, allocations: 3.165 MB / 0.8536 GB, free: 4.496 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002421/1.132, allocations: 1.208 MB / 0.8548 GB, free: 3.23 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004458/1.133, allocations: 137 kB / 0.8549 GB, free: 3.098 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007781/1.14, allocations: 3.071 MB / 0.8579 GB, free: 15.91 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 5.28e-06/1.14, allocations: 0 / 0.8579 GB, free: 15.91 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.0186/1.159, allocations: 6.989 MB / 0.8647 GB, free: 8.824 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005322/1.16, allocations: 0.8165 MB / 0.8655 GB, free: 7.82 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007169/1.167, allocations: 3.123 MB / 0.8686 GB, free: 4.703 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.000442/1.167, allocations: 57.7 kB / 0.8686 GB, free: 4.641 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001646/1.169, allocations: 1.545 MB / 0.8701 GB, free: 3.086 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.171, allocations: 1.487 MB / 0.8716 GB, free: 1.586 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001893/1.172, allocations: 0.8843 MB / 0.8725 GB, free: 0.6914 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.173, allocations: 305.1 kB / 0.8727 GB, free: 400 kB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002838/1.175, allocations: 1.629 MB / 0.8743 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004184/1.18, allocations: 2.999 MB / 0.8773 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1781/1.358, allocations: 25.86 MB / 0.9025 GB, free: 1.406 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.468e-05/1.358, allocations: 12 kB / 0.9025 GB, free: 1.395 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01104/1.369, allocations: 5.302 MB / 0.9077 GB, free: 12.02 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/1.369, allocations: 154.8 kB / 0.9079 GB, free: 11.85 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007368/1.376, allocations: 4.034 MB / 0.9118 GB, free: 7.738 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003603/1.377, allocations: 96.83 kB / 0.9119 GB, free: 7.641 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00348/1.38, allocations: 1.131 MB / 0.913 GB, free: 6.508 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/1.382, allocations: 1.388 MB / 0.9143 GB, free: 5.023 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/1.385, allocations: 452.7 kB / 0.9148 GB, free: 4.578 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005949/1.385, allocations: 295.7 kB / 0.9151 GB, free: 4.289 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.005015/1.39, allocations: 2.314 MB / 0.9173 GB, free: 1.945 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004527/1.395, allocations: 2.99 MB / 0.9202 GB, free: 14.35 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1784/1.573, allocations: 25.73 MB / 0.9454 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.726e-05/1.573, allocations: 15.38 kB / 0.9454 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01185/1.585, allocations: 5.266 MB / 0.9505 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/1.585, allocations: 154.8 kB / 0.9507 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006936/1.592, allocations: 3.984 MB / 0.9546 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/1.592, allocations: 100.8 kB / 0.9547 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00327/1.596, allocations: 1.115 MB / 0.9557 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/1.597, allocations: 1.379 MB / 0.9571 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/1.6, allocations: 377.4 kB / 0.9575 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004704/1.6, allocations: 295.8 kB / 0.9577 GB, free: 7.047 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.00145/1.602, allocations: 0.5841 MB / 0.9583 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008718/1.603, allocations: 421.2 kB / 0.9587 GB, free: 6.016 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.00911/1.612, allocations: 5.497 MB / 0.9641 GB, free: 0.6602 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.1349665629677474] Failed to read output from testmodel.py, exit status != 0: 1.8167779501527548 2.186250102 1.139725408 Calling exit ...