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.001018/0.001018, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009714/0.0009714, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 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.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.1065/0.1065, allocations: 17.38 MB / 277.6 MB, free: 11.51 MB / 266.7 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: translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_") translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 300.6 MB, free: 1.844 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.34e-05, allocations: 2.312 kB / 300.6 MB, free: 1.84 MB / 266.7 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.08374/0.08375, allocations: 41.61 MB / 342.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3352/0.4189, allocations: 142.6 MB / 484.9 MB, free: 25.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.4205, allocations: 39.56 kB / 484.9 MB, free: 25.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.4227, allocations: 1.197 MB / 486.1 MB, free: 25.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.4251, allocations: 1.257 MB / 487.4 MB, free: 25.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.4279, allocations: 1.603 MB / 489 MB, free: 25.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003145/0.431, allocations: 3.441 MB / 492.4 MB, free: 24.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006395/0.4317, allocations: 0.621 MB / 493 MB, free: 24.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.433, allocations: 1.759 MB / 494.8 MB, free: 23.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008755/0.4339, allocations: 1.011 MB / 495.8 MB, free: 23.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002473/0.4341, allocations: 301.2 kB / 496.1 MB, free: 23.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.4361, allocations: 1.276 MB / 497.4 MB, free: 23.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004179/0.4366, allocations: 0.9292 MB / 498.3 MB, free: 23.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007269/0.4373, allocations: 1.052 MB / 499.3 MB, free: 23.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002765/0.44, allocations: 3.92 MB / 0.4915 GB, free: 21.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.44, allocations: 0 / 0.4915 GB, free: 21.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.44, allocations: 0 / 0.4915 GB, free: 21.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.454e-05/0.4401, allocations: 3.984 kB / 0.4915 GB, free: 21.75 MB / 410.7 MB 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.00268/0.4428, allocations: 3.657 MB / 0.495 GB, free: 19.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.4428, allocations: 11.31 kB / 0.4951 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.4443, allocations: 1.363 MB / 0.4964 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.4454, allocations: 1.129 MB / 0.4975 GB, free: 17.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.4457, allocations: 0.5283 MB / 0.498 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.4459, allocations: 293.7 kB / 0.4983 GB, free: 17.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.4486, allocations: 3.298 MB / 0.5015 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-05/0.4486, allocations: 192 / 0.5015 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.4488, allocations: 120.1 kB / 0.5016 GB, free: 16.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002959/0.4491, allocations: 490.3 kB / 0.5021 GB, free: 16.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003163/0.4522, allocations: 4.144 MB / 0.5061 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.465, allocations: 12.49 MB / 0.5183 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.4664, allocations: 0.7909 MB / 0.5191 GB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007886/0.4671, allocations: 411.6 kB / 0.5195 GB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009135/0.4681, allocations: 0.6882 MB / 0.5202 GB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.4681, allocations: 51.8 kB / 0.5202 GB, free: 4.422 MB / 410.7 MB Notification: Performance of pre-optimization done (n=133): time 4.068e-06/0.4681, allocations: 0 / 0.5202 GB, free: 4.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=200): time 0.05403/0.5221, allocations: 14.26 MB / 0.5341 GB, free: 6.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008026/0.5301, allocations: 4.897 MB / 0.5389 GB, free: 1.266 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.5314, allocations: 1.315 MB / 0.5402 GB, free: 152 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003426/0.5317, allocations: 58.41 kB / 0.5403 GB, free: 88 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006194/0.5323, allocations: 1.324 MB / 0.5416 GB, free: 14.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006845/0.533, allocations: 0.6974 MB / 0.5422 GB, free: 14.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.5343, allocations: 0.5339 MB / 0.5428 GB, free: 13.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5344, allocations: 301.1 kB / 0.5431 GB, free: 13.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/0.5365, allocations: 0.9948 MB / 0.544 GB, free: 12.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.5388, allocations: 1.361 MB / 0.5454 GB, free: 10.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00621/0.545, allocations: 3.73 MB / 0.549 GB, free: 7.105 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.545, allocations: 4 kB / 0.549 GB, free: 7.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007859/0.5529, allocations: 3.27 MB / 0.5522 GB, free: 3.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5529, allocations: 11.94 kB / 0.5522 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.5529, allocations: 8 kB / 0.5522 GB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01121/0.5641, allocations: 3.917 MB / 0.556 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007579/0.5717, allocations: 1.552 MB / 0.5575 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006304/0.578, allocations: 6.225 MB / 0.5636 GB, free: 7.996 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.5802, allocations: 91.94 kB / 0.5637 GB, free: 7.906 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005663/0.5807, allocations: 475.7 kB / 0.5642 GB, free: 7.441 MB / 458.7 MB 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.001332/0.5821, allocations: 230.6 kB / 0.5644 GB, free: 7.207 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000694/0.5827, allocations: 175.8 kB / 0.5646 GB, free: 7.035 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008933/0.5917, allocations: 4.438 MB / 0.5689 GB, free: 2.637 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005747/0.5974, allocations: 2.388 MB / 0.5712 GB, free: 248 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.5974, allocations: 4 kB / 0.5712 GB, free: 244 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.5974, allocations: 11.95 kB / 0.5712 GB, free: 232 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.6091, allocations: 6.363 MB / 0.5775 GB, free: 9.895 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.6091, allocations: 8 kB / 0.5775 GB, free: 9.887 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003957/0.6131, allocations: 0.9267 MB / 0.5784 GB, free: 8.961 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01188/0.6249, allocations: 3.488 MB / 0.5818 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002099/0.6251, allocations: 83.92 kB / 0.5819 GB, free: 5.406 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007845/0.633, allocations: 7.731 MB / 0.5894 GB, free: 13.38 MB / 490.7 MB 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.001032/0.634, allocations: 0.752 MB / 0.5901 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00671/0.6407, allocations: 3.057 MB / 0.5931 GB, free: 9.414 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/0.6411, allocations: 204.9 kB / 0.5933 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.6414, allocations: 51.94 kB / 0.5934 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00067/0.6421, allocations: 59.98 kB / 0.5934 GB, free: 9.105 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000465/0.6425, allocations: 225.3 kB / 0.5936 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/0.6427, allocations: 203.9 kB / 0.5938 GB, free: 8.684 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007312/0.6435, allocations: 0.7354 MB / 0.5946 GB, free: 8.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6435, allocations: 0 / 0.5946 GB, free: 8.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003009/0.6465, allocations: 1.156 MB / 0.5957 GB, free: 6.863 MB / 490.7 MB 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.0007902/0.6473, allocations: 442.7 kB / 0.5961 GB, free: 6.477 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005419/0.6527, allocations: 2.578 MB / 0.5986 GB, free: 3.898 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.509e-05/0.6527, allocations: 20.5 kB / 0.5986 GB, free: 3.879 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002877/0.6556, allocations: 1.548 MB / 0.6002 GB, free: 2.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.657, allocations: 0.5352 MB / 0.6007 GB, free: 1.816 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4069:9-4069:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:791:5-791:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.4153053988702595]