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.006342/0.006342, 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.0007138/0.0007138, allocations: 92.36 kB / 24.9 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.0007327/0.0007327, allocations: 163.7 kB / 28.61 MB, free: 4.453 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.8584/0.8584, allocations: 177.2 MB / 209.4 MB, free: 2.973 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.7146/0.7146, allocations: 102.5 MB / 368.7 MB, free: 1.43 MB / 330.8 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 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_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.192e-06/1.192e-06, allocations: 0 / 0.5374 GB, free: 39.84 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.822e-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.1079/0.108, allocations: 62.01 MB / 0.5979 GB, free: 14 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01939/0.1273, allocations: 17.61 MB / 0.6151 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.129, allocations: 103.2 kB / 0.6152 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002678/0.1317, allocations: 1.685 MB / 0.6169 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003023/0.1347, allocations: 2.177 MB / 0.619 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003611/0.1383, allocations: 2.716 MB / 0.6217 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003958/0.1422, allocations: 5.807 MB / 0.6273 GB, free: 15.79 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.1436, allocations: 1.668 MB / 0.629 GB, free: 14.08 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/0.146, allocations: 3.18 MB / 0.6321 GB, free: 10.89 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.1475, allocations: 1.964 MB / 0.634 GB, free: 8.926 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002815/0.1478, allocations: 360 kB / 0.6343 GB, free: 8.574 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.1497, allocations: 1.353 MB / 0.6357 GB, free: 7.219 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.000671/0.1504, allocations: 1.191 MB / 0.6368 GB, free: 6.023 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008366/0.1512, allocations: 1.286 MB / 0.6381 GB, free: 4.734 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004343/0.1556, allocations: 6.176 MB / 0.6441 GB, free: 14.54 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1556, allocations: 4 kB / 0.6441 GB, free: 14.54 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1556, allocations: 0 / 0.6441 GB, free: 14.54 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 2.873e-05/0.1556, allocations: 0 / 0.6441 GB, free: 14.54 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.00434/0.1599, allocations: 4.607 MB / 0.6486 GB, free: 9.863 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.16, allocations: 8.031 kB / 0.6486 GB, free: 9.855 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008916/0.1609, allocations: 0.5835 MB / 0.6492 GB, free: 9.27 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/0.165, allocations: 3.644 MB / 0.6527 GB, free: 5.555 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.507e-05/0.1651, allocations: 164.9 kB / 0.6529 GB, free: 5.391 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.1652, allocations: 216.4 kB / 0.6531 GB, free: 5.18 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006247/0.1715, allocations: 5.878 MB / 0.6588 GB, free: 14.28 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.145e-05/0.1715, allocations: 39.81 kB / 0.6589 GB, free: 14.24 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.1717, allocations: 116.1 kB / 0.659 GB, free: 14.12 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.093e-05/0.1717, allocations: 83.98 kB / 0.6591 GB, free: 14.04 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005007/0.1768, allocations: 3.467 MB / 0.6625 GB, free: 10.56 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.1891, allocations: 24.86 MB / 0.6867 GB, free: 0.7305 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004765/0.1939, allocations: 2.815 MB / 0.6895 GB, free: 13.78 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009248/0.1948, allocations: 0.8315 MB / 0.6903 GB, free: 12.9 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.195, allocations: 109.1 kB / 0.6904 GB, free: 12.79 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.195, allocations: 71.8 kB / 0.6905 GB, free: 12.71 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=427): time 4.598e-06/0.195, allocations: 0 / 0.6905 GB, free: 12.71 MB / 0.5887 GB Notification: Performance of matching and sorting (n=427): time 0.009457/0.2045, allocations: 5.538 MB / 0.6959 GB, free: 7.141 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001905/0.2047, allocations: 0.6059 MB / 0.6965 GB, free: 6.395 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.2076, allocations: 3.163 MB / 0.6996 GB, free: 3.242 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.2077, allocations: 57.69 kB / 0.6996 GB, free: 3.18 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009675/0.2087, allocations: 1.668 MB / 0.7012 GB, free: 1.5 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007469/0.2094, allocations: 1.44 MB / 0.7027 GB, free: 48 kB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008897/0.2103, allocations: 0.9559 MB / 0.7036 GB, free: 15.08 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.2104, allocations: 305.1 kB / 0.7039 GB, free: 14.78 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.212, allocations: 1.295 MB / 0.7051 GB, free: 13.47 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/0.2146, allocations: 3.182 MB / 0.7082 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00699/0.2215, allocations: 6.23 MB / 0.7143 GB, free: 2.367 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.376e-05/0.2216, allocations: 16 kB / 0.7143 GB, free: 2.352 MB / 0.6043 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.00586/0.2274, allocations: 4.786 MB / 0.719 GB, free: 13.52 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.2275, allocations: 32 kB / 0.719 GB, free: 13.49 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003785/0.2313, allocations: 2.957 MB / 0.7219 GB, free: 10.49 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/0.2315, allocations: 116.8 kB / 0.722 GB, free: 10.37 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.2334, allocations: 1.248 MB / 0.7233 GB, free: 9.121 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009334/0.2343, allocations: 1.421 MB / 0.7247 GB, free: 7.594 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.236, allocations: 0.5079 MB / 0.7252 GB, free: 7.082 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003067/0.2363, allocations: 323.8 kB / 0.7255 GB, free: 6.766 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.002964/0.2393, allocations: 1.974 MB / 0.7274 GB, free: 4.781 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002648/0.2419, allocations: 3.174 MB / 0.7305 GB, free: 0.75 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007001/0.2489, allocations: 6.191 MB / 0.7365 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.43e-05/0.249, allocations: 20 kB / 0.7366 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.006102/0.2551, allocations: 4.77 MB / 0.7412 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.2551, allocations: 28 kB / 0.7412 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003621/0.2587, allocations: 2.938 MB / 0.7441 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.2588, allocations: 116.8 kB / 0.7442 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/0.2607, allocations: 1.252 MB / 0.7454 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009167/0.2617, allocations: 1.416 MB / 0.7468 GB, free: 14.98 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.2637, allocations: 413.2 kB / 0.7472 GB, free: 14.57 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005569/0.2642, allocations: 323.9 kB / 0.7475 GB, free: 14.26 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.001091/0.2653, allocations: 0.5058 MB / 0.748 GB, free: 13.75 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006728/0.266, allocations: 413.1 kB / 0.7484 GB, free: 13.34 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.00532/0.2713, allocations: 4.889 MB / 0.7532 GB, free: 8.402 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1688586845993996] Failed to read output from testmodel.py, exit status != 0: 0.5948491003364325 0.601528457 0.444512441 Calling exit ...