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.0009289/0.0009289, allocations: 72.17 kB / 9.874 MB, free: 0.8125 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001272/0.002201, allocations: 443.8 kB / 10.31 MB, free: 388 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.001042/0.001042, allocations: 153.1 kB / 11.19 MB, free: 2.977 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.002439, allocations: 467.6 kB / 11.65 MB, free: 2.516 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.9474/0.9474, allocations: 177.1 MB / 189.5 MB, free: 3.711 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1339/1.081, allocations: 53.65 MB / 243.2 MB, free: 2.328 MB / 234.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.1133/0.1133, allocations: 17.37 MB / 261.3 MB, free: 260 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01644/0.1298, allocations: 6.926 MB / 268.2 MB, free: 9.312 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 269.4 MB, free: 8.098 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.436e-06/9.939e-06, allocations: 2.312 kB / 269.4 MB, free: 8.094 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.02327/0.02328, allocations: 12.18 MB / 281.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.2678/0.2911, allocations: 142.6 MB / 424.2 MB, free: 6.609 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.2923, allocations: 39.81 kB / 424.3 MB, free: 6.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.2943, allocations: 1.183 MB / 425.5 MB, free: 5.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.296, allocations: 1.26 MB / 426.7 MB, free: 4.141 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.2983, allocations: 1.602 MB / 428.3 MB, free: 2.531 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002234/0.3005, allocations: 3.404 MB / 431.7 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007768/0.3013, allocations: 0.6255 MB / 432.4 MB, free: 14.44 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.3029, allocations: 1.926 MB / 434.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007885/0.3036, allocations: 1.013 MB / 435.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.3039, allocations: 304 kB / 435.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.3055, allocations: 1.268 MB / 436.9 MB, free: 9.906 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003859/0.3059, allocations: 0.7748 MB / 437.6 MB, free: 9.129 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005938/0.3065, allocations: 0.8845 MB / 438.5 MB, free: 8.242 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.3091, allocations: 3.644 MB / 442.2 MB, free: 4.586 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.42e-05/0.3091, allocations: 0 / 442.2 MB, free: 4.586 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3091, allocations: 4 kB / 442.2 MB, free: 4.582 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.636e-05/0.3091, allocations: 0 / 442.2 MB, free: 4.582 MB / 394.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.003092/0.3122, allocations: 4.311 MB / 446.5 MB, free: 228 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.3122, allocations: 8.031 kB / 446.5 MB, free: 220 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000285/0.3125, allocations: 490.3 kB / 447 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.3139, allocations: 1.45 MB / 448.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.315, allocations: 1.115 MB / 449.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000262/0.3153, allocations: 0.5279 MB / 450.1 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.3155, allocations: 296.3 kB / 450.3 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.3179, allocations: 3.308 MB / 453.7 MB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.3179, allocations: 384 / 453.7 MB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.3181, allocations: 127.9 kB / 453.8 MB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002944/0.3184, allocations: 486.9 kB / 454.3 MB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/0.3213, allocations: 4.137 MB / 458.4 MB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.3345, allocations: 13.48 MB / 471.9 MB, free: 6.559 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.3359, allocations: 0.7951 MB / 472.7 MB, free: 5.758 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/0.3367, allocations: 412.6 kB / 473.1 MB, free: 5.355 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008072/0.3375, allocations: 0.6896 MB / 473.8 MB, free: 4.668 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3375, allocations: 51.88 kB / 473.8 MB, free: 4.605 MB / 426.7 MB Notification: Performance of pre-optimization done (n=133): time 2.475e-06/0.3375, allocations: 0 / 473.8 MB, free: 4.605 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.04991/0.3874, allocations: 14.55 MB / 488.4 MB, free: 5.977 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007578/0.395, allocations: 4.968 MB / 493.3 MB, free: 0.7578 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.186/0.5809, allocations: 2.546 MB / 495.9 MB, free: 55.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006368/0.5816, allocations: 57.2 kB / 495.9 MB, free: 55.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006649/0.5822, allocations: 0.9671 MB / 496.9 MB, free: 54.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007599/0.583, allocations: 0.704 MB / 497.6 MB, free: 54.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001628/0.5846, allocations: 0.5166 MB / 498.1 MB, free: 54.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.673e-05/0.5846, allocations: 308.5 kB / 498.4 MB, free: 54.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002612/0.5873, allocations: 0.9898 MB / 499.4 MB, free: 54.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.5898, allocations: 1.351 MB / 0.489 GB, free: 53.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00741/0.5972, allocations: 3.733 MB / 0.4927 GB, free: 53.51 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.5972, allocations: 1.938 kB / 0.4927 GB, free: 53.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00924/0.6064, allocations: 3.33 MB / 0.4959 GB, free: 53.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.6064, allocations: 9 kB / 0.4959 GB, free: 53.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.6065, allocations: 11.19 kB / 0.4959 GB, free: 53.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0132/0.6197, allocations: 3.923 MB / 0.4998 GB, free: 53.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008423/0.6281, allocations: 1.735 MB / 0.5015 GB, free: 53.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/0.6331, allocations: 6.278 MB / 0.5076 GB, free: 49.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.6351, allocations: 97.41 kB / 0.5077 GB, free: 49.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005134/0.6357, allocations: 477.4 kB / 0.5081 GB, free: 49.09 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 (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.001042/0.6367, allocations: 218.6 kB / 0.5084 GB, free: 48.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006699/0.6374, allocations: 248 kB / 0.5086 GB, free: 48.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008214/0.6456, allocations: 4.539 MB / 0.513 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005315/0.6509, allocations: 2.391 MB / 0.5154 GB, free: 48.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.6509, allocations: 5.875 kB / 0.5154 GB, free: 48.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.6509, allocations: 11.08 kB / 0.5154 GB, free: 48.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00941/0.6603, allocations: 6.301 MB / 0.5215 GB, free: 47.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.6603, allocations: 10.81 kB / 0.5215 GB, free: 47.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003902/0.6642, allocations: 1.013 MB / 0.5225 GB, free: 47.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.6646, allocations: 369 kB / 0.5229 GB, free: 47.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01071/0.6753, allocations: 3.63 MB / 0.5264 GB, free: 46.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001863/0.6755, allocations: 92.16 kB / 0.5265 GB, free: 46.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006123/0.6816, allocations: 7.833 MB / 0.5342 GB, free: 39.41 MB / 442.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.0007485/0.6824, allocations: 0.7449 MB / 0.5349 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005285/0.6877, allocations: 3.132 MB / 0.5379 GB, free: 35.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/0.688, allocations: 55.98 kB / 0.538 GB, free: 35.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006969/0.6887, allocations: 62.12 kB / 0.5381 GB, free: 35.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003854/0.689, allocations: 226.1 kB / 0.5383 GB, free: 35.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001763/0.6892, allocations: 208.8 kB / 0.5385 GB, free: 35.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000881/0.6901, allocations: 1.311 MB / 0.5398 GB, free: 34.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6901, allocations: 0 / 0.5398 GB, free: 34.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001985/0.6921, allocations: 1.177 MB / 0.5409 GB, free: 33.34 MB / 442.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.005109/0.6972, allocations: 3.845 MB / 0.5447 GB, free: 29.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004304/0.7015, allocations: 2.586 MB / 0.5472 GB, free: 27.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.553e-05/0.7015, allocations: 32.5 kB / 0.5472 GB, free: 27.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002357/0.7039, allocations: 1.551 MB / 0.5487 GB, free: 25.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.7056, allocations: 1.056 MB / 0.5498 GB, free: 25.18 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4091:9-4091:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:743:5-743: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.243021961301565]