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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.00899/0.00899, allocations: 1.769 MB / 20.61 MB, free: 3.875 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.08951/0.08951, allocations: 25.6 MB / 49.71 MB, free: 2.918 MB / 33.03 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.0009946/0.0009946, allocations: 103.6 kB / 60.65 MB, free: 3.023 MB / 44.04 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.001265/0.001265, allocations: 224.7 kB / 71.72 MB, free: 6.48 MB / 44.04 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 0.9856/0.9856, allocations: 230.6 MB / 313.3 MB, free: 11.79 MB / 234.7 MB " [Timeout remaining time 179] 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 0.7739/0.7739, allocations: 130.7 MB / 0.4963 GB, free: 2.191 MB / 362.8 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="me_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: 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: 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: Performance of FrontEnd - loaded program: time 0.004293/0.004293, allocations: 152.5 kB / 0.69 GB, free: 47.08 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1755, allocations: 89.27 MB / 0.7772 GB, free: 3.035 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves): time 0.01191/0.1874, allocations: 15.36 MB / 0.7922 GB, free: 3.602 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02016/0.2075, allocations: 17.91 MB / 0.8097 GB, free: 1.629 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002594/0.2101, allocations: 99.25 kB / 0.8098 GB, free: 1.531 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.2134, allocations: 1.672 MB / 0.8114 GB, free: 15.85 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.003817/0.2172, allocations: 2.109 MB / 0.8135 GB, free: 13.73 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004145/0.2213, allocations: 2.665 MB / 0.8161 GB, free: 11.06 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.005603/0.2269, allocations: 5.636 MB / 0.8216 GB, free: 5.406 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.2289, allocations: 1.649 MB / 0.8232 GB, free: 3.715 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/0.2315, allocations: 2.347 MB / 0.8255 GB, free: 1.359 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.2338, allocations: 2.299 MB / 0.8278 GB, free: 15.05 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.0005536/0.2344, allocations: 360 kB / 0.8281 GB, free: 14.7 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.2368, allocations: 1.329 MB / 0.8294 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.001163/0.2379, allocations: 1.167 MB / 0.8305 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.2394, allocations: 1.616 MB / 0.8321 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.005985/0.2454, allocations: 6.308 MB / 0.8383 GB, free: 4.242 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2454, allocations: 0 / 0.8383 GB, free: 4.242 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.956e-06/0.2454, allocations: 4 kB / 0.8383 GB, free: 4.238 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.967e-05/0.2455, allocations: 7.938 kB / 0.8383 GB, free: 4.23 MB / 0.6043 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.004418/0.2499, allocations: 4.638 MB / 0.8428 GB, free: 15.52 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.2499, allocations: 8.031 kB / 0.8428 GB, free: 15.52 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003121/0.2502, allocations: 411.8 kB / 0.8432 GB, free: 15.1 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008909/0.2511, allocations: 0.5874 MB / 0.8438 GB, free: 14.51 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00402/0.2552, allocations: 3.664 MB / 0.8474 GB, free: 10.78 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-05/0.2552, allocations: 164.9 kB / 0.8475 GB, free: 10.62 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.2554, allocations: 216.4 kB / 0.8477 GB, free: 10.41 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00617/0.2616, allocations: 5.869 MB / 0.8535 GB, free: 3.512 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.673e-05/0.2616, allocations: 35.62 kB / 0.8535 GB, free: 3.477 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.2618, allocations: 116 kB / 0.8536 GB, free: 3.363 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.2618, allocations: 83.98 kB / 0.8537 GB, free: 3.281 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005122/0.267, allocations: 3.471 MB / 0.8571 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01303/0.28, allocations: 25.33 MB / 0.8818 GB, free: 5.488 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004633/0.2846, allocations: 2.808 MB / 0.8846 GB, free: 2.543 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009173/0.2855, allocations: 0.8354 MB / 0.8854 GB, free: 1.66 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.2858, allocations: 105.1 kB / 0.8855 GB, free: 1.555 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.2859, allocations: 71.73 kB / 0.8855 GB, free: 1.477 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=427): time 4.328e-06/0.2859, allocations: 0 / 0.8855 GB, free: 1.477 MB / 0.6512 GB Notification: Performance of matching and sorting (n=427): time 0.009562/0.2954, allocations: 5.553 MB / 0.891 GB, free: 11.89 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002024/0.2956, allocations: 0.6098 MB / 0.8916 GB, free: 11.14 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003606/0.2992, allocations: 3.393 MB / 0.8949 GB, free: 7.727 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.2994, allocations: 57.64 kB / 0.8949 GB, free: 7.664 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008463/0.3002, allocations: 1.665 MB / 0.8966 GB, free: 5.984 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008366/0.301, allocations: 1.452 MB / 0.898 GB, free: 4.52 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009865/0.302, allocations: 0.9792 MB / 0.8989 GB, free: 3.531 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 7.743e-05/0.3021, allocations: 301.1 kB / 0.8992 GB, free: 3.234 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.3038, allocations: 1.291 MB / 0.9005 GB, free: 1.934 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.35/0.6538, allocations: 3.183 MB / 0.9036 GB, free: 114.7 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007628/0.6614, allocations: 6.236 MB / 0.9097 GB, free: 111.6 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.884e-05/0.6614, allocations: 15.81 kB / 0.9097 GB, free: 111.6 MB / 0.6668 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.007129/0.6686, allocations: 4.806 MB / 0.9144 GB, free: 109.8 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.6686, allocations: 29.16 kB / 0.9144 GB, free: 109.8 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00426/0.6729, allocations: 2.953 MB / 0.9173 GB, free: 108.7 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.6731, allocations: 118.1 kB / 0.9174 GB, free: 108.7 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/0.6755, allocations: 1.248 MB / 0.9186 GB, free: 108.6 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008752/0.6763, allocations: 1.431 MB / 0.92 GB, free: 107.3 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.6782, allocations: 0.5347 MB / 0.9205 GB, free: 107.2 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000478/0.6787, allocations: 329.8 kB / 0.9209 GB, free: 107.1 MB / 0.6668 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.003119/0.6818, allocations: 1.969 MB / 0.9228 GB, free: 106.2 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002355/0.6842, allocations: 3.176 MB / 0.9259 GB, free: 103.2 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006526/0.6907, allocations: 6.2 MB / 0.9319 GB, free: 98.88 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.527e-05/0.6907, allocations: 19.94 kB / 0.932 GB, free: 98.88 MB / 0.6668 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.005677/0.6964, allocations: 4.788 MB / 0.9366 GB, free: 96.94 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.6964, allocations: 29.03 kB / 0.9367 GB, free: 96.94 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003107/0.6995, allocations: 2.948 MB / 0.9395 GB, free: 95.16 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.6996, allocations: 112.1 kB / 0.9397 GB, free: 95.06 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.7014, allocations: 1.255 MB / 0.9409 GB, free: 94 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005724/0.7019, allocations: 1.429 MB / 0.9423 GB, free: 92.5 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.7034, allocations: 419.2 kB / 0.9427 GB, free: 92.19 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/0.7036, allocations: 329.7 kB / 0.943 GB, free: 91.92 MB / 0.6668 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.001229/0.7049, allocations: 499.9 kB / 0.9435 GB, free: 91.46 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006177/0.7055, allocations: 439 kB / 0.9439 GB, free: 91.03 MB / 0.6668 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 1.9.0-ClaRa/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.004473/0.7099, allocations: 4.91 MB / 0.9487 GB, free: 86.84 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.9999313168227673]