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.001207/0.001207, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001365/0.001365, allocations: 217 kB / 22.25 MB, free: 5.082 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 8.031 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.1335/0.1335, allocations: 23.85 MB / 336.3 MB, free: 11.22 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="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.001948/0.001948, allocations: 71.83 kB / 471.2 MB, free: 7.719 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.322, allocations: 59.85 MB / 0.5186 GB, free: 9.637 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.04405/0.3661, allocations: 33.29 MB / 0.5511 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.183/0.5491, allocations: 151.2 MB / 0.6988 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.5512, allocations: 39.75 kB / 0.6988 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.5547, allocations: 1.227 MB / 0.7 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003837/0.5585, allocations: 1.222 MB / 0.7012 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004026/0.5626, allocations: 1.607 MB / 0.7028 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005316/0.5679, allocations: 3.315 MB / 0.706 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.5689, allocations: 0.6122 MB / 0.7066 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.5703, allocations: 1.156 MB / 0.7077 GB, free: 7.828 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.5721, allocations: 1.377 MB / 0.7091 GB, free: 6.445 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000413/0.5725, allocations: 304 kB / 0.7094 GB, free: 6.148 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004128/0.5766, allocations: 1.845 MB / 0.7112 GB, free: 4.301 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009046/0.5775, allocations: 0.9265 MB / 0.7121 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.5794, allocations: 1.748 MB / 0.7138 GB, free: 1.613 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007458/0.5869, allocations: 5.433 MB / 0.7191 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.5869, allocations: 0 / 0.7191 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5869, allocations: 0 / 0.7191 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.807e-05/0.5869, allocations: 4 kB / 0.7191 GB, free: 12.16 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.006173/0.5931, allocations: 3.728 MB / 0.7227 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5932, allocations: 8.031 kB / 0.7227 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000512/0.5937, allocations: 473.5 kB / 0.7232 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.5952, allocations: 0.662 MB / 0.7238 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.5979, allocations: 1.539 MB / 0.7253 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005233/0.5984, allocations: 0.5357 MB / 0.7259 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/0.5988, allocations: 296.3 kB / 0.7262 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2207/0.8195, allocations: 11.93 MB / 0.7378 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.444e-05/0.8195, allocations: 0.5312 kB / 0.7378 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002156/0.8197, allocations: 119.8 kB / 0.7379 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006502/0.8204, allocations: 491.7 kB / 0.7384 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02049/0.8409, allocations: 20.73 MB / 0.7586 GB, free: 178 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.0356/0.8765, allocations: 29.92 MB / 0.7879 GB, free: 150 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005507/0.882, allocations: 5.35 MB / 0.7931 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003962/0.886, allocations: 4.151 MB / 0.7971 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002262/0.8882, allocations: 0.7935 MB / 0.7979 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.8882, allocations: 50.55 kB / 0.798 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.286e-06/0.8882, allocations: 0 / 0.798 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1141/1.002, allocations: 40.46 MB / 0.8375 GB, free: 99.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02064/1.023, allocations: 12.75 MB / 0.8499 GB, free: 86.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/1.027, allocations: 3.602 MB / 0.8534 GB, free: 82.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008654/1.028, allocations: 61.7 kB / 0.8535 GB, free: 82.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009302/1.029, allocations: 1.533 MB / 0.855 GB, free: 81.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001144/1.03, allocations: 0.701 MB / 0.8557 GB, free: 80.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00177/1.032, allocations: 0.7166 MB / 0.8564 GB, free: 79.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.726e-05/1.032, allocations: 305.1 kB / 0.8567 GB, free: 79.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007355/1.039, allocations: 7.16 MB / 0.8637 GB, free: 72.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007831/1.047, allocations: 7.512 MB / 0.871 GB, free: 64.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2084/1.255, allocations: 42.91 MB / 0.9129 GB, free: 22.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/1.255, allocations: 4 kB / 0.9129 GB, free: 22.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02169/1.277, allocations: 15.83 MB / 0.9284 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.277, allocations: 8 kB / 0.9284 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/1.277, allocations: 10.72 kB / 0.9284 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02085/1.298, allocations: 5.477 MB / 0.9337 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01383/1.312, allocations: 1.542 MB / 0.9352 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2526/1.564, allocations: 15.61 MB / 0.9505 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/1.569, allocations: 226.8 kB / 0.9507 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/1.571, allocations: 0.4976 MB / 0.9512 GB, free: 192.4 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.00218/1.573, allocations: 0.8476 MB / 0.952 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.574, allocations: 325.8 kB / 0.9523 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02605/1.6, allocations: 11.73 MB / 0.9638 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01963/1.62, allocations: 9.27 MB / 0.9728 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/1.62, allocations: 1.156 kB / 0.9728 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.396e-05/1.62, allocations: 12.75 kB / 0.9728 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02661/1.646, allocations: 17.36 MB / 0.9898 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.646, allocations: 5.781 kB / 0.9898 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007426/1.654, allocations: 0.7726 MB / 0.9906 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02153/1.675, allocations: 4.149 MB / 0.9946 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005089/1.676, allocations: 112.8 kB / 0.9947 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/1.692, allocations: 12.96 MB / 1.007 GB, free: 161.4 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.002042/1.694, allocations: 0.7587 MB / 1.008 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01767/1.712, allocations: 10.91 MB / 1.019 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.713, allocations: 453.8 kB / 1.019 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006108/1.714, allocations: 55.88 kB / 1.019 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/1.715, allocations: 91.91 kB / 1.019 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005948/1.716, allocations: 277 kB / 1.02 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002773/1.716, allocations: 231.9 kB / 1.02 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003377/1.719, allocations: 3.214 MB / 1.023 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.719, allocations: 0 / 1.023 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00379/1.723, allocations: 1.185 MB / 1.024 GB, free: 144.3 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.01661/1.74, allocations: 10.53 MB / 1.034 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01426/1.754, allocations: 9.574 MB / 1.044 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.754, allocations: 0 / 1.044 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00716/1.761, allocations: 3.191 MB / 1.047 GB, free: 121 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.764, allocations: 0.6998 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.131218401998922] Failed to read output from testmodel.py, exit status != 0: 1.7721602730016457 1.781302639 1.192311639 Calling exit ...