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.01551/0.01551, allocations: 1.75 MB / 20.6 MB, free: 1.027 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.001785/0.001785, allocations: 105 kB / 24.18 MB, free: 2.469 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.001687/0.001687, allocations: 213.3 kB / 27.9 MB, free: 3.77 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.42/1.42, allocations: 230.6 MB / 262.1 MB, free: 5.848 MB / 206.1 MB " [Timeout remaining time 178] 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 1.039/1.039, allocations: 130.7 MB / 449.6 MB, free: 6.406 MB / 350.1 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.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_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: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06576/0.06576, allocations: 20.99 MB / 0.6363 GB, free: 4.215 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.2375, allocations: 81.91 MB / 0.7163 GB, free: 2.219 MB / 0.5294 GB 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.5057/0.7433, allocations: 48.36 MB / 0.7635 GB, free: 18.52 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0262/0.7695, allocations: 17.9 MB / 0.781 GB, free: 6 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005062/0.7745, allocations: 98.66 kB / 0.7811 GB, free: 5.953 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005265/0.7798, allocations: 1.665 MB / 0.7827 GB, free: 5.16 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007454/0.7873, allocations: 2.106 MB / 0.7848 GB, free: 3.848 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006969/0.7942, allocations: 2.678 MB / 0.7874 GB, free: 2.367 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.009679/0.8039, allocations: 5.639 MB / 0.7929 GB, free: 15.06 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003144/0.807, allocations: 1.66 MB / 0.7945 GB, free: 13.85 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004582/0.8116, allocations: 2.346 MB / 0.7968 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004535/0.8162, allocations: 2.302 MB / 0.7991 GB, free: 11.1 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0008412/0.817, allocations: 360.2 kB / 0.7994 GB, free: 11.1 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004068/0.8211, allocations: 1.326 MB / 0.8007 GB, free: 10.56 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.8224, allocations: 1.162 MB / 0.8018 GB, free: 9.684 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002464/0.8248, allocations: 1.617 MB / 0.8034 GB, free: 8.629 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0096/0.8344, allocations: 6.306 MB / 0.8096 GB, free: 2.301 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.8344, allocations: 4 kB / 0.8096 GB, free: 2.297 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8344, allocations: 0 / 0.8096 GB, free: 2.297 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.000156/0.8346, allocations: 0 / 0.8096 GB, free: 2.297 MB / 0.5763 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.007955/0.8426, allocations: 4.649 MB / 0.8141 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.8426, allocations: 8.031 kB / 0.8141 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.8442, allocations: 0.5869 MB / 0.8147 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006735/0.8509, allocations: 3.65 MB / 0.8183 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.8511, allocations: 164.9 kB / 0.8184 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003088/0.8514, allocations: 220.4 kB / 0.8186 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/0.8623, allocations: 5.873 MB / 0.8244 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.428e-05/0.8623, allocations: 39.62 kB / 0.8244 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/0.8626, allocations: 116 kB / 0.8245 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-05/0.8627, allocations: 80 kB / 0.8246 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00894/0.8716, allocations: 3.475 MB / 0.828 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02214/0.8937, allocations: 24.97 MB / 0.8524 GB, free: 4.414 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008808/0.9025, allocations: 2.802 MB / 0.8551 GB, free: 1.469 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.9045, allocations: 0.8289 MB / 0.8559 GB, free: 0.5977 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003803/0.9049, allocations: 113.1 kB / 0.856 GB, free: 496 kB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.888e-05/0.9049, allocations: 63.81 kB / 0.8561 GB, free: 424 kB / 0.6232 GB Notification: Performance of pre-optimization done (n=427): time 5.801e-06/0.9049, allocations: 0 / 0.8561 GB, free: 424 kB / 0.6232 GB Notification: Performance of matching and sorting (n=427): time 0.01753/0.9225, allocations: 5.535 MB / 0.8615 GB, free: 10.86 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003501/0.9228, allocations: 0.6098 MB / 0.8621 GB, free: 10.11 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006661/0.9295, allocations: 3.17 MB / 0.8652 GB, free: 6.949 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0004672/0.9299, allocations: 53.7 kB / 0.8652 GB, free: 6.891 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001687/0.9316, allocations: 1.68 MB / 0.8669 GB, free: 5.195 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001843/0.9335, allocations: 1.456 MB / 0.8683 GB, free: 3.727 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002375/0.9359, allocations: 0.9714 MB / 0.8692 GB, free: 2.746 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.936, allocations: 301.1 kB / 0.8695 GB, free: 2.449 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002905/0.9389, allocations: 1.3 MB / 0.8708 GB, free: 1.145 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004537/0.9434, allocations: 3.185 MB / 0.8739 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/0.9554, allocations: 6.233 MB / 0.88 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.541e-05/0.9554, allocations: 16 kB / 0.88 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01067/0.9661, allocations: 4.801 MB / 0.8847 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/0.9662, allocations: 28 kB / 0.8847 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006244/0.9724, allocations: 2.951 MB / 0.8876 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/0.9728, allocations: 112.8 kB / 0.8877 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/0.9765, allocations: 1.256 MB / 0.8889 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.9779, allocations: 1.409 MB / 0.8903 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/0.9808, allocations: 0.5118 MB / 0.8908 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000671/0.9815, allocations: 326.5 kB / 0.8911 GB, free: 10.59 MB / 0.67 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.004494/0.986, allocations: 1.975 MB / 0.8931 GB, free: 8.613 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004337/0.9904, allocations: 3.177 MB / 0.8962 GB, free: 4.578 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0115/1.002, allocations: 6.192 MB / 0.9022 GB, free: 13.64 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.073e-05/1.002, allocations: 16 kB / 0.9022 GB, free: 13.63 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01115/1.013, allocations: 4.78 MB / 0.9069 GB, free: 8.844 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 7.79e-05/1.013, allocations: 28 kB / 0.9069 GB, free: 8.816 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006684/1.02, allocations: 2.944 MB / 0.9098 GB, free: 5.828 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003565/1.02, allocations: 115.5 kB / 0.9099 GB, free: 5.715 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003854/1.024, allocations: 1.252 MB / 0.9111 GB, free: 4.461 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/1.026, allocations: 1.411 MB / 0.9125 GB, free: 2.953 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/1.029, allocations: 421.1 kB / 0.9129 GB, free: 2.539 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007834/1.029, allocations: 323.8 kB / 0.9132 GB, free: 2.223 MB / 0.6857 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.0015/1.031, allocations: 494.5 kB / 0.9137 GB, free: 1.734 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001741/1.033, allocations: 413.1 kB / 0.9141 GB, free: 1.328 MB / 0.6857 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.0101/1.043, allocations: 4.897 MB / 0.9189 GB, free: 12.74 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.867734547238797] Failed to read output from testmodel.py, exit status != 0: 1.2375468839891255 1.253108999 0.41546035699999995 Calling exit ...