Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01276/0.01276, allocations: 1.762 MB / 20.59 MB, free: 1.297 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.00147/0.00147, allocations: 103.5 kB / 24.19 MB, free: 2.684 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.002014/0.002014, allocations: 211.1 kB / 27.92 MB, free: 4.035 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.485/1.485, allocations: 230.6 MB / 262.1 MB, free: 6.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.08/1.08, allocations: 130.7 MB / 449.7 MB, free: 6.605 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="me",version="2.0",platforms={"static"}) [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.04945/0.04945, allocations: 20.79 MB / 0.6357 GB, free: 5.156 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.2133, allocations: 81.9 MB / 0.7157 GB, free: 3.152 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.559/0.7723, allocations: 49.92 MB / 0.7645 GB, free: 17.49 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0289/0.8012, allocations: 20.05 MB / 0.784 GB, free: 3.223 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005615/0.8068, allocations: 90.47 kB / 0.7841 GB, free: 3.18 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.006035/0.8129, allocations: 1.943 MB / 0.786 GB, free: 2.301 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.008221/0.8211, allocations: 2.413 MB / 0.7884 GB, free: 0.8945 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007712/0.8288, allocations: 2.726 MB / 0.791 GB, free: 15.26 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0113/0.8401, allocations: 5.662 MB / 0.7966 GB, free: 11.95 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003431/0.8435, allocations: 1.532 MB / 0.7981 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005979/0.8495, allocations: 2.337 MB / 0.8004 GB, free: 9.516 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006118/0.8556, allocations: 2.562 MB / 0.8029 GB, free: 7.914 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.00165/0.8573, allocations: 364 kB / 0.8032 GB, free: 7.914 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008262/0.8655, allocations: 2.572 MB / 0.8057 GB, free: 6.605 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002546/0.8681, allocations: 1.166 MB / 0.8069 GB, free: 5.73 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.00443/0.8725, allocations: 2.109 MB / 0.8089 GB, free: 3.609 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.8868, allocations: 6.833 MB / 0.8156 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.8868, allocations: 6.688 kB / 0.8156 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.474e-06/0.8868, allocations: 0 / 0.8156 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002162/0.887, allocations: 0 / 0.8156 GB, free: 12.75 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.01171/0.8987, allocations: 4.862 MB / 0.8203 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.8988, allocations: 12.03 kB / 0.8204 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007832/0.8995, allocations: 389.3 kB / 0.8207 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.9016, allocations: 0.5756 MB / 0.8213 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008677/0.9103, allocations: 3.596 MB / 0.8248 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.9104, allocations: 156 kB / 0.8249 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005399/0.911, allocations: 196 kB / 0.8251 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01246/0.9234, allocations: 4.852 MB / 0.8299 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-05/0.9235, allocations: 27.75 kB / 0.8299 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002634/0.9238, allocations: 100 kB / 0.83 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-05/0.9239, allocations: 75.98 kB / 0.8301 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.9344, allocations: 3.535 MB / 0.8335 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02524/0.9596, allocations: 21.24 MB / 0.8543 GB, free: 3.738 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009134/0.9688, allocations: 3.054 MB / 0.8572 GB, free: 0.5898 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002402/0.9712, allocations: 1.086 MB / 0.8583 GB, free: 15.47 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005218/0.9717, allocations: 149 kB / 0.8584 GB, free: 15.32 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008519/0.9802, allocations: 2.949 MB / 0.8613 GB, free: 12.29 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 5.681e-06/0.9802, allocations: 0 / 0.8613 GB, free: 12.29 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.02042/1.001, allocations: 6.74 MB / 0.8679 GB, free: 5.504 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004962/1.001, allocations: 0.8036 MB / 0.8687 GB, free: 4.516 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005804/1.007, allocations: 3.121 MB / 0.8717 GB, free: 1.406 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0007621/1.008, allocations: 61.7 kB / 0.8718 GB, free: 1.34 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001661/1.009, allocations: 1.527 MB / 0.8733 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002051/1.011, allocations: 1.483 MB / 0.8747 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/1.013, allocations: 0.8882 MB / 0.8756 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.013, allocations: 303.8 kB / 0.8759 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/1.016, allocations: 1.507 MB / 0.8774 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004284/1.021, allocations: 2.696 MB / 0.88 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.192/1.213, allocations: 25.83 MB / 0.9052 GB, free: 14.51 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-05/1.213, allocations: 12 kB / 0.9052 GB, free: 14.5 MB / 0.6857 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01208/1.225, allocations: 5.157 MB / 0.9103 GB, free: 9.297 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001739/1.225, allocations: 148 kB / 0.9104 GB, free: 9.129 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007395/1.232, allocations: 3.887 MB / 0.9142 GB, free: 5.195 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/1.233, allocations: 100.8 kB / 0.9143 GB, free: 5.094 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/1.236, allocations: 1.123 MB / 0.9154 GB, free: 3.969 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/1.238, allocations: 1.424 MB / 0.9168 GB, free: 2.43 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/1.24, allocations: 460.7 kB / 0.9172 GB, free: 1.977 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006686/1.241, allocations: 291.8 kB / 0.9175 GB, free: 1.691 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.004577/1.246, allocations: 2.182 MB / 0.9196 GB, free: 15.5 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004072/1.25, allocations: 2.688 MB / 0.9223 GB, free: 12.27 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2057/1.455, allocations: 25.7 MB / 0.9474 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.86e-05/1.456, allocations: 12.62 kB / 0.9474 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01186/1.467, allocations: 5.117 MB / 0.9524 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/1.468, allocations: 154.8 kB / 0.9525 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007619/1.475, allocations: 3.833 MB / 0.9563 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/1.475, allocations: 88.83 kB / 0.9564 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003709/1.479, allocations: 1.119 MB / 0.9574 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/1.481, allocations: 1.403 MB / 0.9588 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/1.484, allocations: 388 kB / 0.9592 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008837/1.485, allocations: 294.5 kB / 0.9595 GB, free: 5.32 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.001802/1.486, allocations: 0.5803 MB / 0.96 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001704/1.488, allocations: 429 kB / 0.9604 GB, free: 4.289 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.01195/1.5, allocations: 5.472 MB / 0.9658 GB, free: 14.95 MB / 0.7482 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.742075453046709] Failed to read output from testmodel.py, exit status != 0: 1.7029021810740232 2.054009328 1.163610728 Calling exit ...