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.01022/0.01022, allocations: 1.348 MB / 20.45 MB, free: 1.25 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.001375/0.001375, allocations: 82.61 kB / 24.02 MB, free: 2.59 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.001785/0.001785, allocations: 155.6 kB / 27.71 MB, free: 3.844 MB / 19.63 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.53/1.53, allocations: 177.1 MB / 208.4 MB, free: 7.668 MB / 190.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.11/1.11, allocations: 102.5 MB / 367.8 MB, free: 4.59 MB / 334.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: 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 2.575e-06/2.575e-06, allocations: 1.156 kB / 0.5365 GB, free: 7.133 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.11e-05/4.367e-05, allocations: 6.766 kB / 0.5365 GB, free: 7.129 MB / 446.1 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.1741/0.1741, allocations: 62.05 MB / 0.5971 GB, free: 11.61 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.0328/0.2069, allocations: 17.6 MB / 0.6142 GB, free: 9.938 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/0.2103, allocations: 99.25 kB / 0.6143 GB, free: 9.84 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.005661/0.216, allocations: 1.685 MB / 0.616 GB, free: 8.145 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.007544/0.2235, allocations: 2.169 MB / 0.6181 GB, free: 5.961 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.008307/0.2318, allocations: 2.716 MB / 0.6208 GB, free: 3.238 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.009981/0.2418, allocations: 5.815 MB / 0.6264 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004085/0.2459, allocations: 1.672 MB / 0.6281 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007812/0.2537, allocations: 3.172 MB / 0.6312 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004364/0.2581, allocations: 1.977 MB / 0.6331 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.2594, allocations: 360 kB / 0.6334 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004331/0.2637, allocations: 1.333 MB / 0.6347 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00186/0.2656, allocations: 1.183 MB / 0.6359 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003236/0.2688, allocations: 1.289 MB / 0.6372 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.2795, allocations: 6.184 MB / 0.6432 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2795, allocations: 0 / 0.6432 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2795, allocations: 0 / 0.6432 GB, free: 12.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002146/0.2797, allocations: 0 / 0.6432 GB, free: 12.16 MB / 0.545 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.009993/0.2897, allocations: 4.595 MB / 0.6477 GB, free: 7.496 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2898, allocations: 12.03 kB / 0.6477 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/0.2918, allocations: 0.5913 MB / 0.6483 GB, free: 6.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007814/0.2996, allocations: 3.643 MB / 0.6518 GB, free: 3.172 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.2998, allocations: 168.9 kB / 0.652 GB, free: 3.004 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005464/0.3004, allocations: 216.4 kB / 0.6522 GB, free: 2.793 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/0.3132, allocations: 5.862 MB / 0.6579 GB, free: 11.91 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.874e-05/0.3133, allocations: 39.81 kB / 0.658 GB, free: 11.87 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003777/0.3137, allocations: 124.1 kB / 0.6581 GB, free: 11.75 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.3138, allocations: 87.98 kB / 0.6582 GB, free: 11.66 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009869/0.3237, allocations: 3.471 MB / 0.6615 GB, free: 8.176 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02339/0.3471, allocations: 24.87 MB / 0.6858 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008928/0.356, allocations: 2.804 MB / 0.6886 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.3578, allocations: 0.8324 MB / 0.6894 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/0.3581, allocations: 109.1 kB / 0.6895 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.245e-05/0.3582, allocations: 67.75 kB / 0.6896 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=427): time 5.09e-06/0.3582, allocations: 8 kB / 0.6896 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=427): time 0.01831/0.3765, allocations: 5.526 MB / 0.695 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00035/0.3768, allocations: 0.6098 MB / 0.6956 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006224/0.3831, allocations: 3.168 MB / 0.6986 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004857/0.3836, allocations: 53.7 kB / 0.6987 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.3606/0.7441, allocations: 1.669 MB / 0.7003 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001876/0.746, allocations: 1.441 MB / 0.7017 GB, free: 130.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001945/0.748, allocations: 0.9575 MB / 0.7027 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.564e-05/0.748, allocations: 302.8 kB / 0.703 GB, free: 130.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/0.7508, allocations: 1.297 MB / 0.7042 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003888/0.7547, allocations: 3.181 MB / 0.7073 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/0.7663, allocations: 6.23 MB / 0.7134 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.394e-05/0.7664, allocations: 17 kB / 0.7134 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01021/0.7766, allocations: 4.791 MB / 0.7181 GB, free: 121.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/0.7767, allocations: 29.31 kB / 0.7181 GB, free: 121.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006094/0.7828, allocations: 2.951 MB / 0.721 GB, free: 120 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000405/0.7832, allocations: 126.5 kB / 0.7211 GB, free: 120 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003584/0.7868, allocations: 1.253 MB / 0.7224 GB, free: 119.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009293/0.7877, allocations: 1.411 MB / 0.7237 GB, free: 118.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/0.7905, allocations: 0.5056 MB / 0.7242 GB, free: 118.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004313/0.7909, allocations: 328.4 kB / 0.7245 GB, free: 118.3 MB / 0.5919 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.003663/0.7946, allocations: 1.982 MB / 0.7265 GB, free: 117.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00292/0.7975, allocations: 3.173 MB / 0.7296 GB, free: 114.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008601/0.8061, allocations: 6.19 MB / 0.7356 GB, free: 108.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.051e-05/0.8061, allocations: 16.59 kB / 0.7356 GB, free: 108.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.008246/0.8143, allocations: 4.77 MB / 0.7403 GB, free: 103.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.8144, allocations: 32 kB / 0.7403 GB, free: 103.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004693/0.8191, allocations: 2.939 MB / 0.7432 GB, free: 100.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.8193, allocations: 119.5 kB / 0.7433 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/0.8224, allocations: 1.252 MB / 0.7445 GB, free: 99.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.8234, allocations: 1.407 MB / 0.7459 GB, free: 97.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003985/0.8274, allocations: 419.8 kB / 0.7463 GB, free: 97.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004672/0.8279, allocations: 323.8 kB / 0.7466 GB, free: 97.29 MB / 0.5919 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.002075/0.83, allocations: 0.4884 MB / 0.7471 GB, free: 96.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001708/0.8317, allocations: 413.1 kB / 0.7475 GB, free: 96.42 MB / 0.5919 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.007933/0.8396, allocations: 4.897 MB / 0.7523 GB, free: 91.87 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.96408849209547] Failed to read output from testmodel.py, exit status != 0: 1.0231127515435219 1.038934991 0.755969048 Calling exit ...