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.001378/0.001378, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001482/0.001482, allocations: 165 kB / 22.46 MB, free: 5.375 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.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.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.1313/0.1313, allocations: 17.37 MB / 276.6 MB, free: 15.26 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: 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.793e-06/1.793e-06, allocations: 0 / 411.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.693e-05, allocations: 5.656 kB / 411.9 MB, free: 4.445 MB / 334.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.04191/0.04194, allocations: 31.87 MB / 443.8 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3531/0.395, allocations: 129.6 MB / 0.56 GB, free: 7.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.397, allocations: 39.81 kB / 0.56 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003323/0.4003, allocations: 1.142 MB / 0.5611 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003355/0.4037, allocations: 1.268 MB / 0.5624 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003779/0.4074, allocations: 1.559 MB / 0.5639 GB, free: 3.457 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004925/0.4124, allocations: 3.427 MB / 0.5672 GB, free: 24 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009911/0.4134, allocations: 0.5965 MB / 0.5678 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.4155, allocations: 1.75 MB / 0.5695 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.4168, allocations: 0.9971 MB / 0.5705 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003762/0.4172, allocations: 304 kB / 0.5708 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003085/0.4203, allocations: 1.248 MB / 0.572 GB, free: 11.08 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008072/0.4211, allocations: 0.9265 MB / 0.5729 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.4223, allocations: 1.056 MB / 0.5739 GB, free: 9.094 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007172/0.4295, allocations: 5.258 MB / 0.5791 GB, free: 3.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4295, allocations: 4 kB / 0.5791 GB, free: 3.816 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4295, allocations: 0 / 0.5791 GB, free: 3.816 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.158e-05/0.4295, allocations: 0 / 0.5791 GB, free: 3.816 MB / 462.1 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.006034/0.4356, allocations: 3.692 MB / 0.5827 GB, free: 72 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.4356, allocations: 19.16 kB / 0.5827 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/0.4382, allocations: 0.7583 MB / 0.5835 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/0.4406, allocations: 1.543 MB / 0.585 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005367/0.4412, allocations: 0.5396 MB / 0.5855 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004262/0.4416, allocations: 288.3 kB / 0.5858 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01377/0.4554, allocations: 11.97 MB / 0.5974 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.273e-05/0.4554, allocations: 4.188 kB / 0.5974 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/0.4557, allocations: 120.5 kB / 0.5976 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005525/0.4562, allocations: 494.8 kB / 0.598 GB, free: 260 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02289/0.4791, allocations: 20.73 MB / 0.6183 GB, free: 11.51 MB / 0.4981 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.3525/0.8316, allocations: 27.15 MB / 0.6448 GB, free: 57.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007369/0.8389, allocations: 5.366 MB / 0.65 GB, free: 57.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00579/0.8447, allocations: 4.189 MB / 0.6541 GB, free: 57.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001974/0.8467, allocations: 0.7032 MB / 0.6548 GB, free: 57.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.8467, allocations: 46.44 kB / 0.6549 GB, free: 57.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=133): time 4.108e-06/0.8467, allocations: 2.219 kB / 0.6549 GB, free: 57.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200): time 0.1285/0.9752, allocations: 40.54 MB / 0.6944 GB, free: 36.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02001/0.9952, allocations: 12.48 MB / 0.7066 GB, free: 23.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.9971, allocations: 1.681 MB / 0.7083 GB, free: 21.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001293/0.9984, allocations: 55.83 kB / 0.7083 GB, free: 21.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007211/0.9991, allocations: 1.579 MB / 0.7099 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009858/1, allocations: 0.6923 MB / 0.7105 GB, free: 19.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001849/1.002, allocations: 0.7284 MB / 0.7113 GB, free: 19.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.662e-05/1.002, allocations: 309.1 kB / 0.7116 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007416/1.009, allocations: 7.191 MB / 0.7186 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008221/1.018, allocations: 7.545 MB / 0.7259 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2403/1.258, allocations: 41.74 MB / 0.7667 GB, free: 10.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/1.258, allocations: 4 kB / 0.7667 GB, free: 10.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.03431/1.292, allocations: 15.78 MB / 0.7821 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/1.292, allocations: 8 kB / 0.7821 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/1.292, allocations: 12.08 kB / 0.7821 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0257/1.318, allocations: 5.52 MB / 0.7875 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01717/1.335, allocations: 1.566 MB / 0.7891 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02601/1.361, allocations: 15.43 MB / 0.8041 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006019/1.367, allocations: 235.7 kB / 0.8044 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00154/1.369, allocations: 0.5079 MB / 0.8049 GB, free: 3.109 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.003731/1.373, allocations: 0.8448 MB / 0.8057 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/1.374, allocations: 198.7 kB / 0.8059 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03025/1.404, allocations: 11.68 MB / 0.8173 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02458/1.429, allocations: 9.344 MB / 0.8264 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/1.429, allocations: 0 / 0.8264 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.445e-05/1.429, allocations: 11.95 kB / 0.8264 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03885/1.468, allocations: 16.12 MB / 0.8422 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/1.468, allocations: 11.09 kB / 0.8422 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008959/1.477, allocations: 0.785 MB / 0.8429 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02622/1.503, allocations: 4.201 MB / 0.847 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008448/1.504, allocations: 119.9 kB / 0.8471 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2581/1.762, allocations: 12.56 MB / 0.8594 GB, free: 295.7 MB / 0.6231 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.002212/1.764, allocations: 0.7543 MB / 0.8601 GB, free: 295.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02355/1.787, allocations: 10.85 MB / 0.8707 GB, free: 290.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008053/1.788, allocations: 237.5 kB / 0.871 GB, free: 290.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006166/1.789, allocations: 49.81 kB / 0.871 GB, free: 290.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/1.791, allocations: 109.3 kB / 0.8711 GB, free: 290.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008607/1.791, allocations: 274.5 kB / 0.8714 GB, free: 290.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003943/1.792, allocations: 231.4 kB / 0.8716 GB, free: 290.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002403/1.794, allocations: 1.827 MB / 0.8734 GB, free: 289.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/1.794, allocations: 2.281 kB / 0.8734 GB, free: 289.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006017/1.8, allocations: 1.159 MB / 0.8745 GB, free: 289.7 MB / 0.6231 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.00107/1.801, allocations: 433.8 kB / 0.8749 GB, free: 289.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01627/1.818, allocations: 9.631 MB / 0.8843 GB, free: 285.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/1.818, allocations: 4 kB / 0.8843 GB, free: 285.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.008081/1.826, allocations: 3.227 MB / 0.8875 GB, free: 283 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/1.829, allocations: 477 kB / 0.888 GB, free: 282.6 MB / 0.6231 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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.2448866702616215] Failed to read output from testmodel.py, exit status != 0: 1.8375391773879528 1.84610836 1.414423133 Calling exit ...