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.01535/0.01535, allocations: 1.751 MB / 21.35 MB, free: 356 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.00198/0.00198, allocations: 105.2 kB / 24.93 MB, free: 2.031 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.002851/0.002851, allocations: 212.6 kB / 28.65 MB, free: 3.297 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.547/1.547, allocations: 230.6 MB / 262.8 MB, free: 5.836 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.172/1.172, allocations: 130.7 MB / 450.4 MB, free: 6.406 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: translateModel(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20036,variableFilter="Time|volumeVLE_2_1.h|volumeVLE_2_1.p",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20036,variableFilter="Time|volumeVLE_2_1.h|volumeVLE_2_1.p",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1") [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.06975/0.06975, allocations: 20.99 MB / 0.6371 GB, free: 4.234 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.2679, allocations: 81.9 MB / 0.717 GB, free: 2.23 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.619/0.8869, allocations: 47.9 MB / 0.7638 GB, free: 19.2 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03178/0.9186, allocations: 19.15 MB / 0.7825 GB, free: 5.895 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007494/0.9261, allocations: 93.53 kB / 0.7826 GB, free: 5.852 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.006839/0.933, allocations: 1.86 MB / 0.7844 GB, free: 5.039 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.008959/0.9419, allocations: 2.419 MB / 0.7868 GB, free: 3.633 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007595/0.9495, allocations: 2.724 MB / 0.7894 GB, free: 1.875 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01093/0.9605, allocations: 5.665 MB / 0.795 GB, free: 14.56 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003741/0.9642, allocations: 1.639 MB / 0.7966 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005614/0.9698, allocations: 2.347 MB / 0.7989 GB, free: 12.01 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005635/0.9755, allocations: 2.401 MB / 0.8012 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001416/0.9769, allocations: 363.9 kB / 0.8016 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007001/0.9839, allocations: 1.941 MB / 0.8035 GB, free: 9.703 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002143/0.986, allocations: 1.167 MB / 0.8046 GB, free: 8.543 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003798/0.9898, allocations: 1.621 MB / 0.8062 GB, free: 6.914 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01398/1.004, allocations: 6.731 MB / 0.8128 GB, free: 164 kB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.004, allocations: 0 / 0.8128 GB, free: 164 kB / 0.5763 GB Notification: Performance of FrontEnd: time 2.364e-06/1.004, allocations: 3.938 kB / 0.8128 GB, free: 160 kB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001555/1.004, allocations: 0 / 0.8128 GB, free: 160 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.009515/1.013, allocations: 4.858 MB / 0.8175 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.014, allocations: 8.031 kB / 0.8175 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/1.015, allocations: 0.5782 MB / 0.8181 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007785/1.023, allocations: 3.601 MB / 0.8216 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/1.023, allocations: 160.2 kB / 0.8217 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003578/1.024, allocations: 200 kB / 0.8219 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01218/1.036, allocations: 5.531 MB / 0.8273 GB, free: 332 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-05/1.036, allocations: 27.75 kB / 0.8274 GB, free: 304 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/1.036, allocations: 100 kB / 0.8275 GB, free: 204 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.453e-05/1.036, allocations: 71.98 kB / 0.8275 GB, free: 132 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009826/1.046, allocations: 3.639 MB / 0.8311 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02566/1.072, allocations: 19.9 MB / 0.8505 GB, free: 7.887 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00903/1.081, allocations: 3.163 MB / 0.8536 GB, free: 4.59 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/1.083, allocations: 1.204 MB / 0.8548 GB, free: 3.328 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004323/1.083, allocations: 137.1 kB / 0.8549 GB, free: 3.195 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008046/1.091, allocations: 3.081 MB / 0.8579 GB, free: 15.99 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 6.262e-06/1.091, allocations: 2.625 kB / 0.8579 GB, free: 15.99 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.01968/1.111, allocations: 6.991 MB / 0.8647 GB, free: 8.91 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005687/1.112, allocations: 0.8049 MB / 0.8655 GB, free: 7.918 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005451/1.117, allocations: 3.123 MB / 0.8686 GB, free: 4.801 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0005975/1.118, allocations: 61.64 kB / 0.8686 GB, free: 4.734 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001572/1.119, allocations: 1.538 MB / 0.8701 GB, free: 3.184 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002022/1.121, allocations: 1.489 MB / 0.8716 GB, free: 1.684 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/1.123, allocations: 0.8882 MB / 0.8725 GB, free: 0.7852 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.123, allocations: 305.1 kB / 0.8728 GB, free: 496 kB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002905/1.126, allocations: 1.627 MB / 0.8743 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004237/1.13, allocations: 2.995 MB / 0.8773 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.179/1.309, allocations: 25.85 MB / 0.9025 GB, free: 1.512 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-05/1.309, allocations: 12 kB / 0.9025 GB, free: 1.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01246/1.322, allocations: 5.311 MB / 0.9077 GB, free: 12.12 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002913/1.322, allocations: 150.8 kB / 0.9079 GB, free: 11.95 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008391/1.33, allocations: 4.038 MB / 0.9118 GB, free: 7.832 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004039/1.331, allocations: 101.3 kB / 0.9119 GB, free: 7.73 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003624/1.334, allocations: 1.127 MB / 0.913 GB, free: 6.602 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/1.336, allocations: 1.391 MB / 0.9144 GB, free: 5.113 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/1.339, allocations: 446.6 kB / 0.9148 GB, free: 4.676 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005629/1.34, allocations: 303.9 kB / 0.9151 GB, free: 4.379 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.004865/1.345, allocations: 2.307 MB / 0.9173 GB, free: 2.043 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004442/1.349, allocations: 2.988 MB / 0.9202 GB, free: 14.45 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1778/1.527, allocations: 25.73 MB / 0.9454 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.377e-05/1.527, allocations: 8 kB / 0.9454 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01117/1.538, allocations: 5.275 MB / 0.9505 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/1.538, allocations: 156.7 kB / 0.9507 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007302/1.545, allocations: 3.984 MB / 0.9546 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/1.546, allocations: 99.39 kB / 0.9547 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/1.549, allocations: 1.119 MB / 0.9558 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/1.55, allocations: 1.376 MB / 0.9571 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002985/1.553, allocations: 377.4 kB / 0.9575 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005566/1.554, allocations: 291.8 kB / 0.9577 GB, free: 7.145 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.001592/1.556, allocations: 0.5951 MB / 0.9583 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/1.557, allocations: 424 kB / 0.9587 GB, free: 6.109 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.00998/1.567, allocations: 5.488 MB / 0.9641 GB, free: 0.7578 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.167325187008828] Failed to read output from testmodel.py, exit status != 0: 1.785434011835605 2.21131801 1.203709533 Calling exit ...