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.01591/0.01591, allocations: 1.767 MB / 18.12 MB, free: 4.906 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.001286/0.001286, allocations: 99.72 kB / 21.35 MB, free: 1.699 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.00162/0.00162, allocations: 211.5 kB / 24.75 MB, free: 3.715 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.534/1.534, allocations: 230.6 MB / 258.5 MB, free: 13.12 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.12/1.12, allocations: 130.6 MB / 445.6 MB, free: 14.61 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",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: 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.464/0.464, allocations: 46.15 MB / 0.6545 GB, free: 30.3 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.6649, allocations: 89.06 MB / 0.7414 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves): time 0.02413/0.6891, allocations: 17.61 MB / 0.7586 GB, free: 1.035 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03706/0.7261, allocations: 18.32 MB / 0.7765 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005901/0.732, allocations: 107.2 kB / 0.7766 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.007646/0.7397, allocations: 1.705 MB / 0.7783 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.7507, allocations: 2.066 MB / 0.7803 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008295/0.759, allocations: 2.608 MB / 0.7829 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009868/0.7688, allocations: 5.661 MB / 0.7884 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003673/0.7725, allocations: 1.548 MB / 0.7899 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005142/0.7777, allocations: 2.339 MB / 0.7922 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004784/0.7824, allocations: 2.436 MB / 0.7946 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001658/0.7841, allocations: 360 kB / 0.7949 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00527/0.7894, allocations: 1.664 MB / 0.7965 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002584/0.792, allocations: 1.164 MB / 0.7977 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004566/0.7965, allocations: 2.113 MB / 0.7997 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.8091, allocations: 6.339 MB / 0.8059 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.8091, allocations: 0 / 0.8059 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8091, allocations: 0 / 0.8059 GB, free: 408 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002149/0.8094, allocations: 0 / 0.8059 GB, free: 408 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.01018/0.8195, allocations: 4.725 MB / 0.8105 GB, free: 11.59 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.8196, allocations: 8.031 kB / 0.8106 GB, free: 11.58 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005707/0.8202, allocations: 411.8 kB / 0.8109 GB, free: 11.16 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/0.822, allocations: 0.5873 MB / 0.8115 GB, free: 10.57 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007618/0.8296, allocations: 3.82 MB / 0.8152 GB, free: 6.695 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.8298, allocations: 172.8 kB / 0.8154 GB, free: 6.523 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/0.8301, allocations: 220.3 kB / 0.8156 GB, free: 6.309 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/0.8421, allocations: 5.238 MB / 0.8207 GB, free: 204 kB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.389e-05/0.8422, allocations: 43.56 kB / 0.8208 GB, free: 160 kB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.8424, allocations: 116 kB / 0.8209 GB, free: 44 kB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.8425, allocations: 80.05 kB / 0.821 GB, free: 15.96 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.8527, allocations: 3.49 MB / 0.8244 GB, free: 12.46 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02617/0.8788, allocations: 26.42 MB / 0.8502 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008905/0.8877, allocations: 2.822 MB / 0.8529 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/0.8896, allocations: 0.8277 MB / 0.8537 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000321/0.8899, allocations: 125 kB / 0.8539 GB, free: 13 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.258e-05/0.89, allocations: 67.81 kB / 0.8539 GB, free: 12.93 MB / 0.67 GB Notification: Performance of pre-optimization done (n=427): time 4.949e-06/0.89, allocations: 0 / 0.8539 GB, free: 12.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=427): time 0.01869/0.9087, allocations: 5.628 MB / 0.8594 GB, free: 7.25 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003626/0.909, allocations: 0.6098 MB / 0.86 GB, free: 6.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005669/0.9147, allocations: 3.312 MB / 0.8632 GB, free: 3.164 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006101/0.9153, allocations: 54.11 kB / 0.8633 GB, free: 3.105 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.9168, allocations: 1.662 MB / 0.8649 GB, free: 1.43 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.3933/1.31, allocations: 1.451 MB / 0.8663 GB, free: 117.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002376/1.312, allocations: 0.9698 MB / 0.8673 GB, free: 117.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.951e-05/1.313, allocations: 301.1 kB / 0.8676 GB, free: 117 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/1.315, allocations: 1.299 MB / 0.8688 GB, free: 116.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003181/1.318, allocations: 3.007 MB / 0.8718 GB, free: 114.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009915/1.328, allocations: 6.216 MB / 0.8779 GB, free: 111.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.619e-05/1.328, allocations: 16.06 kB / 0.8779 GB, free: 111.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.009803/1.338, allocations: 4.814 MB / 0.8826 GB, free: 109.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/1.338, allocations: 27.19 kB / 0.8826 GB, free: 109.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005832/1.344, allocations: 2.951 MB / 0.8855 GB, free: 108.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003942/1.344, allocations: 121.7 kB / 0.8856 GB, free: 108.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003874/1.348, allocations: 1.251 MB / 0.8868 GB, free: 108.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/1.349, allocations: 1.542 MB / 0.8883 GB, free: 107.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003425/1.353, allocations: 0.5383 MB / 0.8888 GB, free: 107.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007064/1.353, allocations: 323.8 kB / 0.8892 GB, free: 107.1 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.00441/1.358, allocations: 1.98 MB / 0.8911 GB, free: 106.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003934/1.362, allocations: 2.994 MB / 0.894 GB, free: 103.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01275/1.375, allocations: 6.19 MB / 0.9001 GB, free: 99.38 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002031/1.375, allocations: 17.06 kB / 0.9001 GB, free: 99.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.016/1.391, allocations: 4.792 MB / 0.9048 GB, free: 97.62 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.391, allocations: 31.02 kB / 0.9048 GB, free: 97.62 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007547/1.398, allocations: 2.936 MB / 0.9076 GB, free: 96.53 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004579/1.399, allocations: 121.5 kB / 0.9078 GB, free: 96.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004343/1.403, allocations: 1.25 MB / 0.909 GB, free: 96.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/1.405, allocations: 1.545 MB / 0.9105 GB, free: 94.94 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/1.409, allocations: 419.7 kB / 0.9109 GB, free: 94.74 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/1.41, allocations: 322.8 kB / 0.9112 GB, free: 94.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: 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.002124/1.412, allocations: 0.4931 MB / 0.9117 GB, free: 94.32 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001936/1.414, allocations: 433.4 kB / 0.9121 GB, free: 94.06 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.01057/1.424, allocations: 4.848 MB / 0.9168 GB, free: 92.04 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.184590825010673] Failed to read output from testmodel.py, exit status != 0: 1.4335874570097076 1.445191898 0.633033301 Calling exit ...