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.01259/0.01259, allocations: 1.762 MB / 20.59 MB, free: 1.297 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.001449/0.001449, allocations: 106.2 kB / 24.19 MB, free: 2.684 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.001498/0.001498, allocations: 211.8 kB / 27.92 MB, free: 4.035 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.417/1.417, allocations: 230.6 MB / 262.1 MB, free: 6.023 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.036/1.036, allocations: 130.7 MB / 449.7 MB, free: 6.594 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.03105/0.03105, allocations: 20.79 MB / 0.6357 GB, free: 5.184 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.2071, allocations: 81.9 MB / 0.7157 GB, free: 3.184 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.5257/0.7327, allocations: 50.57 MB / 0.7651 GB, free: 16.97 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02762/0.7603, allocations: 18.6 MB / 0.7833 GB, free: 3.688 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005007/0.7653, allocations: 103.7 kB / 0.7834 GB, free: 3.637 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005206/0.7706, allocations: 1.726 MB / 0.7851 GB, free: 2.801 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007437/0.778, allocations: 2.101 MB / 0.7871 GB, free: 1.484 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006925/0.7849, allocations: 2.664 MB / 0.7897 GB, free: 116 kB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01126/0.7962, allocations: 5.642 MB / 0.7952 GB, free: 12.88 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003643/0.7998, allocations: 1.514 MB / 0.7967 GB, free: 11.8 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005752/0.8056, allocations: 2.341 MB / 0.799 GB, free: 10.46 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005417/0.811, allocations: 2.446 MB / 0.8014 GB, free: 8.914 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001522/0.8125, allocations: 360.3 kB / 0.8017 GB, free: 8.914 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005699/0.8182, allocations: 1.782 MB / 0.8035 GB, free: 8.059 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001869/0.8201, allocations: 1.169 MB / 0.8046 GB, free: 7.176 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.00355/0.8236, allocations: 2.114 MB / 0.8067 GB, free: 5.637 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01126/0.8349, allocations: 6.373 MB / 0.8129 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8349, allocations: 3.938 kB / 0.8129 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8349, allocations: 0 / 0.8129 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000177/0.8351, allocations: 0 / 0.8129 GB, free: 15.57 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.009414/0.8445, allocations: 4.646 MB / 0.8174 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.8445, allocations: 12.03 kB / 0.8174 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005807/0.8451, allocations: 403.8 kB / 0.8178 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.8468, allocations: 0.5861 MB / 0.8184 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007094/0.8539, allocations: 3.654 MB / 0.822 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.854, allocations: 164.9 kB / 0.8221 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/0.8543, allocations: 224.4 kB / 0.8223 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.8649, allocations: 5.233 MB / 0.8275 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.696e-05/0.8649, allocations: 39.62 kB / 0.8275 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/0.8652, allocations: 121.4 kB / 0.8276 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-05/0.8652, allocations: 80 kB / 0.8277 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008768/0.874, allocations: 3.486 MB / 0.8311 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02463/0.8986, allocations: 26.35 MB / 0.8568 GB, free: 0.7305 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008394/0.907, allocations: 2.814 MB / 0.8596 GB, free: 13.79 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.9088, allocations: 0.832 MB / 0.8604 GB, free: 12.91 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003377/0.9092, allocations: 127.8 kB / 0.8605 GB, free: 12.79 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.313e-05/0.9092, allocations: 70.39 kB / 0.8606 GB, free: 12.71 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=427): time 4.058e-06/0.9092, allocations: 0 / 0.8606 GB, free: 12.71 MB / 0.6388 GB Notification: Performance of matching and sorting (n=427): time 0.01666/0.9259, allocations: 5.549 MB / 0.866 GB, free: 7.141 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003764/0.9263, allocations: 0.6084 MB / 0.8666 GB, free: 6.395 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005045/0.9313, allocations: 3.312 MB / 0.8698 GB, free: 3.059 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0002872/0.9316, allocations: 53.7 kB / 0.8699 GB, free: 3 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001448/0.9331, allocations: 1.666 MB / 0.8715 GB, free: 1.32 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001409/0.9345, allocations: 1.462 MB / 0.8729 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/0.9358, allocations: 0.9714 MB / 0.8739 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.936, allocations: 301.1 kB / 0.8742 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0024/0.9384, allocations: 1.298 MB / 0.8754 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004248/0.9426, allocations: 3.003 MB / 0.8784 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/0.9544, allocations: 6.222 MB / 0.8844 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.476e-05/0.9544, allocations: 16 kB / 0.8844 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01005/0.9645, allocations: 4.812 MB / 0.8891 GB, free: 13.75 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.9645, allocations: 32 kB / 0.8892 GB, free: 13.72 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005532/0.9701, allocations: 2.957 MB / 0.8921 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002859/0.9704, allocations: 116.8 kB / 0.8922 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003414/0.9738, allocations: 1.254 MB / 0.8934 GB, free: 9.355 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.9752, allocations: 1.432 MB / 0.8948 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/0.978, allocations: 0.5349 MB / 0.8953 GB, free: 7.285 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005277/0.9785, allocations: 334.5 kB / 0.8956 GB, free: 6.961 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.003957/0.9825, allocations: 1.976 MB / 0.8976 GB, free: 4.984 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003953/0.9864, allocations: 2.999 MB / 0.9005 GB, free: 1.215 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0109/0.9973, allocations: 6.187 MB / 0.9065 GB, free: 10.33 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4e-05/0.9974, allocations: 19.94 kB / 0.9066 GB, free: 10.31 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01009/1.007, allocations: 4.793 MB / 0.9112 GB, free: 5.508 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/1.008, allocations: 28 kB / 0.9113 GB, free: 5.48 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005984/1.013, allocations: 2.939 MB / 0.9141 GB, free: 2.5 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002933/1.014, allocations: 112.8 kB / 0.9142 GB, free: 2.387 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003755/1.018, allocations: 1.259 MB / 0.9155 GB, free: 1.129 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/1.019, allocations: 1.436 MB / 0.9169 GB, free: 15.59 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/1.022, allocations: 415.8 kB / 0.9173 GB, free: 15.18 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005734/1.023, allocations: 323.8 kB / 0.9176 GB, free: 14.86 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.001482/1.024, allocations: 0.4937 MB / 0.9181 GB, free: 14.37 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002163/1.026, allocations: 436.9 kB / 0.9185 GB, free: 13.94 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.01328/1.04, allocations: 4.842 MB / 0.9232 GB, free: 9.344 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.900741739002115] Failed to read output from testmodel.py, exit status != 0: 1.2643498620018363 1.280366934 0.44201807899999995 Calling exit ...