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.001376/0.001376, allocations: 103.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.001546/0.001546, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.502/1.502, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.1385/0.1385, allocations: 23.85 MB / 332.7 MB, free: 12.38 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.002107/0.002107, allocations: 79.89 kB / 466 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3453, allocations: 59.81 MB / 0.5135 GB, free: 8.898 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.06173/0.4071, allocations: 33.28 MB / 0.546 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1938/0.6008, allocations: 151.2 MB / 0.6937 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/0.6041, allocations: 35.81 kB / 0.6937 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004647/0.6087, allocations: 1.246 MB / 0.6949 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005453/0.6142, allocations: 1.23 MB / 0.6961 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004941/0.6191, allocations: 1.622 MB / 0.6977 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00755/0.6267, allocations: 3.316 MB / 0.7009 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.6283, allocations: 0.6586 MB / 0.7016 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.6304, allocations: 1.164 MB / 0.7027 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.6331, allocations: 1.373 MB / 0.704 GB, free: 7.547 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008169/0.6339, allocations: 308 kB / 0.7043 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005553/0.6394, allocations: 1.841 MB / 0.7061 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.6406, allocations: 0.9226 MB / 0.707 GB, free: 4.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002363/0.6429, allocations: 1.756 MB / 0.7088 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008644/0.6516, allocations: 5.425 MB / 0.7141 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.6516, allocations: 7.938 kB / 0.7141 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6516, allocations: 4 kB / 0.7141 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.011e-05/0.6517, allocations: 4 kB / 0.7141 GB, free: 13.25 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.006281/0.6579, allocations: 3.795 MB / 0.7178 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.658, allocations: 8.031 kB / 0.7178 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005412/0.6585, allocations: 469.5 kB / 0.7182 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.6602, allocations: 0.6581 MB / 0.7189 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.6626, allocations: 1.605 MB / 0.7204 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004688/0.663, allocations: 459.5 kB / 0.7209 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004005/0.6634, allocations: 304.2 kB / 0.7212 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2585/0.9219, allocations: 11.41 MB / 0.7323 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.515e-05/0.922, allocations: 0 / 0.7323 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.9222, allocations: 115.3 kB / 0.7324 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006718/0.9229, allocations: 490.3 kB / 0.7329 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02301/0.9459, allocations: 19.86 MB / 0.7523 GB, free: 178.5 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.03574/0.9816, allocations: 29.4 MB / 0.781 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005513/0.9871, allocations: 5.269 MB / 0.7861 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003991/0.9911, allocations: 4.105 MB / 0.7901 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002472/0.9936, allocations: 1.832 MB / 0.7919 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.9936, allocations: 43.88 kB / 0.792 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.016e-06/0.9936, allocations: 0 / 0.792 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1272/1.121, allocations: 40.54 MB / 0.8316 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0217/1.143, allocations: 12.74 MB / 0.844 GB, free: 89.13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004958/1.148, allocations: 3.606 MB / 0.8475 GB, free: 85.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001088/1.149, allocations: 61.69 kB / 0.8476 GB, free: 85.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001124/1.15, allocations: 1.526 MB / 0.8491 GB, free: 84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001542/1.151, allocations: 0.701 MB / 0.8498 GB, free: 83.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002734/1.154, allocations: 0.7244 MB / 0.8505 GB, free: 82.56 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.89e-05/1.154, allocations: 305.1 kB / 0.8508 GB, free: 82.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007804/1.162, allocations: 7.039 MB / 0.8576 GB, free: 75.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008222/1.17, allocations: 7.398 MB / 0.8649 GB, free: 67.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2324/1.403, allocations: 42.79 MB / 0.9066 GB, free: 25.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.508e-05/1.403, allocations: 0 / 0.9066 GB, free: 25.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02515/1.428, allocations: 15.63 MB / 0.9219 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/1.428, allocations: 14.7 kB / 0.9219 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/1.428, allocations: 8 kB / 0.9219 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02335/1.451, allocations: 5.388 MB / 0.9272 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01464/1.466, allocations: 1.554 MB / 0.9287 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0221/1.488, allocations: 15.55 MB / 0.9439 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005718/1.494, allocations: 226.3 kB / 0.9441 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00156/1.495, allocations: 0.5036 MB / 0.9446 GB, free: 1.98 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.003539/1.499, allocations: 0.8474 MB / 0.9454 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001903/1.501, allocations: 325.8 kB / 0.9457 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2957/1.796, allocations: 11.7 MB / 0.9572 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02184/1.818, allocations: 9.245 MB / 0.9662 GB, free: 188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/1.818, allocations: 2.844 kB / 0.9662 GB, free: 188 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-05/1.818, allocations: 13.78 kB / 0.9662 GB, free: 188 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03295/1.851, allocations: 17.22 MB / 0.983 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/1.851, allocations: 7.438 kB / 0.983 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008027/1.859, allocations: 0.7699 MB / 0.9838 GB, free: 179.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0236/1.883, allocations: 4.149 MB / 0.9878 GB, free: 177.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007197/1.884, allocations: 116 kB / 0.9879 GB, free: 177.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01779/1.901, allocations: 13.36 MB / 1.001 GB, free: 165.8 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.002024/1.903, allocations: 0.7579 MB / 1.002 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01889/1.922, allocations: 10.87 MB / 1.012 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/1.923, allocations: 0.5293 MB / 1.013 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006456/1.924, allocations: 51.95 kB / 1.013 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/1.926, allocations: 94.16 kB / 1.013 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000688/1.926, allocations: 270.8 kB / 1.013 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002973/1.927, allocations: 223.9 kB / 1.013 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003957/1.931, allocations: 3.21 MB / 1.017 GB, free: 150 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/1.931, allocations: 0 / 1.017 GB, free: 150 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004334/1.935, allocations: 1.188 MB / 1.018 GB, free: 148.9 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.01742/1.952, allocations: 10.49 MB / 1.028 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01538/1.968, allocations: 9.434 MB / 1.037 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.968, allocations: 4 kB / 1.037 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007934/1.976, allocations: 3.179 MB / 1.04 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/1.979, allocations: 0.687 MB / 1.041 GB, free: 125.1 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.571100109955296] Failed to read output from testmodel.py, exit status != 0: 1.9878205719869584 1.996523876 1.342754278 Calling exit ...