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.01238/0.01238, allocations: 1.744 MB / 21.38 MB, free: 464 kB / 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.001232/0.001232, allocations: 98.22 kB / 24.97 MB, free: 2.035 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.001456/0.001456, allocations: 210 kB / 28.68 MB, free: 3.324 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.46/1.46, allocations: 230.6 MB / 262.9 MB, free: 5.805 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.055/1.055, allocations: 130.7 MB / 450.4 MB, free: 6.406 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="cs",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.07077/0.07077, allocations: 20.6 MB / 0.6362 GB, free: 5.078 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.2488, allocations: 81.9 MB / 0.7162 GB, free: 3.086 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.4945/0.7433, allocations: 48.34 MB / 0.7634 GB, free: 18.65 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02578/0.7691, allocations: 17.88 MB / 0.7809 GB, free: 6.125 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004467/0.7735, allocations: 103.9 kB / 0.781 GB, free: 6.074 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004861/0.7784, allocations: 1.678 MB / 0.7826 GB, free: 5.277 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007601/0.786, allocations: 2.104 MB / 0.7847 GB, free: 3.965 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007136/0.7931, allocations: 2.674 MB / 0.7873 GB, free: 2.586 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01046/0.8036, allocations: 5.64 MB / 0.7928 GB, free: 15.35 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002937/0.8065, allocations: 1.513 MB / 0.7943 GB, free: 14.28 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004573/0.8111, allocations: 2.342 MB / 0.7966 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0042/0.8153, allocations: 2.438 MB / 0.7989 GB, free: 11.4 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0006372/0.8159, allocations: 360.4 kB / 0.7993 GB, free: 11.4 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003606/0.8195, allocations: 1.363 MB / 0.8006 GB, free: 10.83 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.8208, allocations: 1.171 MB / 0.8018 GB, free: 9.941 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001998/0.8228, allocations: 1.614 MB / 0.8033 GB, free: 8.902 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0088/0.8316, allocations: 6.317 MB / 0.8095 GB, free: 2.926 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.8316, allocations: 2.625 kB / 0.8095 GB, free: 2.926 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8316, allocations: 0 / 0.8095 GB, free: 2.926 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001161/0.8317, allocations: 0 / 0.8095 GB, free: 2.926 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.007782/0.8395, allocations: 4.641 MB / 0.814 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.8395, allocations: 12.03 kB / 0.8141 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.302e-05/0.8396, allocations: 68.67 kB / 0.8141 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004876/0.8401, allocations: 407.8 kB / 0.8145 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.8418, allocations: 0.5861 MB / 0.8151 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006647/0.8484, allocations: 3.659 MB / 0.8187 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.8486, allocations: 164.9 kB / 0.8188 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.8489, allocations: 220.1 kB / 0.819 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.8602, allocations: 5.871 MB / 0.8248 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.332e-05/0.8602, allocations: 39.62 kB / 0.8248 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.8605, allocations: 116 kB / 0.8249 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.029e-05/0.8605, allocations: 80 kB / 0.825 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008847/0.8694, allocations: 3.486 MB / 0.8284 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02233/0.8917, allocations: 25.33 MB / 0.8531 GB, free: 4.172 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008166/0.8999, allocations: 2.801 MB / 0.8559 GB, free: 1.23 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.9013, allocations: 0.8263 MB / 0.8567 GB, free: 368 kB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.9016, allocations: 113.1 kB / 0.8568 GB, free: 252 kB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/0.9017, allocations: 67.75 kB / 0.8568 GB, free: 176 kB / 0.6232 GB Notification: Performance of pre-optimization done (n=427): time 5.27e-06/0.9017, allocations: 0 / 0.8568 GB, free: 176 kB / 0.6232 GB Notification: Performance of matching and sorting (n=427): time 0.01647/0.9182, allocations: 5.553 MB / 0.8623 GB, free: 10.6 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003444/0.9185, allocations: 0.6098 MB / 0.8629 GB, free: 9.848 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005034/0.9235, allocations: 3.317 MB / 0.8661 GB, free: 6.512 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0002665/0.9238, allocations: 49.7 kB / 0.8661 GB, free: 6.457 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.9252, allocations: 1.669 MB / 0.8678 GB, free: 4.773 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001374/0.9266, allocations: 1.46 MB / 0.8692 GB, free: 3.301 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00148/0.928, allocations: 0.9675 MB / 0.8701 GB, free: 2.324 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.9282, allocations: 309.2 kB / 0.8704 GB, free: 2.02 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/0.9306, allocations: 1.298 MB / 0.8717 GB, free: 0.7148 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004171/0.9348, allocations: 3.182 MB / 0.8748 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/0.9471, allocations: 6.226 MB / 0.8809 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-05/0.9472, allocations: 16 kB / 0.8809 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01231/0.9595, allocations: 4.81 MB / 0.8856 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.554e-05/0.9596, allocations: 34.66 kB / 0.8856 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005772/0.9653, allocations: 2.95 MB / 0.8885 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/0.9656, allocations: 116.8 kB / 0.8886 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003534/0.9692, allocations: 1.251 MB / 0.8899 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.9706, allocations: 1.43 MB / 0.8912 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.9735, allocations: 0.5376 MB / 0.8918 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005239/0.974, allocations: 329.9 kB / 0.8921 GB, free: 10.09 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.004012/0.978, allocations: 1.975 MB / 0.894 GB, free: 8.109 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004136/0.9822, allocations: 3.174 MB / 0.8971 GB, free: 4.074 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0111/0.9933, allocations: 6.185 MB / 0.9032 GB, free: 13.15 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-05/0.9933, allocations: 16 kB / 0.9032 GB, free: 13.13 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.009895/1.003, allocations: 4.8 MB / 0.9079 GB, free: 8.328 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/1.003, allocations: 33.56 kB / 0.9079 GB, free: 8.297 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005702/1.009, allocations: 2.932 MB / 0.9108 GB, free: 5.32 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/1.009, allocations: 120.8 kB / 0.9109 GB, free: 5.199 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003569/1.013, allocations: 1.248 MB / 0.9121 GB, free: 3.949 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/1.014, allocations: 1.438 MB / 0.9135 GB, free: 2.406 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/1.017, allocations: 413.2 kB / 0.9139 GB, free: 2 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005447/1.018, allocations: 330.5 kB / 0.9142 GB, free: 1.68 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.001322/1.019, allocations: 493.3 kB / 0.9147 GB, free: 1.191 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/1.02, allocations: 443.5 kB / 0.9151 GB, free: 0.7578 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.008824/1.029, allocations: 4.847 MB / 0.9198 GB, free: 12.21 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.913399429060519] Failed to read output from testmodel.py, exit status != 0: 1.2255187360569835 1.239989156 0.40537166700000005 Calling exit ...