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.01337/0.01337, 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: 104.4 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.001827/0.001827, allocations: 217.5 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.469/1.469, allocations: 230.6 MB / 262.1 MB, free: 5.84 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.108/1.108, allocations: 130.7 MB / 449.7 MB, free: 6.387 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.06869/0.06869, allocations: 20.99 MB / 0.6358 GB, free: 4.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.2439, allocations: 81.9 MB / 0.7158 GB, free: 2.695 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.54/0.7839, allocations: 48.37 MB / 0.7631 GB, free: 18.98 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03236/0.8163, allocations: 17.89 MB / 0.7805 GB, free: 6.465 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005383/0.8216, allocations: 99.47 kB / 0.7806 GB, free: 6.418 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005859/0.8275, allocations: 1.669 MB / 0.7823 GB, free: 5.625 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.008457/0.836, allocations: 2.113 MB / 0.7843 GB, free: 4.309 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008103/0.8441, allocations: 2.668 MB / 0.7869 GB, free: 2.91 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01079/0.8549, allocations: 5.632 MB / 0.7924 GB, free: 15.61 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003914/0.8588, allocations: 1.664 MB / 0.7941 GB, free: 14.4 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005889/0.8647, allocations: 2.347 MB / 0.7963 GB, free: 13.06 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005549/0.8702, allocations: 2.3 MB / 0.7986 GB, free: 11.65 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001659/0.8719, allocations: 359.5 kB / 0.7989 GB, free: 11.65 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005418/0.8773, allocations: 1.33 MB / 0.8002 GB, free: 11.11 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002433/0.8797, allocations: 1.164 MB / 0.8014 GB, free: 10.23 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004954/0.8847, allocations: 1.619 MB / 0.8029 GB, free: 9.188 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.8975, allocations: 6.312 MB / 0.8091 GB, free: 3.02 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.8975, allocations: 0 / 0.8091 GB, free: 3.02 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8975, allocations: 0 / 0.8091 GB, free: 3.02 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0002526/0.8978, allocations: 0 / 0.8091 GB, free: 3.02 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.01177/0.9096, allocations: 4.641 MB / 0.8136 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.9096, allocations: 16.02 kB / 0.8137 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001022/0.9106, allocations: 403.8 kB / 0.814 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002343/0.913, allocations: 0.5938 MB / 0.8146 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009277/0.9223, allocations: 3.65 MB / 0.8182 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/0.9225, allocations: 168.9 kB / 0.8184 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007279/0.9232, allocations: 216.4 kB / 0.8186 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/0.9373, allocations: 5.868 MB / 0.8243 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001289/0.9374, allocations: 42.34 kB / 0.8243 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005305/0.9379, allocations: 116 kB / 0.8244 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.9381, allocations: 83.98 kB / 0.8245 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.9483, allocations: 3.467 MB / 0.8279 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02729/0.9756, allocations: 25.33 MB / 0.8526 GB, free: 4.352 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008475/0.9841, allocations: 2.806 MB / 0.8554 GB, free: 1.41 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.9859, allocations: 0.8315 MB / 0.8562 GB, free: 0.5312 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/0.9862, allocations: 105.1 kB / 0.8563 GB, free: 436 kB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.142e-05/0.9863, allocations: 75.73 kB / 0.8564 GB, free: 352 kB / 0.6232 GB Notification: Performance of pre-optimization done (n=427): time 5.801e-06/0.9863, allocations: 0 / 0.8564 GB, free: 352 kB / 0.6232 GB Notification: Performance of matching and sorting (n=427): time 0.01803/1.004, allocations: 5.549 MB / 0.8618 GB, free: 10.77 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004204/1.005, allocations: 0.6098 MB / 0.8624 GB, free: 10.02 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007586/1.012, allocations: 3.395 MB / 0.8657 GB, free: 6.605 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0005548/1.013, allocations: 53.7 kB / 0.8658 GB, free: 6.547 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001889/1.015, allocations: 1.667 MB / 0.8674 GB, free: 4.867 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001992/1.017, allocations: 1.452 MB / 0.8688 GB, free: 3.402 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002427/1.019, allocations: 0.9714 MB / 0.8697 GB, free: 2.422 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.019, allocations: 305.1 kB / 0.87 GB, free: 2.121 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00307/1.022, allocations: 1.294 MB / 0.8713 GB, free: 0.8203 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005037/1.027, allocations: 3.182 MB / 0.8744 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01224/1.04, allocations: 6.228 MB / 0.8805 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.737e-05/1.04, allocations: 19.28 kB / 0.8805 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01096/1.051, allocations: 4.815 MB / 0.8852 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.765e-05/1.051, allocations: 29.09 kB / 0.8852 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006289/1.057, allocations: 2.952 MB / 0.8881 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/1.057, allocations: 124.8 kB / 0.8882 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003818/1.061, allocations: 1.253 MB / 0.8895 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/1.063, allocations: 1.432 MB / 0.8909 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00332/1.066, allocations: 0.5366 MB / 0.8914 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007873/1.067, allocations: 327.8 kB / 0.8917 GB, free: 10.18 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.004672/1.072, allocations: 1.975 MB / 0.8936 GB, free: 8.207 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004649/1.076, allocations: 3.178 MB / 0.8967 GB, free: 4.168 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0121/1.088, allocations: 6.188 MB / 0.9028 GB, free: 13.24 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.937e-05/1.088, allocations: 16 kB / 0.9028 GB, free: 13.22 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01272/1.101, allocations: 4.798 MB / 0.9075 GB, free: 8.418 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 6.289e-05/1.101, allocations: 30.69 kB / 0.9075 GB, free: 8.391 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006895/1.108, allocations: 2.929 MB / 0.9104 GB, free: 5.414 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/1.108, allocations: 116.8 kB / 0.9105 GB, free: 5.297 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003913/1.112, allocations: 1.25 MB / 0.9117 GB, free: 4.047 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/1.114, allocations: 1.443 MB / 0.9131 GB, free: 2.496 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003313/1.117, allocations: 415.8 kB / 0.9135 GB, free: 2.09 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008553/1.118, allocations: 327.8 kB / 0.9138 GB, free: 1.77 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.001584/1.12, allocations: 499.4 kB / 0.9143 GB, free: 1.277 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001832/1.121, allocations: 436.9 kB / 0.9147 GB, free: 0.8477 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.01007/1.132, allocations: 4.91 MB / 0.9195 GB, free: 12.23 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.092770914081484] Failed to read output from testmodel.py, exit status != 0: 1.3400533278472722 1.357650469 0.45645825799999995 Calling exit ...