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.01269/0.01269, allocations: 1.75 MB / 20.6 MB, free: 1.027 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.001545/0.001545, allocations: 103.5 kB / 24.18 MB, free: 2.469 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.002046/0.002046, allocations: 213.3 kB / 27.9 MB, free: 3.77 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.456/1.456, allocations: 230.6 MB / 262.1 MB, free: 5.832 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.04/1.04, allocations: 130.7 MB / 449.6 MB, free: 6.379 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.0652/0.0652, allocations: 20.99 MB / 0.6363 GB, free: 4.246 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.234, allocations: 81.91 MB / 0.7163 GB, free: 2.242 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.4539/0.6879, allocations: 47.9 MB / 0.7631 GB, free: 19.18 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0299/0.7178, allocations: 19.16 MB / 0.7818 GB, free: 5.879 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004945/0.7228, allocations: 93.66 kB / 0.7819 GB, free: 5.836 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005259/0.728, allocations: 1.855 MB / 0.7837 GB, free: 5.027 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.008153/0.7362, allocations: 2.424 MB / 0.7861 GB, free: 3.617 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006838/0.743, allocations: 2.73 MB / 0.7887 GB, free: 1.879 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.008632/0.7517, allocations: 5.653 MB / 0.7942 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003397/0.7551, allocations: 1.643 MB / 0.7958 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005602/0.7607, allocations: 2.352 MB / 0.7981 GB, free: 12.02 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005176/0.7658, allocations: 2.395 MB / 0.8005 GB, free: 10.58 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001266/0.7671, allocations: 363.1 kB / 0.8008 GB, free: 10.58 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006695/0.7738, allocations: 1.944 MB / 0.8027 GB, free: 9.707 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.7757, allocations: 1.163 MB / 0.8039 GB, free: 8.543 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003527/0.7793, allocations: 1.619 MB / 0.8054 GB, free: 6.918 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.009999/0.7893, allocations: 6.728 MB / 0.812 GB, free: 168 kB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7893, allocations: 0 / 0.812 GB, free: 168 kB / 0.5763 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7893, allocations: 0 / 0.812 GB, free: 168 kB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.052e-05/0.7894, allocations: 0 / 0.812 GB, free: 168 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.007806/0.7972, allocations: 4.858 MB / 0.8168 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.7972, allocations: 8.031 kB / 0.8168 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.7987, allocations: 0.5783 MB / 0.8173 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006382/0.8051, allocations: 3.605 MB / 0.8208 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.8052, allocations: 162.3 kB / 0.821 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004528/0.8057, allocations: 200 kB / 0.8212 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.8162, allocations: 5.531 MB / 0.8266 GB, free: 332 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-05/0.8162, allocations: 27.75 kB / 0.8266 GB, free: 304 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.8164, allocations: 104 kB / 0.8267 GB, free: 200 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.732e-05/0.8165, allocations: 71.98 kB / 0.8268 GB, free: 128 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008805/0.8253, allocations: 3.643 MB / 0.8303 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01959/0.8449, allocations: 19.9 MB / 0.8498 GB, free: 7.887 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008142/0.8531, allocations: 3.153 MB / 0.8529 GB, free: 4.598 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.855, allocations: 1.21 MB / 0.854 GB, free: 3.328 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005035/0.8555, allocations: 139.9 kB / 0.8542 GB, free: 3.195 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007181/0.8627, allocations: 3.075 MB / 0.8572 GB, free: 0 / 0.6232 GB Notification: Performance of pre-optimization done (n=448): time 3.908e-06/0.8627, allocations: 0 / 0.8572 GB, free: 0 / 0.6232 GB Notification: Performance of matching and sorting (n=448): time 0.01763/0.8803, allocations: 6.993 MB / 0.864 GB, free: 8.914 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004492/0.8808, allocations: 0.8049 MB / 0.8648 GB, free: 7.922 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004425/0.8852, allocations: 3.123 MB / 0.8678 GB, free: 4.805 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0002602/0.8855, allocations: 53.7 kB / 0.8679 GB, free: 4.746 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.8868, allocations: 1.546 MB / 0.8694 GB, free: 3.188 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001375/0.8882, allocations: 1.489 MB / 0.8709 GB, free: 1.688 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.8895, allocations: 0.8882 MB / 0.8717 GB, free: 0.7891 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8896, allocations: 301.1 kB / 0.872 GB, free: 0.4922 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/0.8923, allocations: 1.632 MB / 0.8736 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003888/0.8962, allocations: 2.999 MB / 0.8765 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1737/1.07, allocations: 25.86 MB / 0.9018 GB, free: 1.516 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.73e-05/1.07, allocations: 8 kB / 0.9018 GB, free: 1.508 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01267/1.083, allocations: 5.307 MB / 0.907 GB, free: 12.13 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/1.083, allocations: 152.2 kB / 0.9071 GB, free: 11.96 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008614/1.091, allocations: 4.036 MB / 0.9111 GB, free: 7.852 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004006/1.092, allocations: 112.8 kB / 0.9112 GB, free: 7.738 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/1.095, allocations: 1.119 MB / 0.9123 GB, free: 6.617 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/1.097, allocations: 1.389 MB / 0.9136 GB, free: 5.129 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/1.1, allocations: 448.8 kB / 0.914 GB, free: 4.688 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007322/1.101, allocations: 302.4 kB / 0.9143 GB, free: 4.395 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.004728/1.105, allocations: 2.304 MB / 0.9166 GB, free: 2.059 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004225/1.11, allocations: 2.988 MB / 0.9195 GB, free: 14.46 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.174/1.284, allocations: 25.74 MB / 0.9446 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.227e-05/1.284, allocations: 8 kB / 0.9446 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01244/1.296, allocations: 5.279 MB / 0.9498 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000155/1.296, allocations: 154.8 kB / 0.9499 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00863/1.305, allocations: 3.988 MB / 0.9538 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/1.305, allocations: 100.7 kB / 0.9539 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003672/1.309, allocations: 1.116 MB / 0.955 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/1.31, allocations: 1.378 MB / 0.9564 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/1.313, allocations: 373.4 kB / 0.9567 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009097/1.314, allocations: 295.8 kB / 0.957 GB, free: 7.152 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.001747/1.316, allocations: 0.5859 MB / 0.9576 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001747/1.318, allocations: 417.1 kB / 0.958 GB, free: 6.125 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.01281/1.331, allocations: 5.495 MB / 0.9633 GB, free: 0.7695 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.477571988478303] Failed to read output from testmodel.py, exit status != 0: 1.5272950232028961 1.836038052 1.043859257 Calling exit ...