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.01282/0.01282, allocations: 1.76 MB / 20.59 MB, free: 1.285 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.001506/0.001506, allocations: 107.4 kB / 24.19 MB, free: 2.691 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.001751/0.001751, allocations: 205.2 kB / 27.92 MB, free: 4.027 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.479/1.479, allocations: 230.6 MB / 262.1 MB, free: 5.988 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.081/1.081, allocations: 130.7 MB / 449.6 MB, free: 6.77 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.03417/0.03417, allocations: 20.78 MB / 0.6362 GB, free: 4.637 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.2251, allocations: 81.9 MB / 0.7162 GB, free: 2.645 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.5494/0.7745, allocations: 50.58 MB / 0.7656 GB, free: 16.86 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02746/0.802, allocations: 18.61 MB / 0.7838 GB, free: 3.574 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005372/0.8073, allocations: 102.3 kB / 0.7839 GB, free: 3.523 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005306/0.8126, allocations: 1.715 MB / 0.7855 GB, free: 2.688 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007481/0.8201, allocations: 2.104 MB / 0.7876 GB, free: 1.371 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007073/0.8272, allocations: 2.671 MB / 0.7902 GB, free: 15.96 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01167/0.8389, allocations: 5.642 MB / 0.7957 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003814/0.8427, allocations: 1.524 MB / 0.7972 GB, free: 11.57 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006133/0.8488, allocations: 2.337 MB / 0.7995 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006675/0.8555, allocations: 2.436 MB / 0.8019 GB, free: 8.703 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001497/0.857, allocations: 363.2 kB / 0.8022 GB, free: 8.699 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005813/0.8628, allocations: 1.773 MB / 0.8039 GB, free: 7.848 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002207/0.865, allocations: 1.164 MB / 0.8051 GB, free: 6.969 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004118/0.8691, allocations: 2.115 MB / 0.8071 GB, free: 5.43 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.8799, allocations: 6.375 MB / 0.8134 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8799, allocations: 0 / 0.8134 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8799, allocations: 0 / 0.8134 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001412/0.8801, allocations: 0 / 0.8134 GB, free: 15.2 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.00841/0.8885, allocations: 4.658 MB / 0.8179 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.8885, allocations: 8.031 kB / 0.8179 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.8901, allocations: 0.5861 MB / 0.8185 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007045/0.8972, allocations: 3.647 MB / 0.822 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.8973, allocations: 169.8 kB / 0.8222 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/0.8976, allocations: 216.4 kB / 0.8224 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.9085, allocations: 5.239 MB / 0.8275 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.568e-05/0.9086, allocations: 39.62 kB / 0.8276 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/0.9088, allocations: 116 kB / 0.8277 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.235e-05/0.9089, allocations: 82.66 kB / 0.8278 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00894/0.9179, allocations: 3.49 MB / 0.8312 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02537/0.9432, allocations: 26.34 MB / 0.8569 GB, free: 0.7695 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00838/0.9516, allocations: 2.806 MB / 0.8596 GB, free: 13.83 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/0.9533, allocations: 0.8446 MB / 0.8605 GB, free: 12.94 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.9536, allocations: 119.7 kB / 0.8606 GB, free: 12.83 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.238e-05/0.9537, allocations: 74.31 kB / 0.8606 GB, free: 12.75 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=427): time 4.528e-06/0.9537, allocations: 2.625 kB / 0.8606 GB, free: 12.75 MB / 0.6388 GB Notification: Performance of matching and sorting (n=427): time 0.01663/0.9703, allocations: 5.552 MB / 0.8661 GB, free: 7.172 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000407/0.9707, allocations: 0.6123 MB / 0.8667 GB, free: 6.422 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005662/0.9764, allocations: 3.304 MB / 0.8699 GB, free: 3.094 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0003896/0.9768, allocations: 53.7 kB / 0.8699 GB, free: 3.035 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.9784, allocations: 1.665 MB / 0.8716 GB, free: 1.355 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001701/0.9801, allocations: 1.452 MB / 0.873 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001477/0.9815, allocations: 0.9714 MB / 0.8739 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.9817, allocations: 311.7 kB / 0.8742 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0025/0.9842, allocations: 1.291 MB / 0.8755 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004127/0.9883, allocations: 3.009 MB / 0.8784 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/0.9996, allocations: 6.217 MB / 0.8845 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.234e-05/0.9996, allocations: 19.75 kB / 0.8845 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01009/1.01, allocations: 4.813 MB / 0.8892 GB, free: 13.79 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/1.01, allocations: 28 kB / 0.8893 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005869/1.016, allocations: 2.953 MB / 0.8921 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002995/1.016, allocations: 120.8 kB / 0.8923 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/1.02, allocations: 1.251 MB / 0.8935 GB, free: 9.402 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/1.021, allocations: 1.44 MB / 0.8949 GB, free: 7.863 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/1.024, allocations: 0.5375 MB / 0.8954 GB, free: 7.324 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006547/1.025, allocations: 323.8 kB / 0.8957 GB, free: 7.008 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.004755/1.03, allocations: 1.973 MB / 0.8976 GB, free: 5.027 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0046/1.034, allocations: 2.997 MB / 0.9006 GB, free: 1.262 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01175/1.046, allocations: 6.184 MB / 0.9066 GB, free: 10.38 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.089e-05/1.046, allocations: 16.11 kB / 0.9066 GB, free: 10.36 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01095/1.057, allocations: 4.807 MB / 0.9113 GB, free: 5.547 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/1.057, allocations: 28 kB / 0.9113 GB, free: 5.52 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006183/1.063, allocations: 2.937 MB / 0.9142 GB, free: 2.543 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/1.064, allocations: 116.8 kB / 0.9143 GB, free: 2.426 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003708/1.067, allocations: 1.254 MB / 0.9155 GB, free: 1.172 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/1.069, allocations: 1.438 MB / 0.917 GB, free: 15.63 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/1.072, allocations: 413.2 kB / 0.9173 GB, free: 15.22 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007167/1.073, allocations: 323.8 kB / 0.9177 GB, free: 14.91 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.001523/1.074, allocations: 497.1 kB / 0.9181 GB, free: 14.42 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001781/1.076, allocations: 436.9 kB / 0.9185 GB, free: 13.99 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.01027/1.086, allocations: 4.85 MB / 0.9233 GB, free: 9.395 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.101628883043304] Failed to read output from testmodel.py, exit status != 0: 1.294432224938646 1.309580465 0.42627293600000005 Calling exit ...