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.009994/0.009994, allocations: 1.345 MB / 21.03 MB, free: 0.7617 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.001262/0.001262, allocations: 78.83 kB / 24.58 MB, free: 2.137 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.001546/0.001546, allocations: 168.7 kB / 28.26 MB, free: 3.398 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.437/1.437, allocations: 177.2 MB / 209 MB, free: 7.547 MB / 190.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.004/1.004, allocations: 102.5 MB / 368.4 MB, free: 4.148 MB / 334.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: 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_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_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.06554/0.06554, allocations: 20.96 MB / 0.5569 GB, free: 4.93 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.2172, allocations: 81.88 MB / 0.6369 GB, free: 2.898 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.1408/0.358, allocations: 40.93 MB / 0.6769 GB, free: 9.996 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3556/0.7136, allocations: 17.89 MB / 0.6943 GB, free: 17.95 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005134/0.7187, allocations: 102.4 kB / 0.6944 GB, free: 17.95 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.004914/0.7236, allocations: 1.667 MB / 0.6961 GB, free: 17.79 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.007364/0.731, allocations: 2.107 MB / 0.6981 GB, free: 17.13 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.007792/0.7388, allocations: 2.668 MB / 0.7007 GB, free: 16.25 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01026/0.7491, allocations: 5.644 MB / 0.7062 GB, free: 13.8 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003934/0.753, allocations: 1.644 MB / 0.7078 GB, free: 13.04 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005456/0.7585, allocations: 2.35 MB / 0.7101 GB, free: 12.07 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005251/0.7637, allocations: 2.302 MB / 0.7124 GB, free: 11.22 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001619/0.7653, allocations: 360.2 kB / 0.7127 GB, free: 11.22 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00505/0.7704, allocations: 1.328 MB / 0.714 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002086/0.7725, allocations: 1.166 MB / 0.7152 GB, free: 10.34 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.00442/0.7769, allocations: 1.614 MB / 0.7167 GB, free: 9.426 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.7885, allocations: 6.313 MB / 0.7229 GB, free: 5.688 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7885, allocations: 0.8438 kB / 0.7229 GB, free: 5.688 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7885, allocations: 0 / 0.7229 GB, free: 5.688 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0002851/0.7888, allocations: 1.938 kB / 0.7229 GB, free: 5.688 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.01333/0.8021, allocations: 4.65 MB / 0.7274 GB, free: 2.402 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.8022, allocations: 11.69 kB / 0.7275 GB, free: 2.402 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.805, allocations: 0.585 MB / 0.728 GB, free: 2.074 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009188/0.8142, allocations: 3.641 MB / 0.7316 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/0.8145, allocations: 167.3 kB / 0.7317 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007749/0.8153, allocations: 217.4 kB / 0.7319 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/0.8299, allocations: 5.875 MB / 0.7377 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001962/0.8301, allocations: 38.75 kB / 0.7377 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006747/0.8308, allocations: 120 kB / 0.7378 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/0.8309, allocations: 83.73 kB / 0.7379 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/0.8424, allocations: 3.463 MB / 0.7413 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02698/0.8693, allocations: 24.98 MB / 0.7657 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009098/0.8784, allocations: 2.805 MB / 0.7684 GB, free: 15.31 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/0.8805, allocations: 0.829 MB / 0.7692 GB, free: 14.47 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004468/0.881, allocations: 117 kB / 0.7694 GB, free: 14.35 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.432e-05/0.8811, allocations: 63.81 kB / 0.7694 GB, free: 14.28 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=427): time 6.533e-06/0.8811, allocations: 2.688 kB / 0.7694 GB, free: 14.28 MB / 0.6232 GB Notification: Performance of matching and sorting (n=427): time 0.01956/0.9006, allocations: 5.535 MB / 0.7748 GB, free: 8.723 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003638/0.901, allocations: 0.6098 MB / 0.7754 GB, free: 7.973 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006963/0.908, allocations: 3.175 MB / 0.7785 GB, free: 4.809 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0005939/0.9086, allocations: 49.7 kB / 0.7786 GB, free: 4.754 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001742/0.9103, allocations: 1.686 MB / 0.7802 GB, free: 3.07 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.00198/0.9123, allocations: 1.451 MB / 0.7816 GB, free: 1.641 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00264/0.9149, allocations: 0.9675 MB / 0.7826 GB, free: 0.6641 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.915, allocations: 311.8 kB / 0.7829 GB, free: 368 kB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003038/0.9181, allocations: 1.294 MB / 0.7841 GB, free: 15.06 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004786/0.9229, allocations: 3.189 MB / 0.7872 GB, free: 11.02 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0125/0.9354, allocations: 6.226 MB / 0.7933 GB, free: 4.055 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.031e-05/0.9354, allocations: 16 kB / 0.7933 GB, free: 4.039 MB / 0.6388 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01146/0.9469, allocations: 4.794 MB / 0.798 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.381e-05/0.947, allocations: 30.66 kB / 0.7981 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006559/0.9535, allocations: 2.957 MB / 0.8009 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/0.9539, allocations: 115.5 kB / 0.8011 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003926/0.9578, allocations: 1.256 MB / 0.8023 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.9593, allocations: 1.419 MB / 0.8037 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/0.9629, allocations: 0.5068 MB / 0.8042 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007346/0.9636, allocations: 326.4 kB / 0.8045 GB, free: 8.523 MB / 0.6544 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.004688/0.9683, allocations: 1.981 MB / 0.8064 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004515/0.9728, allocations: 3.17 MB / 0.8095 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01185/0.9847, allocations: 6.187 MB / 0.8155 GB, free: 11.58 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.514e-05/0.9847, allocations: 16.11 kB / 0.8156 GB, free: 11.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01077/0.9955, allocations: 4.778 MB / 0.8202 GB, free: 6.781 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.9955, allocations: 31.94 kB / 0.8203 GB, free: 6.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006263/1.002, allocations: 2.936 MB / 0.8231 GB, free: 3.773 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002856/1.002, allocations: 112.8 kB / 0.8232 GB, free: 3.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003831/1.006, allocations: 1.251 MB / 0.8245 GB, free: 2.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/1.007, allocations: 1.418 MB / 0.8258 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003235/1.011, allocations: 421.1 kB / 0.8262 GB, free: 496 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006564/1.011, allocations: 327.8 kB / 0.8266 GB, free: 168 kB / 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: 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.001312/1.013, allocations: 494.8 kB / 0.827 GB, free: 15.68 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/1.014, allocations: 417.1 kB / 0.8274 GB, free: 15.27 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.009739/1.024, allocations: 4.901 MB / 0.8322 GB, free: 10.66 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.650094326003455] Failed to read output from testmodel.py, exit status != 0: 1.2009918499970809 1.21565326 0.42393647199999995 Calling exit ...