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.01295/0.01295, allocations: 1.781 MB / 22.36 MB, free: 2.117 MB / 18.57 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.0009723/0.0009723, allocations: 79.33 kB / 26.19 MB, free: 6.078 MB / 18.57 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.0009879/0.0009879, allocations: 168.8 kB / 30.12 MB, free: 2.184 MB / 18.57 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.9833/0.9833, allocations: 177.2 MB / 211.1 MB, free: 3.426 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6138/0.6138, allocations: 102.4 MB / 370.6 MB, free: 188 kB / 330.7 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 1.0.0 (/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: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 471.2 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.874e-05, allocations: 2.312 kB / 471.2 MB, free: 18.83 MB / 410.8 MB 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves): time 0.1135/0.1136, allocations: 66.23 MB / 0.5249 GB, free: 5.371 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0209/0.1345, allocations: 18.19 MB / 0.5426 GB, free: 3.129 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003945/0.1384, allocations: 103.2 kB / 0.5427 GB, free: 3.027 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0033/0.1417, allocations: 1.685 MB / 0.5444 GB, free: 1.332 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003978/0.1457, allocations: 2.193 MB / 0.5465 GB, free: 15.12 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004687/0.1504, allocations: 2.724 MB / 0.5492 GB, free: 12.39 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.006405/0.1568, allocations: 5.795 MB / 0.5548 GB, free: 6.578 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002651/0.1594, allocations: 1.743 MB / 0.5565 GB, free: 4.793 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1158/0.2752, allocations: 48.58 MB / 0.604 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.2778, allocations: 1.814 MB / 0.6057 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004078/0.2782, allocations: 304 kB / 0.606 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.2803, allocations: 1.255 MB / 0.6073 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006545/0.281, allocations: 1.05 MB / 0.6083 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.2821, allocations: 1.184 MB / 0.6094 GB, free: 15.78 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004115/0.2862, allocations: 4.035 MB / 0.6134 GB, free: 11.73 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2863, allocations: 4 kB / 0.6134 GB, free: 11.73 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2863, allocations: 4 kB / 0.6134 GB, free: 11.73 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.253e-05/0.2863, allocations: 0 / 0.6134 GB, free: 11.73 MB / 0.5262 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.003934/0.2902, allocations: 4.612 MB / 0.6179 GB, free: 7.039 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2903, allocations: 8.031 kB / 0.6179 GB, free: 7.031 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/0.2909, allocations: 0.6461 MB / 0.6185 GB, free: 6.383 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.2933, allocations: 2.516 MB / 0.621 GB, free: 3.785 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-05/0.2934, allocations: 168.9 kB / 0.6211 GB, free: 3.617 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.2936, allocations: 232.3 kB / 0.6214 GB, free: 3.391 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005422/0.2991, allocations: 5.698 MB / 0.6269 GB, free: 12.36 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.235e-05/0.2991, allocations: 35.88 kB / 0.627 GB, free: 12.32 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.2993, allocations: 120.1 kB / 0.6271 GB, free: 12.21 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.474e-05/0.2993, allocations: 80 kB / 0.6272 GB, free: 12.13 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.303, allocations: 2.376 MB / 0.6295 GB, free: 9.73 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2516/0.5546, allocations: 35.33 MB / 0.664 GB, free: 84.8 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003551/0.5582, allocations: 2.091 MB / 0.666 GB, free: 84.27 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004184/0.5586, allocations: 490.8 kB / 0.6665 GB, free: 84.08 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.5588, allocations: 119.8 kB / 0.6666 GB, free: 84.08 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.5588, allocations: 77.73 kB / 0.6667 GB, free: 84.03 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=427): time 3.466e-06/0.5588, allocations: 0 / 0.6667 GB, free: 84.03 MB / 0.5574 GB Notification: Performance of matching and sorting (n=427): time 0.007543/0.5663, allocations: 4.297 MB / 0.6709 GB, free: 83.89 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.5664, allocations: 0.7596 MB / 0.6716 GB, free: 82.98 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.5684, allocations: 2.923 MB / 0.6745 GB, free: 82.61 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.5686, allocations: 60.66 kB / 0.6745 GB, free: 82.57 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007284/0.5693, allocations: 1.861 MB / 0.6763 GB, free: 81.89 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006262/0.5699, allocations: 1.477 MB / 0.6778 GB, free: 81.09 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008728/0.5708, allocations: 1.042 MB / 0.6788 GB, free: 80.98 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.909e-05/0.5708, allocations: 480.4 kB / 0.6793 GB, free: 80.52 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007009/0.5715, allocations: 0.5538 MB / 0.6798 GB, free: 80.47 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.573, allocations: 3.42 MB / 0.6831 GB, free: 76.88 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/0.576, allocations: 4.326 MB / 0.6874 GB, free: 73.8 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-05/0.576, allocations: 24.06 kB / 0.6874 GB, free: 73.8 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.003666/0.5797, allocations: 3.502 MB / 0.6908 GB, free: 73.47 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.5797, allocations: 28.25 kB / 0.6908 GB, free: 73.47 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002047/0.5817, allocations: 1.783 MB / 0.6926 GB, free: 73.36 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/0.5819, allocations: 115.8 kB / 0.6927 GB, free: 73.35 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.584, allocations: 1.25 MB / 0.6939 GB, free: 73.35 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006463/0.5846, allocations: 1.835 MB / 0.6957 GB, free: 71.65 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.586, allocations: 0.5097 MB / 0.6962 GB, free: 71.48 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003055/0.5863, allocations: 284 kB / 0.6965 GB, free: 71.48 MB / 0.5574 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.001273/0.5876, allocations: 0.7187 MB / 0.6972 GB, free: 71.34 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001967/0.5895, allocations: 3.41 MB / 0.7005 GB, free: 67.75 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003816/0.5933, allocations: 4.307 MB / 0.7047 GB, free: 64.68 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-05/0.5934, allocations: 19.44 kB / 0.7047 GB, free: 64.68 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.004341/0.5977, allocations: 3.505 MB / 0.7081 GB, free: 64.1 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.5977, allocations: 32.08 kB / 0.7082 GB, free: 64.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002353/0.6001, allocations: 1.774 MB / 0.7099 GB, free: 63.68 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.6003, allocations: 116 kB / 0.71 GB, free: 63.66 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.6022, allocations: 1.254 MB / 0.7112 GB, free: 63.46 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005614/0.6028, allocations: 1.833 MB / 0.713 GB, free: 61.73 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.604, allocations: 425.6 kB / 0.7134 GB, free: 61.51 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/0.6042, allocations: 284.1 kB / 0.7137 GB, free: 61.46 MB / 0.5574 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.000641/0.6049, allocations: 0.5743 MB / 0.7143 GB, free: 61.16 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006402/0.6055, allocations: 460.9 kB / 0.7147 GB, free: 60.92 MB / 0.5574 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.004425/0.6099, allocations: 4.408 MB / 0.719 GB, free: 59.37 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.356111170258373]