Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0006477/0.0006477, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007998/0.001448, 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.0006614/0.0006614, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008057/0.001467, 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.093/1.097, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.0969/0.0969, allocations: 17.44 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01215/0.109, allocations: 6.965 MB / 268.4 MB, free: 6.398 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/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_master_Chemical.Examples.GasSolubility_NIST_") translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 269.6 MB, free: 5.133 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.187e-05, allocations: 5.969 kB / 269.6 MB, free: 5.129 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Interfaces.mo:1586:5-1586: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.1-master/Interfaces.mo:1586:5-1586: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.1-master/Interfaces.mo:1842:5-1842: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.1-master/Interfaces.mo:1842:5-1842: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.1512/0.1512, allocations: 12.86 MB / 282.5 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1416/0.2929, allocations: 145.2 MB / 427.7 MB, free: 3.996 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.2952, allocations: 83.31 kB / 427.8 MB, free: 3.914 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003088/0.2983, allocations: 1.262 MB / 429 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004346/0.3026, allocations: 1.586 MB / 430.6 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2162/0.5188, allocations: 1.874 MB / 432.5 MB, free: 4.023 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008461/0.5273, allocations: 3.712 MB / 436.2 MB, free: 3.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.5283, allocations: 0.6245 MB / 436.8 MB, free: 3.812 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003162/0.5315, allocations: 2.032 MB / 438.9 MB, free: 3.578 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.5337, allocations: 1.371 MB / 440.2 MB, free: 3.449 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006529/0.5344, allocations: 293.8 kB / 440.5 MB, free: 3.449 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/0.5376, allocations: 1.488 MB / 442 MB, free: 3.391 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007618/0.5383, allocations: 0.8178 MB / 442.8 MB, free: 3.238 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.5396, allocations: 0.9389 MB / 443.8 MB, free: 3.094 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004686/0.5443, allocations: 3.787 MB / 447.5 MB, free: 2.496 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.85e-05/0.5443, allocations: 0 / 447.5 MB, free: 2.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5443, allocations: 0 / 447.5 MB, free: 2.496 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001026/0.5444, allocations: 0.75 kB / 447.5 MB, free: 2.496 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: 932 * Number of variables: 932 Notification: Performance of Generate backend data structure: time 0.00399/0.5484, allocations: 4.464 MB / 452 MB, free: 16.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.5484, allocations: 10.16 kB / 452 MB, free: 16.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.5498, allocations: 1.45 MB / 453.5 MB, free: 16.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.5512, allocations: 1.268 MB / 454.7 MB, free: 16.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.5514, allocations: 415.5 kB / 455.1 MB, free: 16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.5516, allocations: 302.9 kB / 455.4 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.554, allocations: 3.141 MB / 458.6 MB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.554, allocations: 192 / 458.6 MB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.5542, allocations: 128.5 kB / 458.7 MB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002553/0.5544, allocations: 468.8 kB / 459.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.5572, allocations: 4.048 MB / 463.2 MB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.5679, allocations: 10.26 MB / 473.5 MB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008777/0.5688, allocations: 0.7278 MB / 474.2 MB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.5692, allocations: 382.8 kB / 474.6 MB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006349/0.5756, allocations: 5.094 MB / 479.7 MB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.5756, allocations: 45.09 kB / 479.7 MB, free: 13.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 3.066e-06/0.5756, allocations: 4.094 kB / 479.7 MB, free: 13.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=171): time 0.03623/0.6119, allocations: 10.95 MB / 490.7 MB, free: 7.914 MB / 426.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 inlineWhenForInitialization (initialization): time 0.001035/0.6129, allocations: 0.855 MB / 491.5 MB, free: 7.152 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.6141, allocations: 1.309 MB / 492.8 MB, free: 6.371 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.6144, allocations: 55.2 kB / 492.9 MB, free: 6.332 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006677/0.615, allocations: 1.487 MB / 494.4 MB, free: 5.207 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004903/0.6155, allocations: 0.6163 MB / 495 MB, free: 4.738 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007465/0.6163, allocations: 0.5138 MB / 495.5 MB, free: 4.492 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.416e-05/0.6163, allocations: 302 kB / 495.8 MB, free: 4.195 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.6176, allocations: 0.7894 MB / 496.6 MB, free: 3.574 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.6191, allocations: 1.539 MB / 498.1 MB, free: 1.953 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002957/0.6221, allocations: 2.651 MB / 0.489 GB, free: 15.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.6221, allocations: 11.81 kB / 0.489 GB, free: 15.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.005138/0.6272, allocations: 2.877 MB / 0.4919 GB, free: 13.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.6272, allocations: 16.88 kB / 0.4919 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.6273, allocations: 24 kB / 0.4919 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007299/0.6346, allocations: 2.538 MB / 0.4944 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00605/0.6406, allocations: 1.518 MB / 0.4959 GB, free: 9.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005626/0.6462, allocations: 6.364 MB / 0.5021 GB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.6483, allocations: 99.97 kB / 0.5022 GB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005155/0.6488, allocations: 319.8 kB / 0.5025 GB, free: 2.961 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 4 (CO2_g_25.substanceDefinitionVar.data.phase,CO2_g_25.substanceDefinitionVar.SelfClustering,water_25.substanceDefinitionVar.data.phase,water_25.substanceDefinitionVar.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 249 * 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%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,16), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001385/0.6502, allocations: 266.6 kB / 0.5027 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005359/0.6507, allocations: 207.8 kB / 0.5029 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006177/0.6569, allocations: 3.393 MB / 0.5062 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.6569, allocations: 16 kB / 0.5063 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.6569, allocations: 4 kB / 0.5063 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.396e-05/0.6569, allocations: 7.969 kB / 0.5063 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008614/0.6655, allocations: 4.66 MB / 0.5108 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.6655, allocations: 8 kB / 0.5108 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003947/0.6695, allocations: 1.092 MB / 0.5119 GB, free: 9.543 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.6698, allocations: 177.7 kB / 0.5121 GB, free: 9.371 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008259/0.6781, allocations: 2.903 MB / 0.5149 GB, free: 6.504 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/0.6783, allocations: 71.94 kB / 0.515 GB, free: 6.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006272/0.6846, allocations: 6.982 MB / 0.5218 GB, free: 15.17 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.0008301/0.6854, allocations: 0.7369 MB / 0.5225 GB, free: 14.42 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.6897, allocations: 2.446 MB / 0.5249 GB, free: 11.94 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003558/0.6901, allocations: 35.98 kB / 0.5249 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005835/0.6907, allocations: 59.98 kB / 0.525 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/0.691, allocations: 168.5 kB / 0.5251 GB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001763/0.6912, allocations: 159.9 kB / 0.5253 GB, free: 11.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006437/0.6918, allocations: 0.6687 MB / 0.5259 GB, free: 10.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6918, allocations: 0 / 0.5259 GB, free: 10.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002576/0.6944, allocations: 0.8473 MB / 0.5268 GB, free: 10.05 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 4 ($STATESET1.x,CO2_dissolutionP.rear.n_flow,CO2_25.logn,water_25.logm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 130 * 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%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,18), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006469/0.695, allocations: 405.7 kB / 0.5272 GB, free: 9.719 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004625/0.6996, allocations: 2.46 MB / 0.5296 GB, free: 7.336 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-05/0.6997, allocations: 45.11 kB / 0.5296 GB, free: 7.293 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.7021, allocations: 1.32 MB / 0.5309 GB, free: 5.988 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.7037, allocations: 0.7244 MB / 0.5316 GB, free: 5.293 MB / 474.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.227848888374865]