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.01547/0.01547, allocations: 1.744 MB / 21.38 MB, free: 464 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.00171/0.00171, allocations: 102.6 kB / 24.97 MB, free: 2.039 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.002348/0.002348, allocations: 210.1 kB / 28.68 MB, free: 3.324 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.437/1.437, allocations: 230.6 MB / 262.9 MB, free: 5.805 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.087/1.087, allocations: 130.7 MB / 450.4 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 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="cs",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.06373/0.06373, allocations: 20.61 MB / 0.6362 GB, free: 5.098 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.2277, allocations: 81.9 MB / 0.7162 GB, free: 3.105 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.465/0.6927, allocations: 47.88 MB / 0.763 GB, free: 19.34 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02652/0.7192, allocations: 19.13 MB / 0.7816 GB, free: 6.043 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00484/0.724, allocations: 87 kB / 0.7817 GB, free: 6.004 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005566/0.7296, allocations: 1.872 MB / 0.7836 GB, free: 5.18 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.00761/0.7372, allocations: 2.415 MB / 0.7859 GB, free: 3.777 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006603/0.7438, allocations: 2.723 MB / 0.7886 GB, free: 2.156 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01068/0.7545, allocations: 5.677 MB / 0.7941 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004388/0.7589, allocations: 1.518 MB / 0.7956 GB, free: 13.74 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007539/0.7664, allocations: 2.349 MB / 0.7979 GB, free: 12.4 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00558/0.772, allocations: 2.547 MB / 0.8004 GB, free: 10.81 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.7732, allocations: 364.3 kB / 0.8007 GB, free: 10.81 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005876/0.7791, allocations: 1.981 MB / 0.8027 GB, free: 9.898 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001723/0.7808, allocations: 1.176 MB / 0.8038 GB, free: 9.016 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004021/0.7849, allocations: 1.619 MB / 0.8054 GB, free: 7.449 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.7975, allocations: 6.743 MB / 0.812 GB, free: 0.6836 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7975, allocations: 0 / 0.812 GB, free: 0.6836 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7975, allocations: 0 / 0.812 GB, free: 0.6836 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001575/0.7976, allocations: 0 / 0.812 GB, free: 0.6836 MB / 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.008448/0.8061, allocations: 4.858 MB / 0.8167 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.8061, allocations: 8.031 kB / 0.8167 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.495e-05/0.8062, allocations: 66.92 kB / 0.8168 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004724/0.8067, allocations: 386.7 kB / 0.8172 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.8083, allocations: 0.5756 MB / 0.8177 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006589/0.8149, allocations: 3.61 MB / 0.8213 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.8151, allocations: 152 kB / 0.8214 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003373/0.8154, allocations: 199.9 kB / 0.8216 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/0.8277, allocations: 5.535 MB / 0.827 GB, free: 396 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.979e-05/0.8277, allocations: 23.75 kB / 0.827 GB, free: 372 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002585/0.828, allocations: 100 kB / 0.8271 GB, free: 272 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.968e-05/0.8281, allocations: 79.92 kB / 0.8272 GB, free: 192 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.8388, allocations: 3.656 MB / 0.8308 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02587/0.8647, allocations: 20.23 MB / 0.8505 GB, free: 7.594 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/0.8752, allocations: 3.152 MB / 0.8536 GB, free: 4.312 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003349/0.8786, allocations: 1.205 MB / 0.8548 GB, free: 3.043 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007097/0.8793, allocations: 133.1 kB / 0.8549 GB, free: 2.914 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00958/0.8888, allocations: 3.072 MB / 0.8579 GB, free: 15.72 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 1.062e-05/0.8889, allocations: 0 / 0.8579 GB, free: 15.72 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.02089/0.9097, allocations: 7.001 MB / 0.8647 GB, free: 8.629 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004962/0.9102, allocations: 0.8011 MB / 0.8655 GB, free: 7.641 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00549/0.9157, allocations: 3.125 MB / 0.8686 GB, free: 4.527 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0005445/0.9163, allocations: 56.36 kB / 0.8686 GB, free: 4.469 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.9177, allocations: 1.531 MB / 0.8701 GB, free: 2.926 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001764/0.9195, allocations: 1.494 MB / 0.8716 GB, free: 1.418 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001468/0.9209, allocations: 0.8882 MB / 0.8724 GB, free: 0.5195 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9211, allocations: 301.1 kB / 0.8727 GB, free: 228 kB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002843/0.9239, allocations: 1.625 MB / 0.8743 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004041/0.928, allocations: 3.012 MB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.18/1.108, allocations: 25.86 MB / 0.9025 GB, free: 1.207 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.067e-05/1.108, allocations: 8 kB / 0.9025 GB, free: 1.199 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01211/1.12, allocations: 5.312 MB / 0.9077 GB, free: 11.81 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/1.12, allocations: 158.8 kB / 0.9079 GB, free: 11.63 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007651/1.128, allocations: 4.028 MB / 0.9118 GB, free: 7.535 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003674/1.128, allocations: 109.5 kB / 0.9119 GB, free: 7.426 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003679/1.132, allocations: 1.127 MB / 0.913 GB, free: 6.297 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/1.134, allocations: 1.404 MB / 0.9144 GB, free: 4.777 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/1.136, allocations: 460.7 kB / 0.9148 GB, free: 4.324 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007385/1.137, allocations: 295.8 kB / 0.9151 GB, free: 4.035 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.005904/1.143, allocations: 2.308 MB / 0.9173 GB, free: 1.699 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005157/1.148, allocations: 2.988 MB / 0.9203 GB, free: 14.1 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1868/1.335, allocations: 25.74 MB / 0.9454 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.581e-05/1.335, allocations: 8 kB / 0.9454 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01308/1.348, allocations: 5.276 MB / 0.9506 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/1.348, allocations: 156.3 kB / 0.9507 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008401/1.357, allocations: 3.984 MB / 0.9546 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/1.357, allocations: 92.83 kB / 0.9547 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00373/1.361, allocations: 1.123 MB / 0.9558 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/1.362, allocations: 1.399 MB / 0.9571 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/1.365, allocations: 373.3 kB / 0.9575 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007604/1.366, allocations: 299.8 kB / 0.9578 GB, free: 6.762 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.001682/1.367, allocations: 0.5853 MB / 0.9584 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001677/1.369, allocations: 425 kB / 0.9588 GB, free: 5.727 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.01147/1.381, allocations: 5.469 MB / 0.9641 GB, free: 404 kB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.542062914930284] Failed to read output from testmodel.py, exit status != 0: 1.585311118979007 1.896182422 1.095468765 Calling exit ...