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.01054/0.01054, allocations: 1.761 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.001474/0.001474, allocations: 113.2 kB / 24.19 MB, free: 2.688 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.001781/0.001781, allocations: 208.5 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.501/1.501, allocations: 230.6 MB / 262.1 MB, free: 6.004 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.103/1.103, allocations: 130.7 MB / 449.6 MB, free: 6.582 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.03294/0.03294, allocations: 20.78 MB / 0.6362 GB, free: 4.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.215, allocations: 81.91 MB / 0.7162 GB, free: 2.648 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.6079/0.8228, allocations: 50.58 MB / 0.7656 GB, free: 16.8 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03037/0.8532, allocations: 18.6 MB / 0.7838 GB, free: 3.516 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0062/0.8594, allocations: 103.6 kB / 0.7839 GB, free: 3.465 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.00618/0.8656, allocations: 1.715 MB / 0.7855 GB, free: 2.629 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.008746/0.8743, allocations: 2.105 MB / 0.7876 GB, free: 1.309 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007974/0.8823, allocations: 2.663 MB / 0.7902 GB, free: 15.91 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01208/0.8944, allocations: 5.639 MB / 0.7957 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003603/0.898, allocations: 1.525 MB / 0.7972 GB, free: 11.53 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005959/0.9039, allocations: 2.337 MB / 0.7995 GB, free: 10.2 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006141/0.9101, allocations: 2.44 MB / 0.8019 GB, free: 8.652 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001627/0.9117, allocations: 360.1 kB / 0.8022 GB, free: 8.652 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005706/0.9174, allocations: 1.777 MB / 0.8039 GB, free: 7.797 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001809/0.9192, allocations: 1.159 MB / 0.8051 GB, free: 6.922 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004074/0.9233, allocations: 2.12 MB / 0.8071 GB, free: 5.379 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.9363, allocations: 6.372 MB / 0.8134 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.9363, allocations: 0 / 0.8134 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9363, allocations: 0 / 0.8134 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002833/0.9366, allocations: 0 / 0.8134 GB, free: 15.19 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.01124/0.9478, allocations: 4.663 MB / 0.8179 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.9479, allocations: 8.031 kB / 0.8179 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.9497, allocations: 0.5861 MB / 0.8185 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007922/0.9576, allocations: 3.643 MB / 0.822 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.9578, allocations: 167.6 kB / 0.8222 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.9581, allocations: 216.4 kB / 0.8224 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.9698, allocations: 5.244 MB / 0.8275 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.87e-05/0.9699, allocations: 39.62 kB / 0.8276 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/0.9702, allocations: 116 kB / 0.8277 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.948e-05/0.9703, allocations: 82.66 kB / 0.8278 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009163/0.9794, allocations: 3.486 MB / 0.8312 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02855/1.008, allocations: 26.34 MB / 0.8569 GB, free: 0.7617 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/1.02, allocations: 2.82 MB / 0.8596 GB, free: 13.81 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002748/1.023, allocations: 0.8302 MB / 0.8605 GB, free: 12.94 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004653/1.024, allocations: 121.1 kB / 0.8606 GB, free: 12.82 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/1.024, allocations: 76.94 kB / 0.8606 GB, free: 12.74 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=427): time 7.294e-06/1.024, allocations: 0 / 0.8606 GB, free: 12.74 MB / 0.6388 GB Notification: Performance of matching and sorting (n=427): time 0.02755/1.051, allocations: 5.557 MB / 0.8661 GB, free: 7.16 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004555/1.052, allocations: 0.6124 MB / 0.8667 GB, free: 6.41 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008423/1.06, allocations: 3.304 MB / 0.8699 GB, free: 3.082 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0007923/1.061, allocations: 53.7 kB / 0.8699 GB, free: 3.023 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001948/1.063, allocations: 1.665 MB / 0.8716 GB, free: 1.344 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002517/1.065, allocations: 1.455 MB / 0.873 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/1.068, allocations: 0.9714 MB / 0.8739 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.068, allocations: 301.1 kB / 0.8742 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003324/1.071, allocations: 1.295 MB / 0.8755 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004796/1.076, allocations: 3.009 MB / 0.8784 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/1.088, allocations: 6.22 MB / 0.8845 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-05/1.088, allocations: 22.44 kB / 0.8845 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01197/1.1, allocations: 4.81 MB / 0.8892 GB, free: 13.78 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/1.1, allocations: 30.66 kB / 0.8893 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005942/1.106, allocations: 2.95 MB / 0.8921 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003126/1.106, allocations: 112.8 kB / 0.8922 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003751/1.11, allocations: 1.258 MB / 0.8935 GB, free: 9.391 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/1.112, allocations: 1.439 MB / 0.8949 GB, free: 7.852 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/1.115, allocations: 0.5336 MB / 0.8954 GB, free: 7.316 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005287/1.115, allocations: 328 kB / 0.8957 GB, free: 6.996 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.004273/1.12, allocations: 1.971 MB / 0.8976 GB, free: 5.02 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004055/1.124, allocations: 3.001 MB / 0.9006 GB, free: 1.25 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01099/1.135, allocations: 6.188 MB / 0.9066 GB, free: 10.36 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.07e-05/1.135, allocations: 16.11 kB / 0.9066 GB, free: 10.35 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01005/1.145, allocations: 4.796 MB / 0.9113 GB, free: 5.547 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/1.145, allocations: 32 kB / 0.9113 GB, free: 5.516 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005845/1.151, allocations: 2.945 MB / 0.9142 GB, free: 2.531 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002606/1.151, allocations: 112.8 kB / 0.9143 GB, free: 2.418 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003577/1.154, allocations: 1.256 MB / 0.9155 GB, free: 1.16 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/1.156, allocations: 1.436 MB / 0.917 GB, free: 15.62 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/1.159, allocations: 415.9 kB / 0.9173 GB, free: 15.21 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005003/1.16, allocations: 323.8 kB / 0.9177 GB, free: 14.89 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.001385/1.161, allocations: 499.5 kB / 0.9181 GB, free: 14.41 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/1.162, allocations: 436.9 kB / 0.9185 GB, free: 13.98 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.009291/1.172, allocations: 4.849 MB / 0.9233 GB, free: 9.391 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.240404084997863] Failed to read output from testmodel.py, exit status != 0: 1.3842212969975662 1.399319158 0.45955290099999996 Calling exit ...