Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves.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.01015/0.01015, allocations: 1.771 MB / 18.83 MB, free: 4.332 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.001248/0.001248, allocations: 99.7 kB / 22.07 MB, free: 1.09 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.001753/0.001753, allocations: 206.7 kB / 25.45 MB, free: 2.797 MB / 14.72 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.499/1.499, allocations: 230.6 MB / 259.2 MB, free: 13.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.091/1.091, allocations: 130.5 MB / 446.3 MB, free: 14.9 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.VolumesValvesFittings.Valves.Check.TestThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|threeWayValveVLE_L2_1.h|threeWayValveVLE_L2_1.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves") translateModel(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|threeWayValveVLE_L2_1.h|threeWayValveVLE_L2_1.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves") [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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.409/0.409, allocations: 46.15 MB / 0.6556 GB, free: 30.66 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.5965, allocations: 89.04 MB / 0.7426 GB, free: 2.441 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves): time 0.01992/0.6164, allocations: 17.62 MB / 0.7598 GB, free: 0.7578 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02944/0.6459, allocations: 18.33 MB / 0.7777 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004371/0.6503, allocations: 103.2 kB / 0.7778 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005215/0.6555, allocations: 1.713 MB / 0.7795 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006816/0.6623, allocations: 2.062 MB / 0.7815 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006526/0.6688, allocations: 2.608 MB / 0.784 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008823/0.6776, allocations: 5.652 MB / 0.7896 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002759/0.6804, allocations: 1.548 MB / 0.7911 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003995/0.6844, allocations: 2.343 MB / 0.7934 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004395/0.6888, allocations: 2.434 MB / 0.7957 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007864/0.6896, allocations: 364 kB / 0.7961 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00384/0.6934, allocations: 1.66 MB / 0.7977 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.6947, allocations: 1.164 MB / 0.7988 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002651/0.6973, allocations: 2.11 MB / 0.8009 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009824/0.7072, allocations: 6.346 MB / 0.8071 GB, free: 120 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7072, allocations: 3.938 kB / 0.8071 GB, free: 116 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7072, allocations: 4 kB / 0.8071 GB, free: 112 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001479/0.7073, allocations: 0 / 0.8071 GB, free: 112 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 845 * Number of variables: 845 Notification: Performance of Generate backend data structure: time 0.008595/0.7159, allocations: 4.718 MB / 0.8117 GB, free: 11.3 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.716, allocations: 8.031 kB / 0.8117 GB, free: 11.3 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.7177, allocations: 0.5951 MB / 0.8123 GB, free: 10.7 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006814/0.7245, allocations: 3.819 MB / 0.816 GB, free: 6.82 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.7247, allocations: 168.9 kB / 0.8162 GB, free: 6.652 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003059/0.725, allocations: 220.3 kB / 0.8164 GB, free: 6.438 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.736, allocations: 5.242 MB / 0.8215 GB, free: 332 kB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.955e-05/0.736, allocations: 35.62 kB / 0.8216 GB, free: 296 kB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.7363, allocations: 116 kB / 0.8217 GB, free: 180 kB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.705e-05/0.7364, allocations: 83.94 kB / 0.8217 GB, free: 96 kB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009065/0.7454, allocations: 3.486 MB / 0.8251 GB, free: 12.59 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02328/0.7687, allocations: 26.42 MB / 0.8509 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008416/0.7771, allocations: 2.822 MB / 0.8537 GB, free: 14.14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.7787, allocations: 0.8277 MB / 0.8545 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.779, allocations: 125 kB / 0.8546 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.149e-05/0.7791, allocations: 67.75 kB / 0.8547 GB, free: 13.06 MB / 0.67 GB Notification: Performance of pre-optimization done (n=427): time 4.618e-06/0.7791, allocations: 0 / 0.8547 GB, free: 13.06 MB / 0.67 GB Notification: Performance of matching and sorting (n=427): time 0.01696/0.7961, allocations: 5.628 MB / 0.8602 GB, free: 7.383 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003477/0.7964, allocations: 0.6063 MB / 0.8608 GB, free: 6.637 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005294/0.8017, allocations: 3.315 MB / 0.864 GB, free: 3.297 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003624/0.8021, allocations: 53.7 kB / 0.8641 GB, free: 3.238 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001422/0.8035, allocations: 1.658 MB / 0.8657 GB, free: 1.566 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001624/0.8051, allocations: 1.464 MB / 0.8671 GB, free: 92 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.419/1.224, allocations: 0.9645 MB / 0.8681 GB, free: 116.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.904e-05/1.224, allocations: 302.4 kB / 0.8684 GB, free: 116.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002441/1.227, allocations: 1.297 MB / 0.8696 GB, free: 116.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003063/1.23, allocations: 3.007 MB / 0.8726 GB, free: 114.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009609/1.239, allocations: 6.212 MB / 0.8786 GB, free: 110.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.683e-05/1.239, allocations: 18.06 kB / 0.8786 GB, free: 110.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.009532/1.249, allocations: 4.817 MB / 0.8833 GB, free: 109.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.154e-05/1.249, allocations: 27.91 kB / 0.8834 GB, free: 109.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00561/1.255, allocations: 2.951 MB / 0.8863 GB, free: 108.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003659/1.255, allocations: 113.9 kB / 0.8864 GB, free: 108.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003734/1.259, allocations: 1.259 MB / 0.8876 GB, free: 108.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/1.26, allocations: 1.541 MB / 0.8891 GB, free: 106.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/1.263, allocations: 0.5305 MB / 0.8896 GB, free: 106.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000643/1.264, allocations: 331.5 kB / 0.8899 GB, free: 106.7 MB / 0.67 GB Warning: Assuming fixed start value for the following 2 variables: threeWayValveVLE_L2_1.h:VARIABLE(start = threeWayValveVLE_L2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) type: Real threeWayValveVLE_L2_1.p:VARIABLE(min = 0.0 start = threeWayValveVLE_L2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003961/1.268, allocations: 1.971 MB / 0.8919 GB, free: 105.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003417/1.271, allocations: 2.997 MB / 0.8948 GB, free: 103 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01094/1.282, allocations: 6.189 MB / 0.9008 GB, free: 99 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.855e-05/1.282, allocations: 17.98 kB / 0.9008 GB, free: 99 MB / 0.67 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01162/1.294, allocations: 4.788 MB / 0.9055 GB, free: 97.25 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.26e-05/1.294, allocations: 31.88 kB / 0.9055 GB, free: 97.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006845/1.301, allocations: 2.945 MB / 0.9084 GB, free: 96.15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000459/1.301, allocations: 114 kB / 0.9085 GB, free: 96.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004096/1.305, allocations: 1.256 MB / 0.9098 GB, free: 96.01 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/1.306, allocations: 1.542 MB / 0.9113 GB, free: 94.56 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003691/1.31, allocations: 415.8 kB / 0.9117 GB, free: 94.37 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.311, allocations: 331.9 kB / 0.912 GB, free: 94.32 MB / 0.67 GB Warning: Assuming fixed start value for the following 2 variables: threeWayValveVLE_L2_1.h:VARIABLE(start = threeWayValveVLE_L2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) type: Real threeWayValveVLE_L2_1.p:VARIABLE(min = 0.0 start = threeWayValveVLE_L2_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: 253 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (660): * Single equations (assignments): 659 * Array equations: 0 * Algorithm blocks: 0 * 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.001983/1.313, allocations: 499.5 kB / 0.9125 GB, free: 93.94 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001884/1.315, allocations: 439.8 kB / 0.9129 GB, free: 93.68 MB / 0.67 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 525 equation(s) and 506 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (pressureSink_ph1.fluidOut.VLE.d_l, pressureSink_ph1.fluidOut.VLE.h_l, pressureSink_ph1.fluidOut.VLE.p_l, pressureSink_ph1.fluidOut.VLE.s_l, pressureSink_ph1.fluidOut.VLE.T_l, _, pressureSink_ph1.fluidOut.VLE.d_v, pressureSink_ph1.fluidOut.VLE.h_v, pressureSink_ph1.fluidOut.VLE.p_v, pressureSink_ph1.fluidOut.VLE.s_v, pressureSink_ph1.fluidOut.VLE.T_v, _) = ($cse154, $cse155, $cse156, $cse157, $cse158, $cse159, $cse160, $cse161, $cse162, $cse163, $cse164, $cse165) has size 10 but 2 variables (massFlowSource_h.fluidOut.s, massFlowSource_h.eye_int[1].s) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/1.325, allocations: 4.839 MB / 0.9176 GB, free: 91.7 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.987907186965458] Failed to read output from testmodel.py, exit status != 0: 1.3342240109923296 1.343561918 0.633965749 Calling exit ...