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.01053/0.01053, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001401/0.001401, allocations: 103 kB / 24.18 MB, free: 2.18 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.001873/0.001873, allocations: 217.6 kB / 27.9 MB, free: 3.504 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.516/1.516, allocations: 230.6 MB / 262.1 MB, free: 5.852 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.049/1.049, allocations: 130.7 MB / 449.6 MB, free: 6.426 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="me",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.06707/0.06707, allocations: 20.99 MB / 0.6358 GB, free: 4.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.2429, allocations: 81.91 MB / 0.7158 GB, free: 2.707 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.5535/0.7964, allocations: 48.36 MB / 0.7631 GB, free: 18.81 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02858/0.825, allocations: 17.9 MB / 0.7805 GB, free: 6.285 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005309/0.8303, allocations: 103.2 kB / 0.7806 GB, free: 6.234 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005821/0.8361, allocations: 1.66 MB / 0.7823 GB, free: 5.445 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.008178/0.8443, allocations: 2.108 MB / 0.7843 GB, free: 4.133 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007384/0.8517, allocations: 2.673 MB / 0.7869 GB, free: 2.754 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.8619, allocations: 5.64 MB / 0.7924 GB, free: 15.46 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003859/0.8658, allocations: 1.655 MB / 0.7941 GB, free: 14.26 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0057/0.8715, allocations: 2.353 MB / 0.7963 GB, free: 12.92 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00548/0.877, allocations: 2.3 MB / 0.7986 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.8785, allocations: 360.6 kB / 0.7989 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005079/0.8835, allocations: 1.32 MB / 0.8002 GB, free: 10.97 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002394/0.8859, allocations: 1.174 MB / 0.8014 GB, free: 10.08 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.005006/0.8909, allocations: 1.615 MB / 0.803 GB, free: 9.043 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.9044, allocations: 6.312 MB / 0.8091 GB, free: 2.906 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.9044, allocations: 0 / 0.8091 GB, free: 2.906 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.745e-06/0.9044, allocations: 0 / 0.8091 GB, free: 2.906 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0002665/0.9047, allocations: 0 / 0.8091 GB, free: 2.906 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.01199/0.9167, allocations: 4.645 MB / 0.8137 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.9167, allocations: 8.031 kB / 0.8137 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006379/0.9174, allocations: 411.8 kB / 0.8141 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.9192, allocations: 0.5861 MB / 0.8146 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008393/0.9276, allocations: 3.655 MB / 0.8182 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.9278, allocations: 168.9 kB / 0.8184 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004164/0.9282, allocations: 216.4 kB / 0.8186 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/0.9408, allocations: 5.865 MB / 0.8243 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.402e-05/0.9408, allocations: 43.56 kB / 0.8243 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/0.9411, allocations: 116 kB / 0.8244 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.056e-05/0.9412, allocations: 86.67 kB / 0.8245 GB, free: 2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009962/0.9512, allocations: 3.463 MB / 0.8279 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02846/0.9796, allocations: 25.34 MB / 0.8527 GB, free: 4.234 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00862/0.9882, allocations: 2.804 MB / 0.8554 GB, free: 1.293 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.9901, allocations: 0.823 MB / 0.8562 GB, free: 436 kB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003443/0.9905, allocations: 117.1 kB / 0.8563 GB, free: 316 kB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.097e-05/0.9906, allocations: 67.73 kB / 0.8564 GB, free: 240 kB / 0.6232 GB Notification: Performance of pre-optimization done (n=427): time 5.31e-06/0.9906, allocations: 2.656 kB / 0.8564 GB, free: 240 kB / 0.6232 GB Notification: Performance of matching and sorting (n=427): time 0.01811/1.009, allocations: 5.549 MB / 0.8618 GB, free: 10.66 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00035/1.009, allocations: 0.6136 MB / 0.8624 GB, free: 9.91 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005888/1.015, allocations: 3.393 MB / 0.8657 GB, free: 6.492 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0006191/1.016, allocations: 53.7 kB / 0.8658 GB, free: 6.434 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001603/1.017, allocations: 1.665 MB / 0.8674 GB, free: 4.754 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001932/1.019, allocations: 1.457 MB / 0.8688 GB, free: 3.285 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001617/1.021, allocations: 0.97 MB / 0.8698 GB, free: 2.309 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.021, allocations: 301.1 kB / 0.87 GB, free: 2.012 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002608/1.023, allocations: 1.295 MB / 0.8713 GB, free: 0.707 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004291/1.028, allocations: 3.182 MB / 0.8744 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/1.04, allocations: 6.229 MB / 0.8805 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.154e-05/1.04, allocations: 16 kB / 0.8805 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01141/1.051, allocations: 4.815 MB / 0.8852 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/1.051, allocations: 28 kB / 0.8852 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006558/1.058, allocations: 2.961 MB / 0.8881 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003615/1.058, allocations: 118.8 kB / 0.8882 GB, free: 13.72 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004089/1.062, allocations: 1.252 MB / 0.8895 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/1.064, allocations: 1.439 MB / 0.8909 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003309/1.067, allocations: 0.5349 MB / 0.8914 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008052/1.068, allocations: 323.8 kB / 0.8917 GB, free: 10.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.004689/1.072, allocations: 1.973 MB / 0.8936 GB, free: 8.094 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004543/1.077, allocations: 3.17 MB / 0.8967 GB, free: 4.062 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01164/1.089, allocations: 6.188 MB / 0.9028 GB, free: 13.13 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.742e-05/1.089, allocations: 17.41 kB / 0.9028 GB, free: 13.11 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01111/1.1, allocations: 4.798 MB / 0.9075 GB, free: 8.309 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/1.1, allocations: 31.98 kB / 0.9075 GB, free: 8.277 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006391/1.106, allocations: 2.931 MB / 0.9104 GB, free: 5.305 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002935/1.107, allocations: 119.5 kB / 0.9105 GB, free: 5.188 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004044/1.111, allocations: 1.252 MB / 0.9117 GB, free: 3.934 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/1.112, allocations: 1.438 MB / 0.9131 GB, free: 2.387 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003502/1.115, allocations: 419.2 kB / 0.9135 GB, free: 1.977 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007687/1.116, allocations: 323.8 kB / 0.9138 GB, free: 1.66 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.001412/1.118, allocations: 0.4884 MB / 0.9143 GB, free: 1.168 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/1.119, allocations: 436.9 kB / 0.9147 GB, free: 0.7383 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.009526/1.129, allocations: 4.912 MB / 0.9195 GB, free: 12.12 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.037264814134687] Failed to read output from testmodel.py, exit status != 0: 1.3296520472504199 1.345169725 0.43728135700000004 Calling exit ...