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.01032/0.01032, allocations: 1.76 MB / 21.38 MB, free: 0.5625 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.001217/0.001217, allocations: 108.1 kB / 24.98 MB, free: 2.164 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.001519/0.001519, allocations: 211.2 kB / 28.71 MB, free: 3.438 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.475/1.475, allocations: 230.6 MB / 262.9 MB, free: 6.023 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.032/1.032, allocations: 130.7 MB / 450.4 MB, free: 6.809 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.04285/0.04285, allocations: 20.6 MB / 0.6363 GB, free: 5.383 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.2158, allocations: 81.91 MB / 0.7163 GB, free: 3.379 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.4559/0.6716, allocations: 49.92 MB / 0.7651 GB, free: 17.64 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0264/0.698, allocations: 20.05 MB / 0.7846 GB, free: 3.371 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004183/0.7022, allocations: 92 kB / 0.7847 GB, free: 3.328 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005288/0.7075, allocations: 1.935 MB / 0.7866 GB, free: 2.453 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007806/0.7153, allocations: 2.417 MB / 0.789 GB, free: 1.043 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007889/0.7232, allocations: 2.727 MB / 0.7916 GB, free: 15.43 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01093/0.7341, allocations: 5.664 MB / 0.7972 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003379/0.7375, allocations: 1.52 MB / 0.7987 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005024/0.7425, allocations: 2.347 MB / 0.8009 GB, free: 9.688 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005055/0.7476, allocations: 2.554 MB / 0.8034 GB, free: 8.094 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001352/0.7489, allocations: 364.3 kB / 0.8038 GB, free: 8.094 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006614/0.7556, allocations: 2.579 MB / 0.8063 GB, free: 6.781 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001982/0.7575, allocations: 1.171 MB / 0.8075 GB, free: 5.902 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.00417/0.7617, allocations: 2.105 MB / 0.8095 GB, free: 3.828 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.7763, allocations: 6.84 MB / 0.8162 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.7763, allocations: 0 / 0.8162 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7763, allocations: 0 / 0.8162 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002698/0.7766, allocations: 2.719 kB / 0.8162 GB, free: 12.96 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.01169/0.7883, allocations: 4.862 MB / 0.8209 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.7883, allocations: 8.031 kB / 0.8209 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.753e-05/0.7884, allocations: 60.23 kB / 0.821 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004878/0.7889, allocations: 386.7 kB / 0.8214 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.7906, allocations: 0.5743 MB / 0.8219 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007301/0.7979, allocations: 3.603 MB / 0.8255 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.798, allocations: 152 kB / 0.8256 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/0.7984, allocations: 204 kB / 0.8258 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.8091, allocations: 4.852 MB / 0.8305 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.182e-05/0.8092, allocations: 27.75 kB / 0.8306 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.8094, allocations: 100 kB / 0.8306 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.506e-05/0.8095, allocations: 74.84 kB / 0.8307 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009293/0.8188, allocations: 3.535 MB / 0.8342 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02137/0.8401, allocations: 21.24 MB / 0.8549 GB, free: 3.887 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008564/0.8487, allocations: 3.047 MB / 0.8579 GB, free: 0.7422 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/0.8508, allocations: 1.083 MB / 0.859 GB, free: 15.62 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004405/0.8512, allocations: 155.6 kB / 0.8591 GB, free: 15.47 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007796/0.859, allocations: 2.944 MB / 0.862 GB, free: 12.44 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 6.813e-06/0.859, allocations: 0 / 0.862 GB, free: 12.44 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.01867/0.8777, allocations: 6.745 MB / 0.8686 GB, free: 5.656 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00042/0.8781, allocations: 0.801 MB / 0.8693 GB, free: 4.668 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005461/0.8836, allocations: 3.127 MB / 0.8724 GB, free: 1.555 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0003831/0.884, allocations: 57.7 kB / 0.8725 GB, free: 1.492 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001463/0.8854, allocations: 1.527 MB / 0.8739 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001575/0.887, allocations: 1.487 MB / 0.8754 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001765/0.8888, allocations: 0.8882 MB / 0.8763 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.8889, allocations: 303.8 kB / 0.8766 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/0.8918, allocations: 1.499 MB / 0.878 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003922/0.8957, allocations: 2.707 MB / 0.8807 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.183/1.079, allocations: 25.82 MB / 0.9059 GB, free: 14.66 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-05/1.079, allocations: 8 kB / 0.9059 GB, free: 14.65 MB / 0.6857 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01238/1.091, allocations: 5.164 MB / 0.9109 GB, free: 9.438 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/1.091, allocations: 150.8 kB / 0.9111 GB, free: 9.266 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008252/1.099, allocations: 3.89 MB / 0.9149 GB, free: 5.336 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003989/1.1, allocations: 96.83 kB / 0.915 GB, free: 5.238 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00374/1.104, allocations: 1.134 MB / 0.9161 GB, free: 4.105 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/1.105, allocations: 1.415 MB / 0.9175 GB, free: 2.574 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/1.108, allocations: 456.7 kB / 0.9179 GB, free: 2.125 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008101/1.109, allocations: 299.8 kB / 0.9182 GB, free: 1.832 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.005041/1.114, allocations: 2.181 MB / 0.9203 GB, free: 15.64 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004264/1.118, allocations: 2.684 MB / 0.9229 GB, free: 12.42 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1836/1.302, allocations: 25.7 MB / 0.948 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.303e-05/1.302, allocations: 12 kB / 0.948 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01217/1.314, allocations: 5.119 MB / 0.953 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/1.314, allocations: 150.8 kB / 0.9532 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007836/1.322, allocations: 3.835 MB / 0.9569 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/1.322, allocations: 92.84 kB / 0.957 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003637/1.326, allocations: 1.127 MB / 0.9581 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/1.327, allocations: 1.392 MB / 0.9595 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/1.33, allocations: 387.5 kB / 0.9598 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007314/1.331, allocations: 291.8 kB / 0.9601 GB, free: 5.473 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.001534/1.332, allocations: 0.5838 MB / 0.9607 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/1.334, allocations: 429 kB / 0.9611 GB, free: 4.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.01094/1.345, allocations: 5.473 MB / 0.9664 GB, free: 15.1 MB / 0.7482 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.402877243002877] Failed to read output from testmodel.py, exit status != 0: 1.5121454040054232 1.785965452 1.006410527 Calling exit ...