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.0006749/0.0006749, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009314/0.001606, allocations: 455.9 kB / 10.43 MB, free: 260 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.0006916/0.0006916, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000908/0.0016, allocations: 475.6 kB / 11.8 MB, free: 2.363 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 0.9985/0.9985, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0852/1.084, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.0846/0.0846, allocations: 17.37 MB / 261.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009384/0.09399, allocations: 6.929 MB / 268.5 MB, free: 6.402 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.403e-06/1.403e-06, allocations: 0 / 269.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.087e-06/1.049e-05, allocations: 6.312 kB / 269.7 MB, free: 5.109 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.1986/0.1986, allocations: 12.26 MB / 282 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1863/0.385, allocations: 143.1 MB / 425.1 MB, free: 6.652 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001929/0.3869, allocations: 39.81 kB / 425.2 MB, free: 6.613 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00281/0.3897, allocations: 1.188 MB / 426.4 MB, free: 5.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002652/0.3924, allocations: 1.264 MB / 427.6 MB, free: 4.145 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.3955, allocations: 1.602 MB / 429.2 MB, free: 2.535 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2035/0.599, allocations: 3.401 MB / 432.6 MB, free: 4.336 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.6002, allocations: 0.6279 MB / 433.3 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003608/0.6038, allocations: 1.925 MB / 435.2 MB, free: 4.074 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002374/0.6062, allocations: 1.019 MB / 436.2 MB, free: 4.074 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.6072, allocations: 302.8 kB / 436.5 MB, free: 4.074 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.6114, allocations: 1.289 MB / 437.8 MB, free: 4.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.6125, allocations: 0.7754 MB / 438.6 MB, free: 4.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.6147, allocations: 0.8801 MB / 439.4 MB, free: 4.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007245/0.6219, allocations: 3.624 MB / 443.1 MB, free: 3.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.83e-05/0.622, allocations: 2.922 kB / 443.1 MB, free: 3.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.622, allocations: 1.125 kB / 443.1 MB, free: 3.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001614/0.6221, allocations: 0 / 443.1 MB, free: 3.785 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.005946/0.6281, allocations: 4.311 MB / 447.4 MB, free: 18.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6281, allocations: 9 kB / 447.4 MB, free: 18.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.6299, allocations: 1.446 MB / 448.8 MB, free: 18.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.6316, allocations: 1.123 MB / 450 MB, free: 17.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003515/0.632, allocations: 0.5277 MB / 450.5 MB, free: 17.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/0.6322, allocations: 297.3 kB / 450.8 MB, free: 17.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003037/0.6353, allocations: 3.299 MB / 454.1 MB, free: 17.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.6353, allocations: 192 / 454.1 MB, free: 17.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.6354, allocations: 120.8 kB / 454.2 MB, free: 17.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003094/0.6357, allocations: 471.5 kB / 454.7 MB, free: 17.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003254/0.639, allocations: 4.134 MB / 458.8 MB, free: 17.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.6555, allocations: 12.55 MB / 471.3 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.657, allocations: 0.7928 MB / 472.1 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008224/0.6578, allocations: 412 kB / 472.5 MB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.6589, allocations: 0.6767 MB / 473.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.6589, allocations: 55.3 kB / 473.3 MB, free: 15.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=133): time 5.631e-06/0.6589, allocations: 0.875 kB / 473.3 MB, free: 15.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=175): time 0.04359/0.7025, allocations: 12.04 MB / 485.3 MB, free: 12.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008286/0.7108, allocations: 4.927 MB / 490.2 MB, free: 8.539 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.7121, allocations: 1.319 MB / 491.6 MB, free: 7.727 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005561/0.7126, allocations: 56.05 kB / 491.6 MB, free: 7.688 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007889/0.7134, allocations: 1.322 MB / 492.9 MB, free: 6.703 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007016/0.7141, allocations: 0.6168 MB / 493.6 MB, free: 6.227 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009993/0.7151, allocations: 488.5 kB / 494 MB, free: 6.004 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.7152, allocations: 302.1 kB / 494.3 MB, free: 5.707 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.7168, allocations: 0.6695 MB / 495 MB, free: 5.188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.7185, allocations: 1.017 MB / 496 MB, free: 4.266 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004521/0.723, allocations: 2.716 MB / 498.7 MB, free: 2.086 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.723, allocations: 5.094 kB / 498.7 MB, free: 2.082 MB / 426.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.007075/0.7301, allocations: 2.643 MB / 0.4896 GB, free: 36 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.7301, allocations: 8 kB / 0.4896 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.7301, allocations: 12.88 kB / 0.4896 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01113/0.7412, allocations: 4.029 MB / 0.4936 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008051/0.7493, allocations: 1.596 MB / 0.4951 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007239/0.7565, allocations: 6.34 MB / 0.5013 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.7585, allocations: 93.34 kB / 0.5014 GB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004908/0.759, allocations: 447.7 kB / 0.5018 GB, free: 4.289 MB / 442.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 (183): * Single equations (assignments): 176 * 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%), (3,4,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,25), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001274/0.7603, allocations: 218.4 kB / 0.5021 GB, free: 4.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007209/0.761, allocations: 165 kB / 0.5022 GB, free: 3.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009159/0.7702, allocations: 4.008 MB / 0.5061 GB, free: 16 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00577/0.7759, allocations: 1.972 MB / 0.5081 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.776, allocations: 1.969 kB / 0.5081 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.776, allocations: 12.95 kB / 0.5081 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.7876, allocations: 5.983 MB / 0.5139 GB, free: 8.234 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/0.7876, allocations: 4 kB / 0.5139 GB, free: 8.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005387/0.793, allocations: 1.03 MB / 0.5149 GB, free: 7.227 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/0.7935, allocations: 181.9 kB / 0.5151 GB, free: 7.051 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01244/0.8059, allocations: 3.743 MB / 0.5187 GB, free: 3.352 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004255/0.8063, allocations: 83.92 kB / 0.5188 GB, free: 3.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008396/0.8147, allocations: 7.834 MB / 0.5265 GB, free: 11.2 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.001022/0.8158, allocations: 0.7415 MB / 0.5272 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007169/0.8229, allocations: 2.97 MB / 0.5301 GB, free: 7.414 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004542/0.8234, allocations: 43.94 kB / 0.5301 GB, free: 7.371 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009213/0.8243, allocations: 59.97 kB / 0.5302 GB, free: 7.312 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/0.8247, allocations: 203.5 kB / 0.5304 GB, free: 7.117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/0.825, allocations: 199.9 kB / 0.5306 GB, free: 6.922 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007526/0.8257, allocations: 0.7461 MB / 0.5313 GB, free: 6.246 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8257, allocations: 4 kB / 0.5313 GB, free: 6.242 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002706/0.8284, allocations: 1.062 MB / 0.5324 GB, free: 5.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (122): * Single equations (assignments): 117 * 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%), (3,4,77.8%)} * 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.0008063/0.8292, allocations: 428.4 kB / 0.5328 GB, free: 4.824 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005341/0.8346, allocations: 2.295 MB / 0.535 GB, free: 2.562 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.631e-05/0.8346, allocations: 32.67 kB / 0.535 GB, free: 2.531 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004148/0.8388, allocations: 1.868 MB / 0.5369 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/0.8417, allocations: 3.338 MB / 0.5401 GB, free: 12.8 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4647:9-4647:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:793:5-793: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.3724985755980015]