Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01337/0.01337, allocations: 1.775 MB / 18.82 MB, free: 4.246 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.001426/0.001426, allocations: 111.6 kB / 22.07 MB, free: 0.9922 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.001904/0.001904, allocations: 207 kB / 25.45 MB, free: 3.254 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.479/1.479, allocations: 230.6 MB / 259.3 MB, free: 13.14 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.086/1.086, allocations: 130.6 MB / 446.3 MB, free: 14.68 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.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",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: 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.4042/0.4042, allocations: 46.15 MB / 0.6552 GB, free: 30.47 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.6044, allocations: 89.05 MB / 0.7421 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves): time 0.02196/0.6263, allocations: 17.62 MB / 0.7593 GB, free: 1.031 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03216/0.6585, allocations: 18.32 MB / 0.7772 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005013/0.6635, allocations: 103.2 kB / 0.7773 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005668/0.6692, allocations: 1.709 MB / 0.779 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008227/0.6774, allocations: 2.062 MB / 0.781 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007436/0.6848, allocations: 2.623 MB / 0.7836 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01024/0.6951, allocations: 5.647 MB / 0.7891 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.6981, allocations: 1.551 MB / 0.7906 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004224/0.7023, allocations: 2.343 MB / 0.7929 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004688/0.707, allocations: 2.43 MB / 0.7953 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008052/0.7078, allocations: 360 kB / 0.7956 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004159/0.7119, allocations: 1.657 MB / 0.7972 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.7133, allocations: 1.16 MB / 0.7984 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002627/0.7159, allocations: 2.121 MB / 0.8004 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009815/0.7257, allocations: 6.343 MB / 0.8066 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.7257, allocations: 4 kB / 0.8066 GB, free: 404 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7257, allocations: 0 / 0.8066 GB, free: 404 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001333/0.7259, allocations: 0 / 0.8066 GB, free: 404 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.009255/0.7351, allocations: 4.718 MB / 0.8112 GB, free: 11.59 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.7352, allocations: 8.031 kB / 0.8112 GB, free: 11.58 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.407e-05/0.7353, allocations: 68.67 kB / 0.8113 GB, free: 11.51 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005431/0.7358, allocations: 411.7 kB / 0.8117 GB, free: 11.1 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.7377, allocations: 0.5951 MB / 0.8123 GB, free: 10.5 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007448/0.7451, allocations: 3.813 MB / 0.816 GB, free: 6.625 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.7453, allocations: 168.9 kB / 0.8162 GB, free: 6.457 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/0.7456, allocations: 224.1 kB / 0.8164 GB, free: 6.238 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.757, allocations: 5.238 MB / 0.8215 GB, free: 132 kB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.068e-05/0.7571, allocations: 35.69 kB / 0.8215 GB, free: 96 kB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/0.7574, allocations: 116 kB / 0.8216 GB, free: 15.98 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-05/0.7575, allocations: 83.94 kB / 0.8217 GB, free: 15.9 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009506/0.767, allocations: 3.486 MB / 0.8251 GB, free: 12.4 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02707/0.794, allocations: 26.43 MB / 0.8509 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008853/0.8029, allocations: 2.81 MB / 0.8537 GB, free: 13.94 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.8046, allocations: 0.8315 MB / 0.8545 GB, free: 13.06 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/0.8049, allocations: 121 kB / 0.8546 GB, free: 12.94 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.395e-05/0.805, allocations: 71.75 kB / 0.8547 GB, free: 12.86 MB / 0.67 GB Notification: Performance of pre-optimization done (n=427): time 5.16e-06/0.805, allocations: 0 / 0.8547 GB, free: 12.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=427): time 0.01749/0.8225, allocations: 5.628 MB / 0.8602 GB, free: 7.184 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004011/0.8229, allocations: 0.6136 MB / 0.8608 GB, free: 6.43 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005761/0.8287, allocations: 3.312 MB / 0.864 GB, free: 3.094 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003895/0.8291, allocations: 57.7 kB / 0.8641 GB, free: 3.031 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001552/0.8306, allocations: 1.658 MB / 0.8657 GB, free: 1.359 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.369/1.2, allocations: 1.451 MB / 0.8671 GB, free: 117.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/1.201, allocations: 0.9744 MB / 0.868 GB, free: 117.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.674e-05/1.201, allocations: 308.8 kB / 0.8683 GB, free: 116.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/1.204, allocations: 1.292 MB / 0.8696 GB, free: 116.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002881/1.207, allocations: 3.005 MB / 0.8725 GB, free: 114.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00924/1.216, allocations: 6.209 MB / 0.8786 GB, free: 111.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.37e-05/1.216, allocations: 17.72 kB / 0.8786 GB, free: 111.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.009272/1.225, allocations: 4.814 MB / 0.8833 GB, free: 109.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/1.225, allocations: 32.34 kB / 0.8834 GB, free: 109.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005583/1.231, allocations: 2.953 MB / 0.8862 GB, free: 108.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003485/1.231, allocations: 117.5 kB / 0.8863 GB, free: 108.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003626/1.235, allocations: 1.256 MB / 0.8876 GB, free: 108.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/1.236, allocations: 1.542 MB / 0.8891 GB, free: 107.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003264/1.239, allocations: 0.5288 MB / 0.8896 GB, free: 107 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000584/1.24, allocations: 331.5 kB / 0.8899 GB, free: 107 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.004038/1.244, allocations: 1.973 MB / 0.8918 GB, free: 106.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003992/1.248, allocations: 3 MB / 0.8948 GB, free: 103.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01099/1.259, allocations: 6.187 MB / 0.9008 GB, free: 99.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.315e-05/1.259, allocations: 19.77 kB / 0.9008 GB, free: 99.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01054/1.269, allocations: 4.792 MB / 0.9055 GB, free: 97.51 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/1.269, allocations: 30.28 kB / 0.9055 GB, free: 97.51 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005532/1.275, allocations: 2.946 MB / 0.9084 GB, free: 96.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002748/1.275, allocations: 113.7 kB / 0.9085 GB, free: 96.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003453/1.279, allocations: 1.254 MB / 0.9097 GB, free: 96.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009336/1.28, allocations: 1.535 MB / 0.9112 GB, free: 94.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/1.282, allocations: 421.8 kB / 0.9116 GB, free: 94.63 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005116/1.283, allocations: 326.2 kB / 0.912 GB, free: 94.59 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.001448/1.284, allocations: 0.493 MB / 0.9124 GB, free: 94.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/1.286, allocations: 435.9 kB / 0.9129 GB, free: 93.95 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.00773/1.293, allocations: 4.847 MB / 0.9176 GB, free: 91.94 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.878256230033003] Failed to read output from testmodel.py, exit status != 0: 1.3007051090244204 1.3095090489999999 0.581522246 Calling exit ...