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.0134/0.0134, allocations: 1.761 MB / 20.61 MB, free: 1.148 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.001662/0.001662, allocations: 101.7 kB / 24.18 MB, free: 2.574 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.0022/0.0022, allocations: 208 kB / 27.9 MB, free: 3.902 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.446/1.446, allocations: 230.6 MB / 262.1 MB, free: 5.82 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.071/1.071, allocations: 130.7 MB / 449.6 MB, free: 6.383 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.06384/0.06384, allocations: 20.99 MB / 0.6363 GB, free: 4.195 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.2237, allocations: 81.91 MB / 0.7163 GB, free: 2.199 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.5272/0.7509, allocations: 47.89 MB / 0.7631 GB, free: 19.15 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02921/0.7801, allocations: 19.16 MB / 0.7818 GB, free: 5.844 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005197/0.7853, allocations: 96.38 kB / 0.7819 GB, free: 5.801 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005989/0.7913, allocations: 1.86 MB / 0.7837 GB, free: 4.988 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.008252/0.7995, allocations: 2.418 MB / 0.786 GB, free: 3.582 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007154/0.8067, allocations: 2.727 MB / 0.7887 GB, free: 1.832 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01007/0.8167, allocations: 5.663 MB / 0.7942 GB, free: 14.52 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00341/0.8202, allocations: 1.639 MB / 0.7958 GB, free: 13.31 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005476/0.8256, allocations: 2.356 MB / 0.7981 GB, free: 11.96 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005923/0.8316, allocations: 2.39 MB / 0.8005 GB, free: 10.53 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001449/0.833, allocations: 364.6 kB / 0.8008 GB, free: 10.53 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007002/0.84, allocations: 1.936 MB / 0.8027 GB, free: 9.648 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002005/0.842, allocations: 1.179 MB / 0.8039 GB, free: 8.465 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003766/0.8458, allocations: 1.61 MB / 0.8054 GB, free: 6.848 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.8587, allocations: 6.735 MB / 0.812 GB, free: 92 kB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8587, allocations: 0 / 0.812 GB, free: 92 kB / 0.5763 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8587, allocations: 0 / 0.812 GB, free: 92 kB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001936/0.8589, allocations: 0 / 0.812 GB, free: 92 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.01004/0.869, allocations: 4.858 MB / 0.8168 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.869, allocations: 12.03 kB / 0.8168 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.8707, allocations: 0.5744 MB / 0.8173 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007783/0.8785, allocations: 3.608 MB / 0.8208 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.8786, allocations: 160.2 kB / 0.821 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003809/0.879, allocations: 196 kB / 0.8212 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/0.8911, allocations: 5.535 MB / 0.8266 GB, free: 252 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-05/0.8912, allocations: 29.62 kB / 0.8266 GB, free: 224 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.8914, allocations: 104 kB / 0.8267 GB, free: 120 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.028e-05/0.8915, allocations: 72 kB / 0.8268 GB, free: 48 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.9018, allocations: 3.639 MB / 0.8303 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02641/0.9282, allocations: 19.9 MB / 0.8498 GB, free: 7.809 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009603/0.9378, allocations: 3.154 MB / 0.8529 GB, free: 4.52 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002608/0.9404, allocations: 1.206 MB / 0.854 GB, free: 3.254 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005782/0.941, allocations: 140 kB / 0.8542 GB, free: 3.121 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009328/0.9503, allocations: 3.08 MB / 0.8572 GB, free: 15.92 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 9.939e-06/0.9503, allocations: 0 / 0.8572 GB, free: 15.92 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.02224/0.9726, allocations: 6.993 MB / 0.864 GB, free: 8.836 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005665/0.9731, allocations: 0.8127 MB / 0.8648 GB, free: 7.836 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006669/0.9798, allocations: 3.119 MB / 0.8678 GB, free: 4.723 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0006575/0.9805, allocations: 57.7 kB / 0.8679 GB, free: 4.66 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001865/0.9823, allocations: 1.538 MB / 0.8694 GB, free: 3.109 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002201/0.9845, allocations: 1.485 MB / 0.8709 GB, free: 1.613 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002724/0.9873, allocations: 0.8882 MB / 0.8717 GB, free: 0.7148 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.9874, allocations: 301.1 kB / 0.872 GB, free: 428 kB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003563/0.991, allocations: 1.628 MB / 0.8736 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00497/0.9959, allocations: 3.003 MB / 0.8765 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1781/1.174, allocations: 25.86 MB / 0.9018 GB, free: 1.438 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.802e-05/1.174, allocations: 12 kB / 0.9018 GB, free: 1.426 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01292/1.187, allocations: 5.301 MB / 0.907 GB, free: 12.05 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001784/1.187, allocations: 158.8 kB / 0.9071 GB, free: 11.87 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008689/1.196, allocations: 4.033 MB / 0.9111 GB, free: 7.766 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004033/1.196, allocations: 104.8 kB / 0.9112 GB, free: 7.66 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003692/1.2, allocations: 1.129 MB / 0.9123 GB, free: 6.531 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/1.202, allocations: 1.388 MB / 0.9136 GB, free: 5.047 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/1.204, allocations: 440.7 kB / 0.914 GB, free: 4.613 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007891/1.205, allocations: 303.7 kB / 0.9143 GB, free: 4.316 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.005302/1.21, allocations: 2.309 MB / 0.9166 GB, free: 1.98 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004696/1.215, allocations: 2.992 MB / 0.9195 GB, free: 14.38 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1773/1.393, allocations: 25.73 MB / 0.9446 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.197e-05/1.393, allocations: 15.38 kB / 0.9446 GB, free: 4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01366/1.406, allocations: 5.264 MB / 0.9498 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001714/1.406, allocations: 155 kB / 0.9499 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008576/1.415, allocations: 3.991 MB / 0.9538 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000305/1.415, allocations: 92.77 kB / 0.9539 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/1.419, allocations: 1.123 MB / 0.955 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/1.42, allocations: 1.368 MB / 0.9564 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/1.423, allocations: 381.4 kB / 0.9567 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007869/1.424, allocations: 291.8 kB / 0.957 GB, free: 7.078 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.001642/1.426, allocations: 0.5845 MB / 0.9576 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001566/1.427, allocations: 425.2 kB / 0.958 GB, free: 6.047 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.01241/1.44, allocations: 5.501 MB / 0.9633 GB, free: 0.6875 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.644674811977893] Failed to read output from testmodel.py, exit status != 0: 1.629755815025419 1.963372623 1.101311442 Calling exit ...