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.006126/0.006126, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.000719/0.000719, allocations: 88.11 kB / 24.91 MB, free: 7.27 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.0007169/0.0007169, allocations: 167 kB / 28.62 MB, free: 4.449 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.8822/0.8822, allocations: 177.1 MB / 209.4 MB, free: 2.965 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.7572/0.7572, allocations: 102.5 MB / 368.7 MB, free: 1.5 MB / 330.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 SMArtInt with version 0.5.2 (/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.673e-06/1.673e-06, allocations: 0 / 0.5374 GB, free: 39.84 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.935e-05, allocations: 2.281 kB / 0.5374 GB, free: 39.84 MB / 490.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.1172/0.1172, allocations: 62 MB / 0.598 GB, free: 14.03 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02137/0.1386, allocations: 17.62 MB / 0.6152 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.1409, allocations: 107.2 kB / 0.6153 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002907/0.1438, allocations: 1.674 MB / 0.6169 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.1469, allocations: 2.177 MB / 0.619 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004506/0.1514, allocations: 2.72 MB / 0.6217 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004881/0.1563, allocations: 5.81 MB / 0.6274 GB, free: 15.8 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.1579, allocations: 1.66 MB / 0.629 GB, free: 14.1 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.1603, allocations: 3.176 MB / 0.6321 GB, free: 10.92 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.1618, allocations: 1.976 MB / 0.634 GB, free: 8.938 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002936/0.1621, allocations: 364 kB / 0.6344 GB, free: 8.582 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.1644, allocations: 1.341 MB / 0.6357 GB, free: 7.238 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.000683/0.1651, allocations: 1.187 MB / 0.6368 GB, free: 6.047 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008764/0.166, allocations: 1.289 MB / 0.6381 GB, free: 4.754 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004669/0.1706, allocations: 6.18 MB / 0.6441 GB, free: 14.55 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1706, allocations: 0 / 0.6441 GB, free: 14.55 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.264e-06/0.1706, allocations: 0 / 0.6441 GB, free: 14.55 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 3.355e-05/0.1707, allocations: 0 / 0.6441 GB, free: 14.55 MB / 0.5418 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.004457/0.1751, allocations: 4.607 MB / 0.6486 GB, free: 9.883 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1752, allocations: 8.031 kB / 0.6486 GB, free: 9.875 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.1762, allocations: 0.5874 MB / 0.6492 GB, free: 9.285 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003911/0.1802, allocations: 3.637 MB / 0.6527 GB, free: 5.578 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.979e-05/0.1802, allocations: 168.9 kB / 0.6529 GB, free: 5.41 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.1804, allocations: 220.4 kB / 0.6531 GB, free: 5.195 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006321/0.1868, allocations: 5.87 MB / 0.6589 GB, free: 14.3 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.041e-05/0.1868, allocations: 39.81 kB / 0.6589 GB, free: 14.26 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.187, allocations: 124.1 kB / 0.659 GB, free: 14.14 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.184e-05/0.187, allocations: 83.98 kB / 0.6591 GB, free: 14.06 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005148/0.1922, allocations: 3.463 MB / 0.6625 GB, free: 10.58 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.208, allocations: 24.86 MB / 0.6868 GB, free: 0.7539 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005395/0.2134, allocations: 2.812 MB / 0.6895 GB, free: 13.8 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.2144, allocations: 0.8315 MB / 0.6903 GB, free: 12.93 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/0.2146, allocations: 113 kB / 0.6904 GB, free: 12.82 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.2147, allocations: 63.81 kB / 0.6905 GB, free: 12.74 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=427): time 6.152e-06/0.2147, allocations: 0 / 0.6905 GB, free: 12.74 MB / 0.5887 GB Notification: Performance of matching and sorting (n=427): time 0.009972/0.2246, allocations: 5.538 MB / 0.6959 GB, free: 7.172 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002543/0.2249, allocations: 0.6098 MB / 0.6965 GB, free: 6.422 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/0.2284, allocations: 3.171 MB / 0.6996 GB, free: 3.262 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.2285, allocations: 49.7 kB / 0.6996 GB, free: 3.207 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009072/0.2294, allocations: 1.676 MB / 0.7013 GB, free: 1.516 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008875/0.2303, allocations: 1.436 MB / 0.7027 GB, free: 68 kB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009723/0.2313, allocations: 0.9558 MB / 0.7036 GB, free: 15.1 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.73e-05/0.2313, allocations: 301.1 kB / 0.7039 GB, free: 14.8 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.2332, allocations: 1.307 MB / 0.7052 GB, free: 13.49 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/0.2358, allocations: 3.182 MB / 0.7083 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007348/0.2431, allocations: 6.222 MB / 0.7143 GB, free: 2.391 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-05/0.2431, allocations: 20 kB / 0.7144 GB, free: 2.371 MB / 0.6043 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.006282/0.2494, allocations: 4.79 MB / 0.719 GB, free: 13.54 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.2494, allocations: 28 kB / 0.7191 GB, free: 13.51 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003591/0.253, allocations: 2.949 MB / 0.7219 GB, free: 10.51 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/0.2532, allocations: 109.8 kB / 0.7221 GB, free: 10.4 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/0.2552, allocations: 1.264 MB / 0.7233 GB, free: 9.133 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.2563, allocations: 1.409 MB / 0.7247 GB, free: 7.617 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.2582, allocations: 0.5079 MB / 0.7252 GB, free: 7.105 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/0.2585, allocations: 327.8 kB / 0.7255 GB, free: 6.785 MB / 0.6199 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.002864/0.2613, allocations: 1.974 MB / 0.7274 GB, free: 4.805 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002462/0.2638, allocations: 3.174 MB / 0.7305 GB, free: 0.7734 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006996/0.2708, allocations: 6.198 MB / 0.7366 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.031e-05/0.2708, allocations: 16 kB / 0.7366 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.00649/0.2773, allocations: 4.77 MB / 0.7412 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.2773, allocations: 28.09 kB / 0.7413 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003833/0.2812, allocations: 2.934 MB / 0.7441 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.2813, allocations: 129.3 kB / 0.7442 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.2832, allocations: 1.244 MB / 0.7455 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008739/0.2841, allocations: 1.412 MB / 0.7468 GB, free: 15.01 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.2858, allocations: 413.3 kB / 0.7472 GB, free: 14.6 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003061/0.2861, allocations: 331.7 kB / 0.7475 GB, free: 14.28 MB / 0.6512 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.001119/0.2872, allocations: 0.495 MB / 0.748 GB, free: 13.77 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006387/0.2879, allocations: 413.1 kB / 0.7484 GB, free: 13.37 MB / 0.6512 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.005699/0.2936, allocations: 4.896 MB / 0.7532 GB, free: 8.422 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4334748601540923] Failed to read output from testmodel.py, exit status != 0: 0.6762873446568847 0.683206509 0.5110376569999999 Calling exit ...