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 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.00897/0.00897, allocations: 1.77 MB / 20.62 MB, free: 3.859 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.08254/0.08254, allocations: 25.6 MB / 49.71 MB, free: 2.965 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.0009691/0.0009691, allocations: 122.1 kB / 60.66 MB, free: 3.008 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.001306/0.001306, allocations: 214.4 kB / 71.72 MB, free: 6.488 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.974/0.974, allocations: 230.6 MB / 313.3 MB, free: 11.78 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.8175/0.8175, allocations: 130.8 MB / 0.4964 GB, free: 2.359 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-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 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_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_dev_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.003013/0.003013, allocations: 161.3 kB / 0.6901 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.15, allocations: 89.26 MB / 0.7773 GB, free: 3.078 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves): time 0.0124/0.1624, allocations: 15.37 MB / 0.7923 GB, free: 3.637 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02033/0.1827, allocations: 17.9 MB / 0.8098 GB, free: 1.676 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/0.1849, allocations: 103.2 kB / 0.8099 GB, free: 1.574 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003894/0.1888, allocations: 1.666 MB / 0.8115 GB, free: 15.89 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.004404/0.1932, allocations: 2.101 MB / 0.8136 GB, free: 13.78 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004634/0.1978, allocations: 2.682 MB / 0.8162 GB, free: 11.1 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.005337/0.2032, allocations: 5.635 MB / 0.8217 GB, free: 5.449 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.2046, allocations: 1.649 MB / 0.8233 GB, free: 3.758 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.2063, allocations: 2.35 MB / 0.8256 GB, free: 1.398 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002048/0.2083, allocations: 2.297 MB / 0.8279 GB, free: 15.09 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.0003647/0.2087, allocations: 360 kB / 0.8282 GB, free: 14.74 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.2111, allocations: 1.322 MB / 0.8295 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0006609/0.2117, allocations: 1.171 MB / 0.8306 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.000969/0.2127, allocations: 1.612 MB / 0.8322 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.004822/0.2175, allocations: 6.319 MB / 0.8384 GB, free: 4.273 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2175, allocations: 0 / 0.8384 GB, free: 4.273 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2175, allocations: 0 / 0.8384 GB, free: 4.273 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 0.0001758/0.2177, allocations: 0 / 0.8384 GB, free: 4.273 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.006077/0.2238, allocations: 4.642 MB / 0.8429 GB, free: 15.56 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2238, allocations: 16.03 kB / 0.8429 GB, free: 15.55 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003236/0.2241, allocations: 403.8 kB / 0.8433 GB, free: 15.14 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009953/0.2251, allocations: 0.5873 MB / 0.8439 GB, free: 14.55 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00419/0.2293, allocations: 3.656 MB / 0.8475 GB, free: 10.83 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.044e-05/0.2294, allocations: 164.9 kB / 0.8476 GB, free: 10.67 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.2296, allocations: 220.4 kB / 0.8478 GB, free: 10.45 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006372/0.236, allocations: 5.865 MB / 0.8535 GB, free: 3.562 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.359e-05/0.236, allocations: 39.62 kB / 0.8536 GB, free: 3.523 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.2362, allocations: 123.9 kB / 0.8537 GB, free: 3.402 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.502e-05/0.2362, allocations: 83.98 kB / 0.8538 GB, free: 3.32 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005237/0.2415, allocations: 3.471 MB / 0.8572 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/0.2541, allocations: 25.32 MB / 0.8819 GB, free: 5.535 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004718/0.2589, allocations: 2.808 MB / 0.8846 GB, free: 2.59 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009558/0.2598, allocations: 0.8392 MB / 0.8855 GB, free: 1.703 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.26, allocations: 113.1 kB / 0.8856 GB, free: 1.59 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.26, allocations: 71.75 kB / 0.8856 GB, free: 1.512 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=427): time 2.946e-06/0.26, allocations: 0 / 0.8856 GB, free: 1.512 MB / 0.6512 GB Notification: Performance of matching and sorting (n=427): time 0.009617/0.2697, allocations: 5.553 MB / 0.8911 GB, free: 11.93 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001884/0.2699, allocations: 0.6062 MB / 0.8917 GB, free: 11.18 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/0.273, allocations: 3.404 MB / 0.895 GB, free: 7.754 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.2731, allocations: 49.7 kB / 0.895 GB, free: 7.699 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007921/0.2739, allocations: 1.658 MB / 0.8966 GB, free: 6.027 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007284/0.2746, allocations: 1.456 MB / 0.8981 GB, free: 4.559 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000877/0.2755, allocations: 0.9753 MB / 0.899 GB, free: 3.574 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 6.452e-05/0.2756, allocations: 305.1 kB / 0.8993 GB, free: 3.273 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.2771, allocations: 1.295 MB / 0.9006 GB, free: 1.969 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3511/0.6282, allocations: 3.178 MB / 0.9037 GB, free: 115.1 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008964/0.6372, allocations: 6.223 MB / 0.9098 GB, free: 111.7 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.031e-05/0.6372, allocations: 17.64 kB / 0.9098 GB, free: 111.7 MB / 0.6668 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.009263/0.6465, allocations: 4.813 MB / 0.9145 GB, free: 109.9 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.6466, allocations: 28.14 kB / 0.9145 GB, free: 109.9 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005497/0.6521, allocations: 2.954 MB / 0.9174 GB, free: 108.8 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003642/0.6524, allocations: 114.5 kB / 0.9175 GB, free: 108.7 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/0.6555, allocations: 1.249 MB / 0.9187 GB, free: 108.6 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.6565, allocations: 1.436 MB / 0.9201 GB, free: 107.3 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002948/0.6595, allocations: 0.5338 MB / 0.9206 GB, free: 107.2 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009466/0.6604, allocations: 324.2 kB / 0.9209 GB, free: 107.2 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.004022/0.6644, allocations: 1.98 MB / 0.9229 GB, free: 106.2 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002965/0.6674, allocations: 3.174 MB / 0.926 GB, free: 103.2 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008082/0.6755, allocations: 6.2 MB / 0.932 GB, free: 98.93 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.781e-05/0.6755, allocations: 19.72 kB / 0.9321 GB, free: 98.93 MB / 0.6668 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.008491/0.684, allocations: 4.794 MB / 0.9367 GB, free: 96.98 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.6841, allocations: 29.09 kB / 0.9368 GB, free: 96.98 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004138/0.6882, allocations: 2.928 MB / 0.9396 GB, free: 95.33 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.6884, allocations: 121.7 kB / 0.9397 GB, free: 95.21 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.6907, allocations: 1.252 MB / 0.941 GB, free: 94.16 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007624/0.6915, allocations: 1.434 MB / 0.9424 GB, free: 92.66 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/0.694, allocations: 420.7 kB / 0.9428 GB, free: 92.35 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006179/0.6947, allocations: 324.1 kB / 0.9431 GB, free: 92.08 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.001454/0.6961, allocations: 0.4887 MB / 0.9435 GB, free: 91.62 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/0.6972, allocations: 435 kB / 0.944 GB, free: 91.19 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.005385/0.7026, allocations: 4.916 MB / 0.9488 GB, free: 86.92 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.790469286032021]