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.01015/0.01015, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.001224/0.001224, allocations: 105.2 kB / 24.97 MB, free: 2.184 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.001448/0.001448, allocations: 206 kB / 28.71 MB, free: 3.461 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.418/1.418, allocations: 230.6 MB / 262.9 MB, free: 6.23 MB / 206.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.079/1.079, allocations: 130.7 MB / 450.4 MB, free: 6.582 MB / 350.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: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="cs",version="2.0",platforms={"static"}) [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.03718/0.03718, allocations: 20.61 MB / 0.6363 GB, free: 5.34 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.237, allocations: 81.91 MB / 0.7163 GB, free: 3.328 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.5171/0.7541, allocations: 50.57 MB / 0.7657 GB, free: 17.02 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02705/0.7811, allocations: 18.6 MB / 0.7839 GB, free: 3.742 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005784/0.7869, allocations: 98.75 kB / 0.784 GB, free: 3.695 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005853/0.7928, allocations: 1.719 MB / 0.7856 GB, free: 2.863 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007958/0.8007, allocations: 2.113 MB / 0.7877 GB, free: 1.539 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007543/0.8083, allocations: 2.661 MB / 0.7903 GB, free: 176 kB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01168/0.8199, allocations: 5.649 MB / 0.7958 GB, free: 12.92 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003893/0.8238, allocations: 1.509 MB / 0.7973 GB, free: 11.85 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005668/0.8295, allocations: 2.341 MB / 0.7996 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005627/0.8351, allocations: 2.45 MB / 0.802 GB, free: 8.957 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001631/0.8368, allocations: 363.8 kB / 0.8023 GB, free: 8.957 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005837/0.8426, allocations: 1.768 MB / 0.804 GB, free: 8.105 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.00241/0.845, allocations: 1.165 MB / 0.8052 GB, free: 7.227 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.005037/0.85, allocations: 2.115 MB / 0.8072 GB, free: 5.684 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.864, allocations: 6.37 MB / 0.8135 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.864, allocations: 0 / 0.8135 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.844e-06/0.864, allocations: 0 / 0.8135 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002444/0.8642, allocations: 0 / 0.8135 GB, free: 15.76 MB / 0.5919 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.01189/0.8761, allocations: 4.659 MB / 0.818 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.8762, allocations: 12.02 kB / 0.818 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001033/0.8763, allocations: 68.67 kB / 0.8181 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009482/0.8772, allocations: 406.5 kB / 0.8185 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.8796, allocations: 0.5835 MB / 0.8191 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008426/0.888, allocations: 3.656 MB / 0.8226 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.8882, allocations: 174.7 kB / 0.8228 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003581/0.8886, allocations: 220.1 kB / 0.823 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/0.9008, allocations: 5.237 MB / 0.8281 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.9009, allocations: 39.62 kB / 0.8282 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004194/0.9013, allocations: 118.7 kB / 0.8283 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.9015, allocations: 83.98 kB / 0.8283 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.9117, allocations: 3.491 MB / 0.8318 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02599/0.9377, allocations: 26.34 MB / 0.8575 GB, free: 0.8359 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009178/0.9468, allocations: 2.816 MB / 0.8602 GB, free: 13.89 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/0.9488, allocations: 0.8196 MB / 0.861 GB, free: 13.03 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003823/0.9492, allocations: 133 kB / 0.8612 GB, free: 12.9 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/0.9492, allocations: 65.12 kB / 0.8612 GB, free: 12.83 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=427): time 4.288e-06/0.9492, allocations: 0 / 0.8612 GB, free: 12.83 MB / 0.6388 GB Notification: Performance of matching and sorting (n=427): time 0.01828/0.9675, allocations: 5.565 MB / 0.8667 GB, free: 7.242 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003509/0.9679, allocations: 0.6085 MB / 0.8672 GB, free: 6.496 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006444/0.9743, allocations: 3.308 MB / 0.8705 GB, free: 3.164 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.000435/0.9747, allocations: 53.81 kB / 0.8705 GB, free: 3.105 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.9763, allocations: 1.665 MB / 0.8722 GB, free: 1.426 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001748/0.9781, allocations: 1.46 MB / 0.8736 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002081/0.9802, allocations: 0.9719 MB / 0.8745 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.9803, allocations: 305.1 kB / 0.8748 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00289/0.9832, allocations: 1.299 MB / 0.8761 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004383/0.9876, allocations: 3.001 MB / 0.879 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/0.9995, allocations: 6.215 MB / 0.8851 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.081e-05/0.9995, allocations: 18.69 kB / 0.8851 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01101/1.011, allocations: 4.809 MB / 0.8898 GB, free: 13.86 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/1.011, allocations: 34.66 kB / 0.8898 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006528/1.017, allocations: 2.958 MB / 0.8927 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003584/1.018, allocations: 112.8 kB / 0.8928 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003838/1.021, allocations: 1.258 MB / 0.8941 GB, free: 9.469 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/1.023, allocations: 1.432 MB / 0.8955 GB, free: 7.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/1.026, allocations: 0.5375 MB / 0.896 GB, free: 7.391 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007077/1.027, allocations: 327.8 kB / 0.8963 GB, free: 7.07 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.004571/1.031, allocations: 1.973 MB / 0.8982 GB, free: 5.094 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004387/1.036, allocations: 2.991 MB / 0.9011 GB, free: 1.332 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01165/1.047, allocations: 6.186 MB / 0.9072 GB, free: 10.45 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.142e-05/1.047, allocations: 16 kB / 0.9072 GB, free: 10.43 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.0108/1.058, allocations: 4.802 MB / 0.9119 GB, free: 5.625 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/1.058, allocations: 30.03 kB / 0.9119 GB, free: 5.598 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006385/1.064, allocations: 2.941 MB / 0.9148 GB, free: 2.613 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003008/1.065, allocations: 111.5 kB / 0.9149 GB, free: 2.504 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003748/1.069, allocations: 1.253 MB / 0.9161 GB, free: 1.25 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/1.07, allocations: 1.443 MB / 0.9175 GB, free: 15.7 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/1.073, allocations: 416.8 kB / 0.9179 GB, free: 15.3 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006776/1.074, allocations: 323.8 kB / 0.9182 GB, free: 14.98 MB / 0.7013 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.001327/1.075, allocations: 0.4887 MB / 0.9187 GB, free: 14.49 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001616/1.077, allocations: 440.9 kB / 0.9191 GB, free: 14.05 MB / 0.7013 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.009897/1.086, allocations: 4.845 MB / 0.9239 GB, free: 9.449 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.911219774046913] Failed to read output from testmodel.py, exit status != 0: 1.260786153958179 1.2754917350000001 0.40828597099999997 Calling exit ...