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.001278/0.001278, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001421/0.001421, allocations: 218 kB / 23.04 MB, free: 5.074 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.1473/0.1473, allocations: 23.85 MB / 337.1 MB, free: 11.19 MB / 270.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_",fmuType="cs",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.002152/0.002152, allocations: 59.91 kB / 471.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3666, allocations: 59.85 MB / 0.5193 GB, free: 9.594 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.05256/0.4192, allocations: 33.12 MB / 0.5517 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2149/0.6341, allocations: 151.3 MB / 0.6994 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005112/0.6392, allocations: 35.81 kB / 0.6994 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005476/0.6447, allocations: 1.235 MB / 0.7006 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006147/0.6508, allocations: 1.241 MB / 0.7018 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005833/0.6567, allocations: 1.626 MB / 0.7034 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007158/0.6638, allocations: 3.315 MB / 0.7067 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.6655, allocations: 0.6083 MB / 0.7073 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.6678, allocations: 1.16 MB / 0.7084 GB, free: 7.953 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/0.6706, allocations: 1.373 MB / 0.7097 GB, free: 6.574 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009873/0.6715, allocations: 304 kB / 0.71 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007401/0.6789, allocations: 1.845 MB / 0.7118 GB, free: 4.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002509/0.6815, allocations: 0.9265 MB / 0.7127 GB, free: 3.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004137/0.6856, allocations: 1.752 MB / 0.7144 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.6976, allocations: 5.429 MB / 0.7197 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.6976, allocations: 0 / 0.7197 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6976, allocations: 0 / 0.7197 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001459/0.6978, allocations: 0 / 0.7197 GB, free: 12.29 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.008516/0.7063, allocations: 3.728 MB / 0.7234 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.7064, allocations: 8.031 kB / 0.7234 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001239/0.7065, allocations: 85.98 kB / 0.7235 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006864/0.7072, allocations: 473.5 kB / 0.7239 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.709, allocations: 0.662 MB / 0.7246 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003305/0.7123, allocations: 1.547 MB / 0.7261 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006432/0.713, allocations: 0.5318 MB / 0.7266 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004993/0.7135, allocations: 300 kB / 0.7269 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.31/1.024, allocations: 11.93 MB / 0.7385 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.97e-05/1.024, allocations: 1.531 kB / 0.7385 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/1.024, allocations: 114.7 kB / 0.7387 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007943/1.025, allocations: 491.8 kB / 0.7391 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0232/1.048, allocations: 20.73 MB / 0.7594 GB, free: 177.9 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.04009/1.088, allocations: 29.93 MB / 0.7886 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005697/1.094, allocations: 5.345 MB / 0.7938 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004227/1.098, allocations: 4.155 MB / 0.7979 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002307/1.1, allocations: 0.7961 MB / 0.7986 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/1.1, allocations: 47.88 kB / 0.7987 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 2.535e-06/1.1, allocations: 0 / 0.7987 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1427/1.243, allocations: 40.46 MB / 0.8382 GB, free: 99.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02076/1.264, allocations: 12.74 MB / 0.8506 GB, free: 86.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00508/1.269, allocations: 3.606 MB / 0.8542 GB, free: 82.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001211/1.27, allocations: 57.7 kB / 0.8542 GB, free: 82.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001232/1.271, allocations: 1.533 MB / 0.8557 GB, free: 81.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001483/1.273, allocations: 0.701 MB / 0.8564 GB, free: 80.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003006/1.276, allocations: 0.7179 MB / 0.8571 GB, free: 80.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.353e-05/1.276, allocations: 307.8 kB / 0.8574 GB, free: 79.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00782/1.283, allocations: 7.16 MB / 0.8644 GB, free: 72.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008097/1.292, allocations: 7.512 MB / 0.8717 GB, free: 64.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2907/1.582, allocations: 42.91 MB / 0.9136 GB, free: 22.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/1.582, allocations: 4 kB / 0.9136 GB, free: 22.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02339/1.606, allocations: 15.83 MB / 0.9291 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/1.606, allocations: 8 kB / 0.9291 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/1.606, allocations: 11.98 kB / 0.9291 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02168/1.627, allocations: 5.478 MB / 0.9345 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01436/1.642, allocations: 1.542 MB / 0.936 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3096/1.951, allocations: 15.6 MB / 0.9512 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005547/1.957, allocations: 222.1 kB / 0.9514 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001554/1.959, allocations: 0.4971 MB / 0.9519 GB, free: 192.5 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.003503/1.962, allocations: 0.8486 MB / 0.9527 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.963, allocations: 327 kB / 0.953 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02934/1.993, allocations: 11.72 MB / 0.9645 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02331/2.016, allocations: 9.28 MB / 0.9736 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/2.016, allocations: 4.719 kB / 0.9736 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.237e-05/2.016, allocations: 7.547 kB / 0.9736 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03206/2.048, allocations: 17.36 MB / 0.9905 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/2.048, allocations: 11.56 kB / 0.9905 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007625/2.056, allocations: 0.7662 MB / 0.9913 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02223/2.078, allocations: 4.152 MB / 0.9953 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005853/2.079, allocations: 119.2 kB / 0.9955 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01701/2.096, allocations: 12.95 MB / 1.008 GB, free: 161.5 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.001965/2.098, allocations: 0.761 MB / 1.009 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01954/2.117, allocations: 10.91 MB / 1.019 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/2.119, allocations: 457.5 kB / 1.02 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/2.12, allocations: 55.89 kB / 1.02 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/2.122, allocations: 94.56 kB / 1.02 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001011/2.123, allocations: 274.2 kB / 1.02 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000521/2.124, allocations: 227.9 kB / 1.021 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004878/2.129, allocations: 3.214 MB / 1.024 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.129, allocations: 2.656 kB / 1.024 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005543/2.134, allocations: 1.187 MB / 1.025 GB, free: 144.4 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.0192/2.153, allocations: 10.53 MB / 1.035 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01614/2.169, allocations: 9.569 MB / 1.044 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/2.169, allocations: 4 kB / 1.044 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008022/2.177, allocations: 3.19 MB / 1.048 GB, free: 121.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00518/2.183, allocations: 0.6974 MB / 1.048 GB, free: 120.4 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.831888612010516] Failed to read output from testmodel.py, exit status != 0: 2.1924313510535285 2.203223657 1.503044064 Calling exit ...