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.01469/0.01469, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.001687/0.001687, allocations: 107.5 kB / 24.98 MB, free: 2.156 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.001494/0.001494, allocations: 204 kB / 28.71 MB, free: 3.441 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.42/1.42, allocations: 230.6 MB / 262.9 MB, free: 6.016 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.008/1.008, allocations: 130.7 MB / 450.4 MB, free: 6.555 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.0303/0.0303, allocations: 20.6 MB / 0.6368 GB, free: 4.789 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1984, allocations: 81.9 MB / 0.7168 GB, free: 2.809 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.4886/0.687, allocations: 50.59 MB / 0.7662 GB, free: 16.86 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02561/0.7126, allocations: 18.6 MB / 0.7844 GB, free: 3.578 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004765/0.7174, allocations: 99.5 kB / 0.7844 GB, free: 3.531 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005189/0.7226, allocations: 1.722 MB / 0.7861 GB, free: 2.691 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006988/0.7296, allocations: 2.101 MB / 0.7882 GB, free: 1.375 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006615/0.7362, allocations: 2.664 MB / 0.7908 GB, free: 4 kB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01038/0.7466, allocations: 5.642 MB / 0.7963 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003486/0.7501, allocations: 1.522 MB / 0.7978 GB, free: 11.63 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00514/0.7552, allocations: 2.337 MB / 0.8001 GB, free: 10.3 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005141/0.7603, allocations: 2.437 MB / 0.8024 GB, free: 8.754 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001403/0.7617, allocations: 365.8 kB / 0.8028 GB, free: 8.754 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005437/0.7672, allocations: 1.776 MB / 0.8045 GB, free: 7.902 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002145/0.7693, allocations: 1.162 MB / 0.8057 GB, free: 7.023 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004151/0.7735, allocations: 2.118 MB / 0.8077 GB, free: 5.48 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.7841, allocations: 6.375 MB / 0.814 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.7841, allocations: 0 / 0.814 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7841, allocations: 0 / 0.814 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001609/0.7842, allocations: 0 / 0.814 GB, free: 15.32 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.008326/0.7926, allocations: 4.658 MB / 0.8185 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.7926, allocations: 12.03 kB / 0.8185 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.7943, allocations: 0.586 MB / 0.8191 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006803/0.8011, allocations: 3.633 MB / 0.8226 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.8012, allocations: 173.6 kB / 0.8228 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003382/0.8016, allocations: 216.4 kB / 0.823 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.8127, allocations: 5.248 MB / 0.8281 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.453e-05/0.8128, allocations: 35.62 kB / 0.8282 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002455/0.813, allocations: 116 kB / 0.8283 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-05/0.8131, allocations: 80 kB / 0.8283 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009486/0.8226, allocations: 3.489 MB / 0.8318 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02309/0.8457, allocations: 26.35 MB / 0.8575 GB, free: 0.8945 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008436/0.8541, allocations: 2.815 MB / 0.8602 GB, free: 13.95 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.8558, allocations: 0.8387 MB / 0.8611 GB, free: 13.06 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003003/0.8561, allocations: 121 kB / 0.8612 GB, free: 12.95 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.27e-05/0.8562, allocations: 73.06 kB / 0.8612 GB, free: 12.87 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=427): time 5.29e-06/0.8562, allocations: 2.812 kB / 0.8612 GB, free: 12.87 MB / 0.6388 GB Notification: Performance of matching and sorting (n=427): time 0.01702/0.8732, allocations: 5.557 MB / 0.8667 GB, free: 7.289 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003386/0.8735, allocations: 0.6123 MB / 0.8673 GB, free: 6.539 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005251/0.8788, allocations: 3.304 MB / 0.8705 GB, free: 3.211 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0004211/0.8792, allocations: 53.7 kB / 0.8705 GB, free: 3.152 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.8806, allocations: 1.662 MB / 0.8722 GB, free: 1.477 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001552/0.8821, allocations: 1.452 MB / 0.8736 GB, free: 12 kB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001518/0.8837, allocations: 0.9739 MB / 0.8745 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8838, allocations: 301.1 kB / 0.8748 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002541/0.8863, allocations: 1.297 MB / 0.8761 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004002/0.8903, allocations: 3.009 MB / 0.879 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.9014, allocations: 6.208 MB / 0.8851 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.714e-05/0.9014, allocations: 22.59 kB / 0.8851 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01061/0.912, allocations: 4.813 MB / 0.8898 GB, free: 13.92 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/0.9121, allocations: 30.66 kB / 0.8898 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006223/0.9183, allocations: 2.966 MB / 0.8927 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/0.9187, allocations: 108.8 kB / 0.8928 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003755/0.9225, allocations: 1.262 MB / 0.8941 GB, free: 9.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.924, allocations: 1.432 MB / 0.8955 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/0.9271, allocations: 0.5376 MB / 0.896 GB, free: 7.441 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007259/0.9278, allocations: 327.8 kB / 0.8963 GB, free: 7.121 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.004642/0.9324, allocations: 1.966 MB / 0.8982 GB, free: 5.148 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00434/0.9368, allocations: 3.001 MB / 0.9012 GB, free: 1.379 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01131/0.9481, allocations: 6.183 MB / 0.9072 GB, free: 10.49 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.972e-05/0.9481, allocations: 18.62 kB / 0.9072 GB, free: 10.48 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01076/0.9589, allocations: 4.793 MB / 0.9119 GB, free: 5.676 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/0.9589, allocations: 30.66 kB / 0.9119 GB, free: 5.648 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00622/0.9652, allocations: 2.937 MB / 0.9148 GB, free: 2.672 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.9655, allocations: 120.8 kB / 0.9149 GB, free: 2.551 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003738/0.9692, allocations: 1.251 MB / 0.9161 GB, free: 1.301 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.9706, allocations: 1.437 MB / 0.9175 GB, free: 15.75 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/0.9736, allocations: 417.5 kB / 0.9179 GB, free: 15.34 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007002/0.9743, allocations: 323.9 kB / 0.9182 GB, free: 15.03 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.001367/0.9756, allocations: 0.4929 MB / 0.9187 GB, free: 14.53 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001652/0.9773, allocations: 436.9 kB / 0.9191 GB, free: 14.1 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.009844/0.9871, allocations: 4.855 MB / 0.9239 GB, free: 9.492 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.7376118110259995] Failed to read output from testmodel.py, exit status != 0: 1.1663660010090098 1.187964718 0.39960239899999994 Calling exit ...