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.008728/0.008728, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.000871/0.000871, allocations: 85.2 kB / 25.62 MB, free: 6.992 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.0009754/0.0009754, allocations: 171.1 kB / 29.46 MB, free: 3.191 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.9275/0.9275, allocations: 177.2 MB / 210.3 MB, free: 3.594 MB / 186.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.5938/0.5938, allocations: 102.4 MB / 369.8 MB, free: 400 kB / 330.7 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 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_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_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 469.9 MB, free: 18.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.772e-05, allocations: 3.562 kB / 469.9 MB, free: 18.96 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.111/0.1111, allocations: 66.62 MB / 0.5239 GB, free: 5.668 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01786/0.1289, allocations: 18.23 MB / 0.5417 GB, free: 3.379 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.13, allocations: 99.25 kB / 0.5418 GB, free: 3.281 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.1324, allocations: 1.683 MB / 0.5435 GB, free: 1.59 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.1347, allocations: 2.17 MB / 0.5456 GB, free: 15.41 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004867/0.1395, allocations: 2.716 MB / 0.5482 GB, free: 12.68 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.006204/0.1457, allocations: 5.822 MB / 0.5539 GB, free: 6.848 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.1482, allocations: 1.739 MB / 0.5556 GB, free: 5.066 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004953/0.1532, allocations: 3.168 MB / 0.5587 GB, free: 1.891 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002915/0.1561, allocations: 1.974 MB / 0.5606 GB, free: 15.91 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0009093/0.157, allocations: 360 kB / 0.561 GB, free: 15.56 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.1597, allocations: 1.337 MB / 0.5623 GB, free: 14.22 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.161, allocations: 1.191 MB / 0.5635 GB, free: 13.02 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001968/0.1629, allocations: 1.289 MB / 0.5647 GB, free: 11.73 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0063/0.1692, allocations: 4.195 MB / 0.5688 GB, free: 7.52 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.1693, allocations: 4 kB / 0.5688 GB, free: 7.516 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1693, allocations: 0 / 0.5688 GB, free: 7.516 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001197/0.1694, allocations: 0 / 0.5688 GB, free: 7.516 MB / 490.8 MB 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.005707/0.1751, allocations: 4.835 MB / 0.5735 GB, free: 2.605 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1751, allocations: 8.031 kB / 0.5735 GB, free: 2.598 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.1763, allocations: 0.767 MB / 0.5743 GB, free: 1.828 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00524/0.1815, allocations: 3.387 MB / 0.5776 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.1817, allocations: 172.9 kB / 0.5778 GB, free: 14.19 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.1819, allocations: 224.4 kB / 0.578 GB, free: 13.97 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006705/0.1886, allocations: 5.85 MB / 0.5837 GB, free: 6.793 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.667e-05/0.1887, allocations: 39.81 kB / 0.5837 GB, free: 6.754 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.1888, allocations: 120.1 kB / 0.5838 GB, free: 6.637 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-05/0.1889, allocations: 83.98 kB / 0.5839 GB, free: 6.555 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004882/0.1938, allocations: 2.602 MB / 0.5865 GB, free: 3.934 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/0.2095, allocations: 35.82 MB / 0.6214 GB, free: 14.86 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004555/0.2141, allocations: 2.208 MB / 0.6236 GB, free: 12.46 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008273/0.2149, allocations: 0.5449 MB / 0.6241 GB, free: 11.85 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.2151, allocations: 125 kB / 0.6243 GB, free: 11.73 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/0.2151, allocations: 66.64 kB / 0.6243 GB, free: 11.65 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=427): time 4.749e-06/0.2151, allocations: 3.984 kB / 0.6243 GB, free: 11.65 MB / 0.5418 GB Notification: Performance of matching and sorting (n=427): time 0.01016/0.2253, allocations: 4.561 MB / 0.6288 GB, free: 7.055 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/0.2255, allocations: 0.606 MB / 0.6294 GB, free: 6.305 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003152/0.2286, allocations: 3.019 MB / 0.6323 GB, free: 3.293 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0002909/0.2289, allocations: 53.7 kB / 0.6324 GB, free: 3.234 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009885/0.2299, allocations: 1.803 MB / 0.6341 GB, free: 1.414 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.231, allocations: 1.468 MB / 0.6356 GB, free: 15.93 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009634/0.232, allocations: 1.016 MB / 0.6366 GB, free: 14.9 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.2321, allocations: 476.8 kB / 0.637 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.2333, allocations: 0.6733 MB / 0.6377 GB, free: 13.75 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.2357, allocations: 3.31 MB / 0.6409 GB, free: 9.285 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004698/0.2404, allocations: 4.578 MB / 0.6454 GB, free: 3.594 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.117e-05/0.2404, allocations: 19.98 kB / 0.6454 GB, free: 3.574 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.1785/0.4189, allocations: 3.778 MB / 0.6491 GB, free: 147.8 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.756e-05/0.419, allocations: 29.59 kB / 0.6491 GB, free: 147.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003403/0.4224, allocations: 1.962 MB / 0.651 GB, free: 147.7 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002961/0.4227, allocations: 118.2 kB / 0.6511 GB, free: 147.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/0.4247, allocations: 1.251 MB / 0.6524 GB, free: 147.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007916/0.4255, allocations: 1.856 MB / 0.6542 GB, free: 145.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.4274, allocations: 0.5017 MB / 0.6547 GB, free: 145.9 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003594/0.4277, allocations: 325 kB / 0.655 GB, free: 145.9 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.001938/0.4297, allocations: 0.835 MB / 0.6558 GB, free: 145.7 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00178/0.4314, allocations: 3.309 MB / 0.659 GB, free: 142.4 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003985/0.4354, allocations: 4.567 MB / 0.6635 GB, free: 139.1 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.151e-05/0.4355, allocations: 16.12 kB / 0.6635 GB, free: 139.1 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.005695/0.4412, allocations: 3.772 MB / 0.6672 GB, free: 138.6 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.4412, allocations: 34.88 kB / 0.6672 GB, free: 138.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003085/0.4443, allocations: 1.942 MB / 0.6691 GB, free: 138.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/0.4445, allocations: 121.2 kB / 0.6692 GB, free: 138.4 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/0.4467, allocations: 1.245 MB / 0.6704 GB, free: 138.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007509/0.4475, allocations: 1.852 MB / 0.6722 GB, free: 136.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.4493, allocations: 419.8 kB / 0.6726 GB, free: 136.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003809/0.4497, allocations: 328 kB / 0.673 GB, free: 136.6 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.0009188/0.4506, allocations: 0.5699 MB / 0.6735 GB, free: 136.1 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009205/0.4516, allocations: 461.3 kB / 0.674 GB, free: 135.9 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.005422/0.457, allocations: 4.508 MB / 0.6784 GB, free: 134.7 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 2.9625701438635588]