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.0107/0.0107, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.00139/0.00139, allocations: 99.72 kB / 24.18 MB, free: 2.438 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.001721/0.001721, allocations: 213.1 kB / 27.9 MB, free: 3.742 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.474/1.474, allocations: 230.6 MB / 262.1 MB, free: 5.812 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.076/1.076, allocations: 130.7 MB / 449.6 MB, free: 6.402 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.06542/0.06542, allocations: 20.99 MB / 0.6358 GB, free: 4.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.2368, allocations: 81.9 MB / 0.7158 GB, free: 2.703 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.4742/0.711, allocations: 47.9 MB / 0.7626 GB, free: 19.12 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0262/0.7372, allocations: 19.16 MB / 0.7813 GB, free: 5.816 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004077/0.7413, allocations: 90.78 kB / 0.7814 GB, free: 5.773 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.00515/0.7465, allocations: 1.867 MB / 0.7832 GB, free: 4.957 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007223/0.7537, allocations: 2.41 MB / 0.7856 GB, free: 3.559 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006359/0.76, allocations: 2.725 MB / 0.7882 GB, free: 1.891 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.008355/0.7684, allocations: 5.663 MB / 0.7938 GB, free: 14.58 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002804/0.7712, allocations: 1.647 MB / 0.7954 GB, free: 13.37 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/0.7756, allocations: 2.344 MB / 0.7977 GB, free: 12.03 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004571/0.7802, allocations: 2.398 MB / 0.8 GB, free: 10.59 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0007996/0.781, allocations: 369 kB / 0.8003 GB, free: 10.59 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004839/0.7858, allocations: 1.942 MB / 0.8022 GB, free: 9.723 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.787, allocations: 1.174 MB / 0.8034 GB, free: 8.727 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002397/0.7894, allocations: 1.621 MB / 0.805 GB, free: 7.098 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.7998, allocations: 6.728 MB / 0.8115 GB, free: 352 kB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7998, allocations: 2.656 kB / 0.8115 GB, free: 352 kB / 0.5763 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7998, allocations: 0 / 0.8115 GB, free: 352 kB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001065/0.7999, allocations: 0 / 0.8115 GB, free: 352 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.00802/0.8079, allocations: 4.858 MB / 0.8163 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.8079, allocations: 8.031 kB / 0.8163 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004669/0.8084, allocations: 390.7 kB / 0.8167 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.8099, allocations: 0.5744 MB / 0.8172 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006678/0.8166, allocations: 3.601 MB / 0.8207 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.8168, allocations: 156 kB / 0.8209 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/0.8171, allocations: 200 kB / 0.8211 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.8279, allocations: 5.531 MB / 0.8265 GB, free: 116 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-05/0.8279, allocations: 27.75 kB / 0.8265 GB, free: 88 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.8281, allocations: 100 kB / 0.8266 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.051e-05/0.8282, allocations: 68 kB / 0.8267 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009243/0.8375, allocations: 3.651 MB / 0.8302 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02232/0.8598, allocations: 20.22 MB / 0.85 GB, free: 7.348 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00887/0.8686, allocations: 3.163 MB / 0.8531 GB, free: 4.055 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.871, allocations: 1.204 MB / 0.8542 GB, free: 2.789 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005015/0.8715, allocations: 141 kB / 0.8544 GB, free: 2.652 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008564/0.8801, allocations: 3.061 MB / 0.8574 GB, free: 15.47 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 9.909e-06/0.8801, allocations: 2.656 kB / 0.8574 GB, free: 15.47 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.02047/0.9006, allocations: 6.997 MB / 0.8642 GB, free: 8.379 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004788/0.901, allocations: 0.8088 MB / 0.865 GB, free: 7.383 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006217/0.9073, allocations: 3.183 MB / 0.8681 GB, free: 4.211 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0005256/0.9078, allocations: 57.7 kB / 0.8682 GB, free: 4.148 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.9094, allocations: 1.527 MB / 0.8697 GB, free: 2.609 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001875/0.9113, allocations: 1.493 MB / 0.8711 GB, free: 1.105 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00212/0.9134, allocations: 0.8882 MB / 0.872 GB, free: 212 kB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.9135, allocations: 301.1 kB / 0.8723 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003108/0.9167, allocations: 1.627 MB / 0.8739 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004388/0.921, allocations: 3.007 MB / 0.8768 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1817/1.103, allocations: 25.85 MB / 0.902 GB, free: 0.918 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.941e-05/1.103, allocations: 8 kB / 0.902 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01194/1.115, allocations: 5.314 MB / 0.9072 GB, free: 11.52 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001688/1.115, allocations: 155.9 kB / 0.9074 GB, free: 11.35 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008454/1.123, allocations: 4.032 MB / 0.9113 GB, free: 7.242 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004134/1.124, allocations: 102.9 kB / 0.9114 GB, free: 7.141 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003788/1.128, allocations: 1.127 MB / 0.9125 GB, free: 6.012 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/1.129, allocations: 1.414 MB / 0.9139 GB, free: 4.484 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/1.133, allocations: 463.5 kB / 0.9143 GB, free: 4.031 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008524/1.134, allocations: 295.8 kB / 0.9146 GB, free: 3.742 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.005156/1.139, allocations: 2.304 MB / 0.9169 GB, free: 1.406 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004317/1.143, allocations: 2.988 MB / 0.9198 GB, free: 13.81 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1807/1.324, allocations: 25.73 MB / 0.9449 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.266e-05/1.324, allocations: 8 kB / 0.9449 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01362/1.337, allocations: 5.278 MB / 0.9501 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/1.338, allocations: 158.7 kB / 0.9502 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008559/1.346, allocations: 3.984 MB / 0.9541 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003542/1.346, allocations: 92.83 kB / 0.9542 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004035/1.35, allocations: 1.127 MB / 0.9553 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/1.352, allocations: 1.401 MB / 0.9567 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00418/1.356, allocations: 369.4 kB / 0.957 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/1.358, allocations: 299.8 kB / 0.9573 GB, free: 6.469 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.002023/1.36, allocations: 0.5903 MB / 0.9579 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001808/1.361, allocations: 425 kB / 0.9583 GB, free: 5.438 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.01163/1.373, allocations: 5.488 MB / 0.9637 GB, free: 88 kB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.6022204319015145] Failed to read output from testmodel.py, exit status != 0: 1.5710974335670471 1.917774516 1.114866231 Calling exit ...