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.01223/0.01223, allocations: 1.757 MB / 20.6 MB, free: 1.172 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.001439/0.001439, allocations: 105.2 kB / 24.18 MB, free: 2.586 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.001832/0.001832, allocations: 209.2 kB / 27.89 MB, free: 3.93 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.405/1.405, allocations: 230.6 MB / 262.1 MB, free: 5.828 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 0.9966/0.9966, allocations: 130.7 MB / 449.6 MB, free: 6.41 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.06377/0.06377, allocations: 20.98 MB / 0.6363 GB, free: 4.215 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.2234, 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.4673/0.6907, allocations: 47.9 MB / 0.7631 GB, free: 19.11 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02582/0.7166, allocations: 19.16 MB / 0.7818 GB, free: 5.805 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004481/0.721, allocations: 90.25 kB / 0.7819 GB, free: 5.762 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005196/0.7262, allocations: 1.856 MB / 0.7837 GB, free: 4.949 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007529/0.7338, allocations: 2.422 MB / 0.786 GB, free: 3.539 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006607/0.7404, allocations: 2.73 MB / 0.7887 GB, free: 1.801 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.009111/0.7495, allocations: 5.655 MB / 0.7942 GB, free: 14.49 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003436/0.7529, allocations: 1.636 MB / 0.7958 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005107/0.758, allocations: 2.357 MB / 0.7981 GB, free: 11.94 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005036/0.7631, allocations: 2.389 MB / 0.8005 GB, free: 10.5 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001341/0.7644, allocations: 364.6 kB / 0.8008 GB, free: 10.5 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005864/0.7703, allocations: 1.941 MB / 0.8027 GB, free: 9.641 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001929/0.7722, allocations: 1.175 MB / 0.8039 GB, free: 8.477 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003594/0.7758, allocations: 1.614 MB / 0.8054 GB, free: 6.855 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.7874, allocations: 6.739 MB / 0.812 GB, free: 96 kB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.7874, allocations: 4 kB / 0.812 GB, free: 92 kB / 0.5763 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7874, allocations: 0 / 0.812 GB, free: 92 kB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001997/0.7876, 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.01025/0.7978, allocations: 4.857 MB / 0.8168 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.7979, allocations: 8.031 kB / 0.8168 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.7998, allocations: 0.579 MB / 0.8173 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007417/0.8072, allocations: 3.6 MB / 0.8208 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.8074, allocations: 158.8 kB / 0.821 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000444/0.8078, allocations: 200 kB / 0.8212 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.8195, allocations: 5.535 MB / 0.8266 GB, free: 260 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.9e-05/0.8195, allocations: 27.75 kB / 0.8266 GB, free: 232 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003282/0.8199, allocations: 100 kB / 0.8267 GB, free: 132 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.292e-05/0.8199, allocations: 68 kB / 0.8268 GB, free: 64 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00956/0.8295, allocations: 3.643 MB / 0.8303 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02174/0.8512, allocations: 19.9 MB / 0.8498 GB, free: 7.816 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00867/0.8599, allocations: 3.153 MB / 0.8529 GB, free: 4.527 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.862, allocations: 1.204 MB / 0.854 GB, free: 3.266 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004259/0.8625, allocations: 137.1 kB / 0.8542 GB, free: 3.133 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007776/0.8702, allocations: 3.08 MB / 0.8572 GB, free: 15.93 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 8.175e-06/0.8703, allocations: 0 / 0.8572 GB, free: 15.93 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.01845/0.8887, allocations: 6.997 MB / 0.864 GB, free: 8.844 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000447/0.8892, allocations: 0.8049 MB / 0.8648 GB, free: 7.852 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005616/0.8948, allocations: 3.126 MB / 0.8678 GB, free: 4.734 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0003695/0.8951, allocations: 57.69 kB / 0.8679 GB, free: 4.672 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.8967, allocations: 1.542 MB / 0.8694 GB, free: 3.117 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001632/0.8983, allocations: 1.479 MB / 0.8708 GB, free: 1.625 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001716/0.9, allocations: 0.8921 MB / 0.8717 GB, free: 0.7227 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.9001, allocations: 301.1 kB / 0.872 GB, free: 436 kB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002977/0.9031, allocations: 1.623 MB / 0.8736 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00414/0.9073, allocations: 3.01 MB / 0.8765 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1729/1.08, allocations: 25.86 MB / 0.9018 GB, free: 1.449 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.669e-05/1.08, allocations: 8 kB / 0.9018 GB, free: 1.441 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01188/1.092, allocations: 5.303 MB / 0.907 GB, free: 12.07 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/1.092, allocations: 146.8 kB / 0.9071 GB, free: 11.9 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007985/1.1, allocations: 4.036 MB / 0.911 GB, free: 7.789 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/1.101, allocations: 112.8 kB / 0.9112 GB, free: 7.676 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003582/1.104, allocations: 1.127 MB / 0.9123 GB, free: 6.547 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/1.106, allocations: 1.394 MB / 0.9136 GB, free: 5.059 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/1.108, allocations: 440.7 kB / 0.914 GB, free: 4.625 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007328/1.109, allocations: 301.7 kB / 0.9143 GB, free: 4.332 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.004823/1.114, allocations: 2.304 MB / 0.9166 GB, free: 1.996 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004306/1.118, allocations: 2.992 MB / 0.9195 GB, free: 14.39 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1728/1.291, allocations: 25.73 MB / 0.9446 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.066e-05/1.291, allocations: 11.94 kB / 0.9446 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01158/1.303, allocations: 5.274 MB / 0.9498 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/1.303, allocations: 150.8 kB / 0.9499 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007549/1.31, allocations: 3.988 MB / 0.9538 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/1.311, allocations: 96.72 kB / 0.9539 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003467/1.314, allocations: 1.12 MB / 0.955 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/1.315, allocations: 1.372 MB / 0.9564 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/1.318, allocations: 381.4 kB / 0.9567 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006812/1.319, allocations: 291.8 kB / 0.957 GB, free: 7.094 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.001383/1.32, allocations: 0.5927 MB / 0.9576 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/1.321, allocations: 418.4 kB / 0.958 GB, free: 6.062 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.01049/1.332, allocations: 5.498 MB / 0.9633 GB, free: 0.707 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.3026210009120405] Failed to read output from testmodel.py, exit status != 0: 1.5086516668088734 1.809787113 1.019362669 Calling exit ...