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.0009167/0.0009167, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008089/0.009006, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009852/0.0009852, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001258/0.002243, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08968/1.098, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.1098/0.1098, allocations: 17.36 MB / 261.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0121/0.1219, allocations: 6.928 MB / 268.3 MB, free: 6.527 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.213e-06/1.213e-06, allocations: 0 / 269.5 MB, free: 5.258 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.437e-05, allocations: 2.312 kB / 269.5 MB, free: 5.254 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.1427/0.1427, allocations: 12.25 MB / 281.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1461/0.2888, allocations: 143.1 MB / 424.9 MB, free: 6.836 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.2906, allocations: 39.81 kB / 425 MB, free: 6.797 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.2937, allocations: 1.188 MB / 426.1 MB, free: 5.602 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.2961, allocations: 1.264 MB / 427.4 MB, free: 4.328 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.2992, allocations: 1.602 MB / 429 MB, free: 2.719 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1946/0.4937, allocations: 3.405 MB / 432.4 MB, free: 4.379 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.495, allocations: 0.6251 MB / 433 MB, free: 4.207 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003055/0.498, allocations: 1.924 MB / 435 MB, free: 4.121 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.4998, allocations: 1.015 MB / 436 MB, free: 4.121 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006327/0.5004, allocations: 301.2 kB / 436.3 MB, free: 4.121 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.5036, allocations: 1.287 MB / 437.6 MB, free: 4.117 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007088/0.5043, allocations: 0.7763 MB / 438.3 MB, free: 4.117 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001364/0.5056, allocations: 0.8824 MB / 439.2 MB, free: 4.117 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004278/0.5099, allocations: 3.635 MB / 442.8 MB, free: 3.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.616e-05/0.5099, allocations: 3.094 kB / 442.9 MB, free: 3.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5099, allocations: 0.9062 kB / 442.9 MB, free: 3.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.416e-05/0.51, allocations: 0 / 442.9 MB, free: 3.84 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.004691/0.5147, allocations: 4.316 MB / 447.2 MB, free: 18.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.5147, allocations: 8.969 kB / 447.2 MB, free: 18.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.5167, allocations: 1.442 MB / 448.6 MB, free: 18.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.5183, allocations: 1.128 MB / 449.7 MB, free: 17.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003426/0.5187, allocations: 0.5281 MB / 450.3 MB, free: 17.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.5189, allocations: 296.6 kB / 450.6 MB, free: 17.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003349/0.5223, allocations: 3.303 MB / 453.9 MB, free: 17.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.843e-05/0.5223, allocations: 192 / 453.9 MB, free: 17.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.5225, allocations: 118.3 kB / 454 MB, free: 17.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003865/0.5229, allocations: 494.7 kB / 454.5 MB, free: 17.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003821/0.5267, allocations: 4.128 MB / 458.6 MB, free: 17.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01798/0.5447, allocations: 12.54 MB / 471.1 MB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.5465, allocations: 0.8037 MB / 471.9 MB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.5475, allocations: 412.1 kB / 472.3 MB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.5487, allocations: 0.6833 MB / 473 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.5487, allocations: 48.44 kB / 473.1 MB, free: 15.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=133): time 3.947e-06/0.5487, allocations: 3 kB / 473.1 MB, free: 15.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.05646/0.6052, allocations: 14.28 MB / 487.4 MB, free: 10.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007903/0.6131, allocations: 4.908 MB / 492.3 MB, free: 6.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.6142, allocations: 1.324 MB / 493.6 MB, free: 6.027 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003037/0.6145, allocations: 54.7 kB / 493.6 MB, free: 5.992 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005907/0.6151, allocations: 1.324 MB / 495 MB, free: 5.004 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006324/0.6157, allocations: 0.7028 MB / 495.7 MB, free: 4.457 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.6169, allocations: 0.528 MB / 496.2 MB, free: 4.219 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.6169, allocations: 307.7 kB / 496.5 MB, free: 3.918 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001974/0.6189, allocations: 0.9927 MB / 497.5 MB, free: 3.121 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/0.621, allocations: 1.352 MB / 498.8 MB, free: 1.906 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005975/0.627, allocations: 3.74 MB / 0.4908 GB, free: 14.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.627, allocations: 4 kB / 0.4908 GB, free: 14.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007121/0.6341, allocations: 3.269 MB / 0.494 GB, free: 11.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.6341, allocations: 16.62 kB / 0.494 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.6341, allocations: 8 kB / 0.494 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/0.6445, allocations: 3.913 MB / 0.4978 GB, free: 8.441 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007815/0.6523, allocations: 1.746 MB / 0.4995 GB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005841/0.6581, allocations: 6.232 MB / 0.5056 GB, free: 436 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.66, allocations: 92.97 kB / 0.5057 GB, free: 344 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000514/0.6605, allocations: 475.7 kB / 0.5062 GB, free: 15.87 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.00132/0.6618, allocations: 229.1 kB / 0.5064 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006692/0.6625, allocations: 176.6 kB / 0.5066 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008247/0.6707, allocations: 4.443 MB / 0.5109 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005395/0.6761, allocations: 2.392 MB / 0.5132 GB, free: 8.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.6761, allocations: 4 kB / 0.5132 GB, free: 8.766 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.6761, allocations: 11.95 kB / 0.5133 GB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.6869, allocations: 6.356 MB / 0.5195 GB, free: 2.516 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.6869, allocations: 8 kB / 0.5195 GB, free: 2.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004317/0.6912, allocations: 1.014 MB / 0.5205 GB, free: 1.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.6916, allocations: 205.6 kB / 0.5207 GB, free: 1.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01119/0.7028, allocations: 3.499 MB / 0.5241 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002403/0.7031, allocations: 87.92 kB / 0.5242 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007352/0.7104, allocations: 7.741 MB / 0.5317 GB, free: 5.789 MB / 474.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.0008838/0.7113, allocations: 0.745 MB / 0.5324 GB, free: 5.039 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006012/0.7173, allocations: 3.059 MB / 0.5354 GB, free: 1.871 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003311/0.7176, allocations: 51.98 kB / 0.5355 GB, free: 1.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/0.7183, allocations: 59.98 kB / 0.5355 GB, free: 1.762 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004086/0.7188, allocations: 224 kB / 0.5358 GB, free: 1.551 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/0.719, allocations: 203.9 kB / 0.5359 GB, free: 1.352 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006606/0.7196, allocations: 0.7337 MB / 0.5367 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7196, allocations: 0 / 0.5367 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002812/0.7224, allocations: 1.156 MB / 0.5378 GB, free: 15.53 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.0006734/0.7231, allocations: 448.2 kB / 0.5382 GB, free: 15.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004991/0.7281, allocations: 2.595 MB / 0.5408 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.177e-05/0.7282, allocations: 28.5 kB / 0.5408 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002908/0.7311, allocations: 1.55 MB / 0.5423 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.7326, allocations: 0.7517 MB / 0.543 GB, free: 10.36 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4143:9-4143:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:784:5-784: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.309299537912011]