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.01272/0.01272, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001309/0.001309, allocations: 107.9 kB / 24.19 MB, free: 2.691 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.001613/0.001613, allocations: 209.4 kB / 27.92 MB, free: 4.027 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.419/1.419, allocations: 230.6 MB / 262.1 MB, free: 6.008 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.026/1.026, allocations: 130.7 MB / 449.7 MB, free: 6.805 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.0332/0.0332, allocations: 20.78 MB / 0.6357 GB, free: 5.215 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1986, allocations: 81.91 MB / 0.7157 GB, free: 3.211 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.6728, allocations: 49.91 MB / 0.7645 GB, free: 17.56 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02551/0.6983, allocations: 20.06 MB / 0.7841 GB, free: 3.285 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004067/0.7024, allocations: 91.19 kB / 0.7841 GB, free: 3.242 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005325/0.7077, allocations: 1.935 MB / 0.786 GB, free: 2.367 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007497/0.7152, allocations: 2.412 MB / 0.7884 GB, free: 0.9609 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007131/0.7223, allocations: 2.724 MB / 0.791 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01074/0.7331, allocations: 5.672 MB / 0.7966 GB, free: 12.02 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00328/0.7364, allocations: 1.518 MB / 0.7981 GB, free: 10.92 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004851/0.7412, allocations: 2.349 MB / 0.8004 GB, free: 9.582 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004961/0.7462, allocations: 2.556 MB / 0.8029 GB, free: 7.988 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.7473, allocations: 363.3 kB / 0.8032 GB, free: 7.988 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006057/0.7533, allocations: 2.571 MB / 0.8057 GB, free: 6.68 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001555/0.7549, allocations: 1.169 MB / 0.8069 GB, free: 5.805 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003159/0.758, allocations: 2.106 MB / 0.8089 GB, free: 3.695 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.7698, allocations: 6.834 MB / 0.8156 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.7698, allocations: 0 / 0.8156 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7698, allocations: 0 / 0.8156 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001332/0.7699, allocations: 2.656 kB / 0.8156 GB, free: 12.84 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.00858/0.7785, allocations: 4.865 MB / 0.8203 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.7786, allocations: 8.031 kB / 0.8204 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004794/0.779, allocations: 386.7 kB / 0.8207 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.7806, allocations: 0.5782 MB / 0.8213 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006814/0.7874, allocations: 3.597 MB / 0.8248 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.7875, allocations: 159.9 kB / 0.8249 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.7878, allocations: 196 kB / 0.8251 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.7984, allocations: 4.853 MB / 0.8299 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.969e-05/0.7984, allocations: 26.41 kB / 0.8299 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.7987, allocations: 104 kB / 0.83 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-05/0.7987, allocations: 75.98 kB / 0.8301 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009371/0.8081, allocations: 3.533 MB / 0.8335 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02136/0.8295, allocations: 21.24 MB / 0.8543 GB, free: 3.824 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008372/0.8378, allocations: 3.049 MB / 0.8572 GB, free: 0.6758 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.8398, allocations: 1.083 MB / 0.8583 GB, free: 15.55 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/0.8402, allocations: 155.6 kB / 0.8584 GB, free: 15.41 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007424/0.8476, allocations: 2.949 MB / 0.8613 GB, free: 12.37 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 4.639e-06/0.8476, allocations: 0 / 0.8613 GB, free: 12.37 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.01779/0.8654, allocations: 6.742 MB / 0.8679 GB, free: 5.586 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004297/0.8658, allocations: 0.8036 MB / 0.8687 GB, free: 4.598 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004498/0.8703, allocations: 3.121 MB / 0.8717 GB, free: 1.488 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0003214/0.8706, allocations: 61.69 kB / 0.8718 GB, free: 1.422 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.872, allocations: 1.529 MB / 0.8733 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001441/0.8734, allocations: 1.487 MB / 0.8747 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/0.8747, allocations: 0.8843 MB / 0.8756 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8748, allocations: 306.9 kB / 0.8759 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002637/0.8775, allocations: 1.506 MB / 0.8774 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/0.8812, allocations: 2.696 MB / 0.88 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1846/1.066, allocations: 25.82 MB / 0.9052 GB, free: 14.6 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-05/1.066, allocations: 12 kB / 0.9052 GB, free: 14.59 MB / 0.6857 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.009972/1.076, allocations: 5.165 MB / 0.9103 GB, free: 9.375 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/1.076, allocations: 149.3 kB / 0.9104 GB, free: 9.207 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006783/1.083, allocations: 3.884 MB / 0.9142 GB, free: 5.273 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/1.083, allocations: 100.8 kB / 0.9143 GB, free: 5.172 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003255/1.086, allocations: 1.133 MB / 0.9154 GB, free: 4.043 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/1.088, allocations: 1.422 MB / 0.9168 GB, free: 2.508 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/1.09, allocations: 456.5 kB / 0.9172 GB, free: 2.059 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000474/1.091, allocations: 291.8 kB / 0.9175 GB, free: 1.773 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.004063/1.095, allocations: 2.179 MB / 0.9196 GB, free: 15.59 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003613/1.098, allocations: 2.689 MB / 0.9223 GB, free: 12.36 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.181/1.279, allocations: 25.7 MB / 0.9474 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.063e-05/1.279, allocations: 8 kB / 0.9474 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01023/1.289, allocations: 5.126 MB / 0.9524 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/1.29, allocations: 150.8 kB / 0.9525 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006675/1.296, allocations: 3.835 MB / 0.9563 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002221/1.296, allocations: 88.83 kB / 0.9564 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/1.3, allocations: 1.127 MB / 0.9575 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/1.301, allocations: 1.392 MB / 0.9588 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/1.303, allocations: 389.2 kB / 0.9592 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004908/1.304, allocations: 295.8 kB / 0.9595 GB, free: 5.391 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.001277/1.305, allocations: 0.5809 MB / 0.96 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.306, allocations: 429 kB / 0.9604 GB, free: 4.367 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.009642/1.316, allocations: 5.469 MB / 0.9658 GB, free: 15.04 MB / 0.7482 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.395080861999304] Failed to read output from testmodel.py, exit status != 0: 1.5057064989996434 1.814455908 1.041550987 Calling exit ...