Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST_.conf.json 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.001304/0.001304, allocations: 104.4 kB / 16.45 MB, free: 6.449 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.001462/0.001462, allocations: 208.9 kB / 19.42 MB, free: 3.641 MB / 14.72 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.573/1.573, allocations: 230.6 MB / 252.8 MB, free: 9 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1596/0.1596, allocations: 23.85 MB / 332.7 MB, free: 12.37 MB / 270.1 MB " [Timeout remaining time 179] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.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) Running command: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical 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: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 66.25 kB / 466 MB, free: 10.14 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4095, allocations: 59.82 MB / 0.5135 GB, free: 8.84 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819:47:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819:47:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST_): time 0.05235/0.4618, allocations: 33.11 MB / 0.5458 GB, free: 8.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.208/0.6698, allocations: 151.2 MB / 0.6935 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/0.673, allocations: 47.75 kB / 0.6935 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004319/0.6773, allocations: 1.239 MB / 0.6947 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00497/0.6823, allocations: 1.23 MB / 0.6959 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004665/0.687, allocations: 1.614 MB / 0.6975 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006421/0.6934, allocations: 3.319 MB / 0.7007 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.6947, allocations: 0.6586 MB / 0.7014 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/0.6965, allocations: 1.164 MB / 0.7025 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.6984, allocations: 1.381 MB / 0.7039 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005113/0.6989, allocations: 300 kB / 0.7042 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00478/0.7037, allocations: 1.841 MB / 0.706 GB, free: 5.629 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009924/0.7047, allocations: 0.9226 MB / 0.7069 GB, free: 4.703 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00228/0.707, allocations: 1.752 MB / 0.7086 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.7191, allocations: 5.437 MB / 0.7139 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.7191, allocations: 0 / 0.7139 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7191, allocations: 0 / 0.7139 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001686/0.7192, allocations: 7.875 kB / 0.7139 GB, free: 13.47 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 914 * Number of variables: 914 Notification: Performance of Generate backend data structure: time 0.009356/0.7286, allocations: 3.799 MB / 0.7176 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.7286, allocations: 8.031 kB / 0.7176 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007565/0.7294, allocations: 469.5 kB / 0.7181 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/0.7313, allocations: 0.666 MB / 0.7187 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/0.7342, allocations: 1.601 MB / 0.7203 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005713/0.7348, allocations: 451.5 kB / 0.7207 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004482/0.7352, allocations: 292.3 kB / 0.721 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3263/1.061, allocations: 11.41 MB / 0.7321 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.227e-05/1.062, allocations: 2.078 kB / 0.7321 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/1.062, allocations: 126.3 kB / 0.7322 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006508/1.062, allocations: 487.3 kB / 0.7327 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02479/1.087, allocations: 19.86 MB / 0.7521 GB, free: 178.7 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03902/1.126, allocations: 29.41 MB / 0.7808 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005661/1.132, allocations: 5.282 MB / 0.786 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004192/1.136, allocations: 4.094 MB / 0.79 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002787/1.139, allocations: 1.832 MB / 0.7918 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/1.139, allocations: 43.88 kB / 0.7918 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.757e-06/1.139, allocations: 0 / 0.7918 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1249/1.264, allocations: 40.52 MB / 0.8314 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02097/1.285, allocations: 12.75 MB / 0.8438 GB, free: 89.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004156/1.289, allocations: 3.598 MB / 0.8473 GB, free: 85.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001107/1.29, allocations: 61.7 kB / 0.8474 GB, free: 85.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009507/1.291, allocations: 1.531 MB / 0.8489 GB, free: 84.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001158/1.292, allocations: 0.6997 MB / 0.8496 GB, free: 83.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001876/1.294, allocations: 0.7179 MB / 0.8503 GB, free: 82.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.031e-05/1.294, allocations: 301.1 kB / 0.8506 GB, free: 82.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007518/1.302, allocations: 7.053 MB / 0.8575 GB, free: 75.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007768/1.309, allocations: 7.388 MB / 0.8647 GB, free: 67.97 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2291/1.539, allocations: 42.8 MB / 0.9065 GB, free: 25.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/1.539, allocations: 0 / 0.9065 GB, free: 25.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02513/1.564, allocations: 15.63 MB / 0.9217 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/1.564, allocations: 11.94 kB / 0.9217 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/1.564, allocations: 8 kB / 0.9217 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02309/1.587, allocations: 5.392 MB / 0.927 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01496/1.602, allocations: 1.55 MB / 0.9285 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02368/1.625, allocations: 15.55 MB / 0.9437 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006115/1.632, allocations: 230.3 kB / 0.9439 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001508/1.633, allocations: 0.5036 MB / 0.9444 GB, free: 2.25 MB / 0.5762 GB Warning: Assuming fixed start value for the following 1 variables: CO2_dissolutionP.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (208): * Single equations (assignments): 201 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (4,3,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,25), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.003236/1.636, allocations: 0.8435 MB / 0.9452 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/1.638, allocations: 329.8 kB / 0.9456 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.361/1.999, allocations: 11.7 MB / 0.957 GB, free: 192.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02459/2.023, allocations: 9.244 MB / 0.966 GB, free: 188.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-05/2.023, allocations: 2.234 kB / 0.966 GB, free: 188.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.887e-05/2.024, allocations: 13.5 kB / 0.966 GB, free: 188.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03657/2.06, allocations: 17.21 MB / 0.9828 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/2.06, allocations: 8.281 kB / 0.9828 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00822/2.068, allocations: 0.7703 MB / 0.9836 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02319/2.092, allocations: 4.152 MB / 0.9877 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006521/2.092, allocations: 118.8 kB / 0.9878 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01885/2.111, allocations: 13.36 MB / 1.001 GB, free: 166.1 MB / 0.5762 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002129/2.113, allocations: 0.7552 MB / 1.002 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01959/2.133, allocations: 10.88 MB / 1.012 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/2.134, allocations: 0.5274 MB / 1.013 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007544/2.135, allocations: 53.53 kB / 1.013 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/2.137, allocations: 87.92 kB / 1.013 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007637/2.138, allocations: 270.8 kB / 1.013 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003105/2.138, allocations: 227.9 kB / 1.013 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003904/2.142, allocations: 3.214 MB / 1.016 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/2.142, allocations: 0 / 1.016 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004327/2.146, allocations: 1.183 MB / 1.018 GB, free: 149.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],CO2_dissolutionP.rear.n_flow) * Number of discrete variables: 3 ($cse30,$cse26,$cse19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (4,3,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,28), (9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01756/2.164, allocations: 10.49 MB / 1.028 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01552/2.179, allocations: 9.438 MB / 1.037 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/2.179, allocations: 4 kB / 1.037 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007694/2.187, allocations: 3.181 MB / 1.04 GB, free: 126 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003968/2.191, allocations: 0.6859 MB / 1.041 GB, free: 125.4 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.924542177002877] Failed to read output from testmodel.py, exit status != 0: 2.199606636990211 2.208495411 1.487153889 Calling exit ...